Uploaded image for project: 'Hibernate OGM'
  1. OGM-641

No serializer found for class org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer and no properties discovered to create BeanSerializer

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 4.1.0.Beta7, 4.1.0.Beta8
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None
    • Environment:
      Wildfly 8/MongoDB
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Last commented by a user?:
      true

      Description

      I get the following error when I try to serialize a list of objects I retrieved with Hibernate Search. The problem is the objects are not initialized and Hibernate.initalize() does not seem to work in Hibernate OGM.
      No serializer found for class org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer and no properties discovered to create BeanSerializer

        Attachments

        1. Item.java
          3 kB
        2. ItemRepository.java
          3 kB
        3. ItemSearchWrapper.java
          0.6 kB
        4. RESTCall.txt
          0.3 kB

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: