java.sql.SQLException: Got a null connection

Oracle Community | user425637 | 5 years ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.sql.SQLException

      Got a null connection

      at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement()
    2. com.thortech.xl
      AttestationOperationsSession.updateResponses
      1. com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
      2. com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
      3. com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      4. com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      5. com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      6. com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      7. com.thortech.xl.cache.CacheUtil.getSetCachedQuery(Unknown Source)
      8. com.thortech.xl.dataobj.tcDataObj.eventPostInsert(Unknown Source)
      9. com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
      10. com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
      11. com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
      12. com.thortech.xl.dataobj.tcScheduleItem.insertImplementation(Unknown Source)
      13. com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
      14. com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
      15. com.thortech.xl.attestation.AttestationEngine.attestTask(Unknown Source)
      16. com.thortech.xl.attestation.AttestationEngine.updateResponses(Unknown Source)
      17. com.thortech.xl.ejb.beansimpl.AttestationOperationsBean.updateResponses(Unknown Source)
      18. com.thortech.xl.ejb.beans.AttestationOperationsSession.updateResponses(Unknown Source)
      18 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor1129.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    4. JBoss Application Server Server
      StatelessSessionContainer$ContainerInterceptor.invoke
      1. org.jboss.invocation.Invocation.performCall(Invocation.java:359)
      2. org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
      2 frames
    5. JBoss Application Server Connector
      CachedConnectionInterceptor.invoke
      1. org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
      1 frame
    6. JBoss Application Server Server
      Container.invoke
      1. org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
      2. org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
      3. org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
      4. org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
      5. org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
      6. org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
      7. org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
      8. org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
      9. org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
      10. org.jboss.ejb.Container.invoke(Container.java:960)
      10 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor132.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    8. org.jboss.mx
      ReflectedDispatcher.invoke
      1. org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      1 frame
    9. JBoss Application Server J2SE
      MBeanServerImpl.invoke
      1. org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      2. org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      3. org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      4. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      4 frames
    10. JBoss Application Server Server
      ClientContainer.invoke
      1. org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
      2. org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
      3. org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
      4. org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
      5. org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
      6. org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
      7. org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
      8. org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
      8 frames
    11. Unknown
      $Proxy744.updateResponses
      1. $Proxy744.updateResponses(Unknown Source)
      1 frame
    12. Thor.API.Operations
      AttestationOperationsClient.updateResponses
      1. Thor.API.Operations.AttestationOperationsClient.updateResponses(Unknown Source)
      1 frame
    13. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor1128.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    14. Thor.API.Base
      SecurityInvocationHandler$1.run
      1. Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
      1 frame
    15. Thor.API.Security
      jbossLoginSession.runAs
      1. Thor.API.Security.LoginHandler.jbossLoginSession.runAs(Unknown Source)
      1 frame
    16. Thor.API.Base
      SecurityInvocationHandler.invoke
      1. Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
      1 frame
    17. Unknown
      $Proxy785.updateResponses
      1. $Proxy785.updateResponses(Unknown Source)
      1 frame
    18. com.thortech.xl
      QuartzWrapper$TaskExecutionAction.run
      1. com.thortech.xl.schedule.tasks.tcTskSubmitAttestationRequets.execute(Unknown Source)
      2. com.thortech.xl.scheduler.tasks.SchedulerBaseTask.run(Unknown Source)
      3. com.thortech.xl.scheduler.core.quartz.QuartzWrapper$TaskExecutionAction.run(Unknown Source)
      3 frames
    19. Thor.API.Security
      jbossLoginSession.runAs
      1. Thor.API.Security.LoginHandler.jbossLoginSession.runAs(Unknown Source)
      1 frame
    20. com.thortech.xl
      QuartzWrapper.execute
      1. com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
      1 frame
    21. quartz
      SimpleThreadPool$WorkerThread.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:203)
      2. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
      2 frames