org.hibernate.exception.GenericJDBCException: could not prepare statement

Google Groups | Angelo D | 2 months ago
  1. 0

    SEVERE: Parameter named 'path' should be not null!

    Google Groups | 2 months ago | Angelo D
    org.hibernate.exception.GenericJDBCException: could not prepare statement
  2. 0

    Unknown XAResource Bitronix Exception

    Stack Overflow | 2 years ago | Mayank
    javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: could not get next sequence value
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 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. bitronix.tm.internal.BitronixXAException

      cannot disable autocommit on non-XA connection

      at bitronix.tm.resource.jdbc.lrc.LrcXAResource.start()
    2. Bitronix Transaction Manager :: Core
      JdbcConnectionHandle.prepareStatement
      1. bitronix.tm.resource.jdbc.lrc.LrcXAResource.start(LrcXAResource.java:159)
      2. bitronix.tm.internal.XAResourceHolderState.start(XAResourceHolderState.java:220)
      3. bitronix.tm.internal.XAResourceManager.enlist(XAResourceManager.java:111)
      4. bitronix.tm.BitronixTransaction.enlistResource(BitronixTransaction.java:130)
      5. bitronix.tm.resource.common.TransactionContextHelper.enlistInCurrentTransaction(TransactionContextHelper.java:69)
      6. bitronix.tm.resource.jdbc.JdbcConnectionHandle.enlistResource(JdbcConnectionHandle.java:85)
      7. bitronix.tm.resource.jdbc.JdbcConnectionHandle.prepareStatement(JdbcConnectionHandle.java:242)
      7 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor91.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    4. Bitronix Transaction Manager :: Core
      BaseProxyHandlerClass.invoke
      1. bitronix.tm.resource.jdbc.BaseProxyHandlerClass.invoke(BaseProxyHandlerClass.java:64)
      1 frame
    5. com.sun.proxy
      $Proxy148.prepareStatement
      1. com.sun.proxy.$Proxy148.prepareStatement(Unknown Source)
      1 frame
    6. Hibernate
      QueryImpl.list
      1. org.hibernate.engine.jdbc.internal.StatementPreparerImpl$5.doPrepare(StatementPreparerImpl.java:159)
      2. org.hibernate.engine.jdbc.internal.StatementPreparerImpl$StatementPreparationTemplate.prepareStatement(StatementPreparerImpl.java:183)
      3. org.hibernate.engine.jdbc.internal.StatementPreparerImpl.prepareQueryStatement(StatementPreparerImpl.java:157)
      4. org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1881)
      5. org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1858)
      6. org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1838)
      7. org.hibernate.loader.Loader.doQuery(Loader.java:906)
      8. org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:348)
      9. org.hibernate.loader.Loader.doList(Loader.java:2550)
      10. org.hibernate.loader.Loader.doList(Loader.java:2536)
      11. org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2366)
      12. org.hibernate.loader.Loader.list(Loader.java:2361)
      13. org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:495)
      14. org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:357)
      15. org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:198)
      16. org.hibernate.internal.SessionImpl.list(SessionImpl.java:1230)
      17. org.hibernate.internal.QueryImpl.list(QueryImpl.java:101)
      17 frames
    7. Hibernate EJB
      QueryImpl.getResultList
      1. org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:268)
      1 frame
    8. jBPM :: Shared Services
      TransactionalCommandService.execute
      1. org.jbpm.shared.services.impl.JpaPersistenceContext.queryStringWithParameters(JpaPersistenceContext.java:190)
      2. org.jbpm.shared.services.impl.JpaPersistenceContext.queryWithParametersInTransaction(JpaPersistenceContext.java:57)
      3. org.jbpm.shared.services.impl.commands.QueryNameCommand.execute(QueryNameCommand.java:49)
      4. org.jbpm.shared.services.impl.TransactionalCommandService.execute(TransactionalCommandService.java:71)
      4 frames
    9. jBPM :: KIE Services
      DeploymentSyncInvoker$TriggerDeploymentSync.run
      1. org.jbpm.kie.services.impl.store.DeploymentStore.getDeploymentUnitsByDate(DeploymentStore.java:112)
      2. org.jbpm.kie.services.impl.store.DeploymentSynchronizer.synchronize(DeploymentSynchronizer.java:86)
      3. org.jbpm.kie.services.impl.store.DeploymentSyncInvoker$TriggerDeploymentSync.run(DeploymentSyncInvoker.java:81)
      3 frames
    10. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      2. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
      5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      7. java.lang.Thread.run(Thread.java:745)
      7 frames