Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-1371

pojogen-maven-plugin has serialization issue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • (Java) V4 4.6.0
    • (Java) V4 5.0.1
    • odata4-commons
    • None

    Description

      Patch file is appended.

      In generated file: Service are some fields null in COMPRESSED_METADATA. Error cause due flush:

      java.lang.NullPointerException
      at org.apache.olingo.ext.proxy.utils.CoreUtils.getODataEntityProperty(CoreUtils.java:153)
      at org.apache.olingo.ext.proxy.utils.CoreUtils.addProperties(CoreUtils.java:294)
      at org.apache.olingo.ext.proxy.commons.AbstractPersistenceManager.processEntityContext(AbstractPersistenceManager.java:157)
      at org.apache.olingo.ext.proxy.commons.AbstractPersistenceManager.flush(AbstractPersistenceManager.java:99)
      at org.apache.olingo.ext.proxy.commons.NonTransactionalPersistenceManagerImpl.flush(NonTransactionalPersistenceManagerImpl.java:41)
      at org.apache.olingo.ext.proxy.commons.EntityContainerInvocationHandler.invoke(EntityContainerInvocationHandler.java:86)
      at com.sun.proxy.$Proxy15.flush(Unknown Source)
      

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            Imgrunt Wladislaw
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: