javax.ejb.EJBException: Error during setSessionContext: org.apache.openjpa.lib.util.ParseException: java.lang.NoSuchMethodException: kodo.jdo.jdbc.JDOConnectionFactory.<init>(boolean)

Oracle Community | 666705 | 10 years ago
  1. 0

    java.lang.NoSuchMethodException: kodo.jdo.jdbc.JDOConnectionFactory.&lt;init&gt;

    Oracle Community | 10 years ago | 666705
    javax.ejb.EJBException: Error during setSessionContext: org.apache.openjpa.lib.util.ParseException: java.lang.NoSuchMethodException: kodo.jdo.jdbc.JDOConnectionFactory.<init>(boolean)
  2. 0

    db:: 4.34::makepkg and premature termination cm

    hivmr.com | 11 months ago
    java.lang.NoSuchMethodException: org.jboss.soa.esb.actions.routing.JMSRouter.init(org.jboss.soa.esb.helpers.ConfigTree)
  3. 0

    NodeDescriptor.transform(Object value) includes the following: Constructor constructor = theClass.getConstructor(new Class[]{value.getClass()}); if (constructor != null) { return constructor.newInstance(new Object[] {value}); } else { return value; } It should be: Constructor constructor = null; try { constructor = theClass.getConstructor(new Class[]{value.getClass()}); } catch (NoSuchMethodError ignore) { } if (constructor != null) { return constructor.newInstance(new Object[] {value}); }| else { return value; } To test: IMObject object = archetypeService.create("act.estimation"); archetypeService.save(object); object = archetypeService.getById(object.getArchetypeId(), object.getUid()); ArchetypeDescriptor archetype = archetypeService.getArchetypeDescriptor("act.estimation"); NodeDescriptor dateDesc = archetype.getNodeDescriptor("estimationDate"); Object value = dateDesc.getValue(object); // an instance of java.sql.Date dateDesc.setValue(object, value); The last line fails with the exception: java.lang.NoSuchMethodException: java.util.Date.<init>(java.sql.Date) at java.lang.Class.getConstructor0(Class.java:2647) at java.lang.Class.getConstructor(Class.java:1629) at org.openvpms.component.business.domain.im.archetype.descriptor.NodeDescriptor.transform(NodeDescriptor.java:1408) at org.openvpms.component.business.domain.im.archetype.descriptor.NodeDescriptor.setValue(NodeDescriptor.java:1353)

    JIRA | 1 decade ago | Tim Anderson
    java.lang.NoSuchMethodException: java.util.Date.<init>(java.sql.Date)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hi, Doing mvn install completes but there are a couple of exceptions like this one thrown along the way. I did a mvn -U install and still same prob. [INFO] ---------------------------------------------------------------------------- [INFO] Building Spring richclient sandbox [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Nothing to compile - all classes are up to date [INFO] [surefire:test] [INFO] Setting reports dir: E:\project\spring-richclient\sandbox\target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- java.lang.NoSuchMethodException: org.springframework.richclient.settings.TestEnum.<init>() at java.lang.Class.getConstructor0(Class.java:2647) at java.lang.Class.getConstructor(Class.java:1629) at org.apache.maven.surefire.battery.JUnitBattery.getTestConstructor(JUnitBattery.java:307) at org.apache.maven.surefire.battery.JUnitBattery.processTestClass(JUnitBattery.java:150) at org.apache.maven.surefire.battery.JUnitBattery.<init>(JUnitBattery.java:81) at org.apache.maven.surefire.SurefireUtils.instantiateBattery(SurefireUtils.java:63) at org.apache.maven.surefire.Surefire.instantiateBatteries(Surefire.java:262) at org.apache.maven.surefire.Surefire.run(Surefire.java:140) at org.apache.maven.surefire.Surefire.run(Surefire.java:87) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.maven.surefire.SurefireBooter.runTestsInProcess(SurefireBooter.java:285) at org.apache.maven.surefire.SurefireBooter.run(SurefireBooter.java:201) at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:366) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:415) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:531) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:472) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:451) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:303) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:270) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:139) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) RUN ABORTED java.lang.NoSuchMethodException org.apache.maven.surefire.Runner An exception or error caused a run to abort. org.springframework.richclient.settings.TestEnum.<init>() Results : [surefire] Tests run: 0, Failures: 0, Errors: 1

    Spring JIRA | 1 decade ago | Benoit Xhenseval
    java.lang.NoSuchMethodException: org.springframework.richclient.settings.TestEnum.<init>()
  6. 0

    provisioning AD

    Oracle Community | 8 years ago | 659086
    java.lang.NoSuchMethodException: com.thortech.xl.integration.ActiveDirectory.tcUtilADTasks.<init>(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)

  1. bluebunnty 1 times, last 2 weeks ago
  2. Aria Pahlavan 1 times, last 2 weeks ago
  3. bmacedo 3 times, last 2 weeks ago
  4. Alexandru Popa 4 times, last 2 weeks ago
  5. filpgame 10 times, last 3 weeks ago
22 more registered users
24 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NoSuchMethodException

    kodo.jdo.jdbc.JDOConnectionFactory.<init>(boolean)

    at java.lang.Class.getConstructor0()
  2. Java RT
    Class.getConstructor
    1. java.lang.Class.getConstructor0(Class.java:2647)
    2. java.lang.Class.getConstructor(Class.java:1629)
    2 frames
  3. OpenJPA Aggregate Jar
    ConfigurationImpl.clone
    1. org.apache.openjpa.lib.conf.ConfigurationImpl.clone(ConfigurationImpl.java:863)
    1 frame
  4. com.bea.rfid
    CredentialMapperEJB_ckhjzn_Impl.setSessionContext
    1. com.bea.rfid.login.console.ejb.CredentialMapperBean.setSessionContext(CredentialMapperBean.java:125)
    2. com.bea.rfid.login.console.ejb.CredentialMapperEJB_ckhjzn_Impl.setSessionContext(CredentialMapperEJB_ckhjzn_Impl.java:124)
    2 frames
  5. weblogic.ejb.container
    StatelessEJBLocalObject.preInvoke
    1. weblogic.ejb.container.manager.StatelessManager.createBean(StatelessManager.java:296)
    2. weblogic.ejb.container.pool.StatelessSessionPool.createBean(StatelessSessionPool.java:174)
    3. weblogic.ejb.container.pool.StatelessSessionPool.getBean(StatelessSessionPool.java:105)
    4. weblogic.ejb.container.manager.StatelessManager.preInvoke(StatelessManager.java:143)
    5. weblogic.ejb.container.internal.BaseLocalObject.preInvoke(BaseLocalObject.java:133)
    6. weblogic.ejb.container.internal.BaseLocalObject.preInvoke(BaseLocalObject.java:81)
    7. weblogic.ejb.container.internal.StatelessEJBLocalObject.preInvoke(StatelessEJBLocalObject.java:48)
    7 frames
  6. com.bea.rfid
    CredentialMapperEJB_ckhjzn_ELOImpl.getPersistenceManager
    1. com.bea.rfid.login.console.ejb.CredentialMapperEJB_ckhjzn_ELOImpl.getPersistenceManager(CredentialMapperEJB_ckhjzn_ELOImpl.java:42)
    1 frame
  7. com.connecterra.epcis
    EPCIS_9tvcog_Impl.ejbCreate
    1. com.connecterra.epcis.server.ejb.EPCISBean.ejbCreate(EPCISBean.java:147)
    2. com.connecterra.epcis.server.ejb.EPCIS_9tvcog_Impl.ejbCreate(EPCIS_9tvcog_Impl.java:150)
    2 frames
  8. 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
  9. weblogic.ejb.container
    StatelessEJBLocalObject.preInvoke
    1. weblogic.ejb.container.pool.StatelessSessionPool.createBean(StatelessSessionPool.java:178)
    2. weblogic.ejb.container.pool.StatelessSessionPool.getBean(StatelessSessionPool.java:105)
    3. weblogic.ejb.container.manager.StatelessManager.preInvoke(StatelessManager.java:143)
    4. weblogic.ejb.container.internal.BaseLocalObject.preInvoke(BaseLocalObject.java:133)
    5. weblogic.ejb.container.internal.BaseLocalObject.preInvoke(BaseLocalObject.java:81)
    6. weblogic.ejb.container.internal.StatelessEJBLocalObject.preInvoke(StatelessEJBLocalObject.java:48)
    6 frames
  10. com.connecterra.epcis
    SchedulerServlet.init
    1. com.connecterra.epcis.server.ejb.EPCIS_9tvcog_ELOImpl.getAllSubscriptionInfo(EPCIS_9tvcog_ELOImpl.java:1304)
    2. com.connecterra.epcis.server.ejb.scheduler.SchedulerBean.refreshTimer(SchedulerBean.java:131)
    3. com.connecterra.epcis.server.ejb.scheduler.SchedulerBean.initializeTimer(SchedulerBean.java:98)
    4. com.connecterra.epcis.server.ejb.scheduler.SubscriptionScheduler_jm2ekz_ELOImpl.initializeTimer(SubscriptionScheduler_jm2ekz_ELOImpl.java:63)
    5. com.connecterra.epcis.server.schedulerservlet.SchedulerServlet.init(SchedulerServlet.java:32)
    5 frames
  11. JavaServlet
    GenericServlet.init
    1. javax.servlet.GenericServlet.init(GenericServlet.java:256)
    1 frame
  12. Atmosphere weblogic
    StubSecurityHelper$ServletInitAction.run
    1. weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:276)
    1 frame
  13. weblogic.security.acl
    AuthenticatedSubject.doAs
    1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    1 frame
  14. weblogic.security.service
    SecurityManager.runAs
    1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    1 frame
  15. Atmosphere weblogic
    WebAppModule.start
    1. weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:68)
    2. weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
    3. weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
    4. weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:504)
    5. weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1698)
    6. weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1675)
    7. weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1595)
    8. weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2734)
    9. weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:892)
    10. weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:336)
    10 frames
  16. weblogic.application.internal
    ModuleStateDriver$3.next
    1. weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    1 frame
  17. weblogic.application.utils
    StateMachineDriver.nextState
    1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    1 frame
  18. weblogic.application.internal
    ModuleStateDriver$3.next
    1. weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    2. weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    3. weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
    4. weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    4 frames
  19. weblogic.application.utils
    StateMachineDriver.nextState
    1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    1 frame
  20. weblogic.application.internal
    BaseDeployment$2.next
    1. weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    2. weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)
    3. weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:641)
    3 frames
  21. weblogic.application.utils
    StateMachineDriver.nextState
    1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    1 frame
  22. weblogic.application.internal
    DeploymentStateChecker.activate
    1. weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:229)
    2. weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
    2 frames
  23. weblogic.deploy.internal
    BasicDeployment.activateFromServerLifecycle
    1. weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
    2. weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:181)
    3. weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:352)
    3 frames
  24. weblogic.management.deploy
    DeploymentServerService.start
    1. weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:52)
    2. weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:186)
    3. weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
    4. weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
    5. weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
    6. weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
    7. weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
    8. weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
    8 frames
  25. weblogic.t3.srvr
    SubsystemRequest.run
    1. weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    1 frame
  26. weblogic.work
    ExecuteThread.run
    1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    2. weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    2 frames