kodo.util.FatalUserException: The objectid-class specfied by type "class db.AddressBookMaster" does not have a public string constructor. NestedThrowables: java.lang.NoSuchMethodException: db.AddressBookMasterId.<init>(java.lang.String)

Oracle Community | 3004 | 1 decade 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

    3.1.2 &amp; SunONE Studio 5u1 problem

    Oracle Community | 1 decade ago | 3004
    kodo.util.FatalUserException: The objectid-class specfied by type "class db.AddressBookMaster" does not have a public string constructor. NestedThrowables: java.lang.NoSuchMethodException: db.AddressBookMasterId.<init>(java.lang.String)

    Root Cause Analysis

    1. kodo.util.FatalUserException

      The objectid-class specfied by type "class db.AddressBookMaster" does not have a public string constructor. NestedThrowables: java.lang.NoSuchMethodException: db.AddressBookMasterId.<init>(java.lang.String)

      at kodo.meta.ClassMetaDataImpl.validateAppIdClassMethods()
    2. kodo.meta
      JDOMetaDataRepositoryImpl.getMetaDatas
      1. kodo.meta.ClassMetaDataImpl.validateAppIdClassMethods(ClassMetaDataImpl.java:840)
      2. kodo.meta.ClassMetaDataImpl.validateAppIdClass(ClassMetaDataImpl.java:825)
      3. kodo.meta.ClassMetaDataImpl.resolve(ClassMetaDataImpl.java:571)
      4. kodo.meta.JDOMetaDataRepositoryImpl.resolve(JDOMetaDataRepositoryImpl.java:242)
      5. kodo.meta.JDOMetaDataRepositoryImpl.getMetaDatas(JDOMetaDataRepositoryImpl.java:294)
      5 frames
    3. kodo.jdbc.integration
      JDOCompilerSupport.addToJob
      1. kodo.jdbc.integration.netbeans.JDOCompilerSupport.extractClassNames(JDOCompilerSupport.java:105)
      2. kodo.jdbc.integration.netbeans.JDOCompilerSupport.createDependencies(JDOCompilerSupport.java:56)
      3. kodo.jdbc.integration.netbeans.JDOCompilerSupport.addToJob(JDOCompilerSupport.java:49)
      3 frames
    4. org.openide.actions
      AbstractCompileAction.performAction
      1. org.openide.actions.AbstractCompileAction.prepareJobFor(AbstractCompileAction.java:361)
      2. org.openide.actions.AbstractCompileAction.access$000(AbstractCompileAction.java:39)
      3. org.openide.actions.AbstractCompileAction$Cmp.addToJob(AbstractCompileAction.java:281)
      4. org.openide.actions.AbstractCompileAction.prepareJobFor(AbstractCompileAction.java:361)
      5. org.openide.actions.AbstractCompileAction.prepareJobFor(AbstractCompileAction.java:329)
      6. org.openide.actions.AbstractCompileAction.compileNodes2(AbstractCompileAction.java:132)
      7. org.openide.actions.AbstractCompileAction.performAction(AbstractCompileAction.java:45)
      7 frames
    5. org.openide.util
      NodeAction$DelegateAction.actionPerformed
      1. org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:431)
      1 frame
    6. org.netbeans.core
      ModuleActions$1.run
      1. org.netbeans.core.ModuleActions$1.run(ModuleActions.java:97)
      1 frame
    7. org.openide.util
      RequestProcessor$Processor.run
      1. org.openide.util.Task.run(Task.java:136)
      2. org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:328)
      3. org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:670)
      3 frames