org.apache.ojb.broker.PersistenceBrokerSQLException

Could not build statement ask for

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web13

  • via Unknown by Steven Black (deprecated),
  • via Unknown by Steven Black (deprecated),
  • via Unknown by Kyle Campos,
  • Stack trace

    • org.apache.ojb.broker.PersistenceBrokerSQLException: Could not build statement ask for at org.apache.ojb.broker.accesslayer.StatementManager.getSelectByPKStatement(Unknown Source) at org.apache.ojb.broker.accesslayer.JdbcAccessImpl.materializeObject(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.getPlainDBObject(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.getDBObject(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.doGetObjectByIdentity(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.getObjectByIdentity(Unknown Source) at org.apache.ojb.broker.core.DelegatingPersistenceBroker.getObjectByIdentity(Unknown Source) at org.apache.ojb.broker.core.DelegatingPersistenceBroker.getObjectByIdentity(Unknown Source) at org.springmodules.orm.ojb.PersistenceBrokerTemplate$1.doInPersistenceBroker(PersistenceBrokerTemplate.java:175) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.execute(PersistenceBrokerTemplate.java:141) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.getObjectById(PersistenceBrokerTemplate.java:172) at org.kuali.rice.kns.dao.impl.BusinessObjectDaoOjb.findBySinglePrimaryKey(BusinessObjectDaoOjb.java:57) at org.kuali.rice.kns.dao.proxy.BusinessObjectDaoProxy.findBySinglePrimaryKey(BusinessObjectDaoProxy.java:171) at sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy38.findBySinglePrimaryKey(Unknown Source) at org.kuali.rice.kns.service.impl.BusinessObjectServiceImpl.findBySinglePrimaryKey(BusinessObjectServiceImpl.java:168) at sun.reflect.GeneratedMethodAccessor156.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) at $Proxy39.findBySinglePrimaryKey(Unknown Source) at org.kuali.kits.kms.bo.KmsFileName.lookupFileNameByDocumentId(KmsFileName.java:118) at org.kuali.kits.kms.renderer.KmsRendererService.renderDocumentForAllAudiences(KmsRendererService.java:165) at org.kuali.kits.kms.renderer.KmsRendererService.renderDocumentForAnAudience(KmsRendererService.java:342) at org.kuali.kits.kms.renderer.KmsRendererService.renderDocumentForAllAudiences(KmsRendererService.java:167) at org.kuali.kits.kms.renderer.KmsRendererService.renderDocumentForAnAudience(KmsRendererService.java:342) at org.kuali.kits.kms.renderer.KmsRendererService.renderDocumentForAllAudiences(KmsRendererService.java:167) at org.kuali.kits.kms.renderer.KmsRendererService.renderDocumentForAnAudience(KmsRendererService.java:342) at org.kuali.kits.kms.renderer.KmsRendererService.renderDocumentForAllAudiences(KmsRendererService.java:167) at org.kuali.kits.kms.renderer.KmsRendererService.renderDocumentForAnAudience(KmsRendererService.java:342) at org.kuali.kits.kms.renderer.KmsRendererService.renderAllDocumentsForAudience(KmsRendererService.java:87) at org.kuali.kits.kms.renderer.KmsRendererService.doRender(KmsRendererService.java:468) at org.kuali.kits.kms.repository.RepositoryPollerTask.finishUpModify(RepositoryPollerTask.java:386) at org.kuali.kits.kms.repository.RepositoryPollerTask.processLogEntry(RepositoryPollerTask.java:720) at org.kuali.kits.kms.repository.RepositoryPollerTask.run(RepositoryPollerTask.java:912) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.sql.SQLException: SQLException in StandardPoolDataSource:getConnection exception: java.sql.SQLException: SQLException in StandardPoolDataSource:getConnection no connection available java.lang.Exception: GenericPool:checkOut ERROR impossible to obtain a new object from the pool at org.enhydra.jdbc.pool.StandardPoolDataSource.getConnection(StandardPoolDataSource.java:213) at org.enhydra.jdbc.pool.StandardPoolDataSource.getConnection(StandardPoolDataSource.java:164) at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:113) at org.springframework.jdbc.datasource.TransactionAwareDataSourceProxy$TransactionAwareInvocationHandler.invoke(TransactionAwareDataSourceProxy.java:210) at $Proxy101.prepareStatement(Unknown Source) at org.apache.ojb.broker.accesslayer.StatementsForClassImpl.prepareStatement(Unknown Source) at org.apache.ojb.broker.accesslayer.StatementsForClassImpl.getSelectByPKStmt(Unknown Source) ... 53 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.