java.lang.NullPointerException

openjpa-users | Fay Wang | 8 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Re: @MappedSuperClass Cause Null Pointer Exception in Class With IdClass

    openjpa-users | 8 years ago | Fay Wang
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.apache.openjpa.meta.ClassMetaData.validateAppIdClass()
    2. OpenJPA Aggregate Jar
      PCEnhancer.main
      1. org.apache.openjpa.meta.ClassMetaData.validateAppIdClass(ClassMetaData.java:1883)
      2. org.apache.openjpa.meta.ClassMetaData.validateIdentity(ClassMetaData.java:1840)
      3. org.apache.openjpa.meta.ClassMetaData.validateMeta(ClassMetaData.java:1757)
      4. org.apache.openjpa.meta.ClassMetaData.resolve(ClassMetaData.java:1630)
      5. org.apache.openjpa.meta.MetaDataRepository.processBuffer(MetaDataRepository.java:717)
      6. org.apache.openjpa.meta.MetaDataRepository.resolveMeta(MetaDataRepository.java:616)
      7. org.apache.openjpa.meta.MetaDataRepository.resolve(MetaDataRepository.java:541)
      8. org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepository.java:308)
      9. org.apache.openjpa.enhance.PCEnhancer.<init>(PCEnhancer.java:249)
      10. org.apache.openjpa.enhance.PCEnhancer.run(PCEnhancer.java:4502)
      11. org.apache.openjpa.enhance.PCEnhancer.run(PCEnhancer.java:4449)
      12. org.apache.openjpa.enhance.PCEnhancer$1.run(PCEnhancer.java:4419)
      13. org.apache.openjpa.lib.conf.Configurations.launchRunnable(Configurations.java:726)
      14. org.apache.openjpa.lib.conf.Configurations.runAgainstAllAnchors(Configurations.java:716)
      15. org.apache.openjpa.enhance.PCEnhancer.run(PCEnhancer.java:4414)
      16. org.apache.openjpa.enhance.PCEnhancer.main(PCEnhancer.java:4405)
      16 frames