kodo.util.UnsupportedOptionException: Unable to create second class object proxy for type: "class be.li3.util.history.LongHist".

Oracle Community | 3004 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Map mapping / UnsupportedOptionException

    Oracle Community | 1 decade ago | 3004
    kodo.util.UnsupportedOptionException: Unable to create second class object proxy for type: "class be.li3.util.history.LongHist".

    Root Cause Analysis

    1. kodo.util.UnsupportedOptionException

      Unable to create second class object proxy for type: "class be.li3.util.history.LongHist".

      at kodo.runtime.PersistenceManagerImpl.afterCompletion()
    2. kodo.runtime
      PersistenceManagerImpl.commit
      1. kodo.runtime.PersistenceManagerImpl.afterCompletion(PersistenceManagerImpl.java:1020)
      2. kodo.runtime.LocalManagedRuntime.commit(LocalManagedRuntime.java:86)
      3. kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:629)
      3 frames
    3. be.li3.persistence
      JDOPersistenceManager.makePersistent
      1. be.li3.persistence.jdo.DbSession.store(DbSession.java:185)
      2. be.li3.persistence.jdo.JDOPersistenceManager.makePersistent(JDOPersistenceManager.java:316)
      2 frames
    4. be.li3.domain
      TestLoadCurveTask.testGetIntervals
      1. be.li3.domain.dao.PersistenceWrapper.makePersistent(PersistenceWrapper.java:451)
      2. be.li3.domain.dao.DomainFactory.createPersistentObject(DomainFactory.java:97)
      3. be.li3.domain.dao.DomainFactory.createPlanningAlternative(DomainFactory.java:605)
      4. be.li3.domain.dao.DomainFactory.createPlanningAlternative(DomainFactory.java:593)
      5. be.li3.domain.bo.TestLoadCurveTask.testGetIntervals(TestLoadCurveTask.java:29)
      5 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    6. JUnit
      TestSuite.run
      1. junit.framework.TestCase.runTest(TestCase.java:154)
      2. junit.framework.TestCase.runBare(TestCase.java:127)
      3. junit.framework.TestResult$1.protect(TestResult.java:106)
      4. junit.framework.TestResult.runProtected(TestResult.java:124)
      5. junit.framework.TestResult.run(TestResult.java:109)
      6. junit.framework.TestCase.run(TestCase.java:118)
      7. junit.framework.TestSuite.runTest(TestSuite.java:208)
      8. junit.framework.TestSuite.run(TestSuite.java:203)
      8 frames
    7. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
      3 frames