ru.runa.af.InternalApplicationException: net.sf.hibernate.exception.GenericJDBCException: Unable to perform find


Solutions on the web

Solution icon of sourceforge
via runawfe by bkaremba
, 1 year ago
net.sf.hibernate.exception.GenericJDBCException: Unable to perform find

Solution icon of sourceforge
via runawfe by yilativs
, 1 year ago
net.sf.hibernate.exception.SQLGrammarException: Unable to perform find

Stack trace

ru.runa.af.InternalApplicationException: net.sf.hibernate.exception.GenericJDBCException: Unable to perform find
	at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:386)
	at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:196)
	at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
	at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)
	at org.jboss.ejb.Container.invoke(Container.java:709)
	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.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
	at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:97)
	at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:115)
	at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:101)
	at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
	at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
	at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:100)
	at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
	at $Proxy67.init(Unknown Source)
	at ru.runa.af.delegate.impl.InitializerServiceDelegateRemoteImpl.init(InitializerServiceDelegateRemoteImpl.java:80)
	at ru.runa.wf.web.servlet.InitializerServlet.init(InitializerServlet.java:48)
	at javax.servlet.GenericServlet.init(GenericServlet.java:211)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1044)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:876)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4017)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
	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.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
	at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:149)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
	at org.apache.catalina.core.StandardContext.init(StandardContext.java:5456)
	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.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
	at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:149)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
	at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:324)
	at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:83)
	at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:320)
	at org.jboss.web.WebModule.startModule(WebModule.java:62)
	at org.jboss.web.WebModule.startService(WebModule.java:40)
	at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
	at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
	at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
	at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:899)
	at $Proxy18.start(Unknown Source)
	at org.jboss.system.ServiceController.start(ServiceController.java:415)
	at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
	at $Proxy28.start(Unknown Source)
	at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:363)
	at org.jboss.deployment.MainDeployer.start(MainDeployer.java:829)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
	at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
	at $Proxy8.deploy(Unknown Source)
	at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
	at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478)
	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
	at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
	at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
	at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
	at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
	at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:899)
	at $Proxy0.start(Unknown Source)
	at org.jboss.system.ServiceController.start(ServiceController.java:415)
	at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
	at $Proxy4.start(Unknown Source)
	at org.jboss.deployment.SARDeployer.start(SARDeployer.java:251)
	at org.jboss.deployment.MainDeployer.start(MainDeployer.java:829)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:588)
	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.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
	at $Proxy5.deploy(Unknown Source)
	at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:407)
	at org.jboss.system.server.ServerImpl.start(ServerImpl.java:311)
	at org.jboss.Main.boot(Main.java:191)
	at org.jboss.Main$1.run(Main.java:480)
	at java.lang.Thread.run(Thread.java:595)
Caused by: ru.runa.af.InternalApplicationException: net.sf.hibernate.exception.GenericJDBCException: Unable to perform find
	at ru.runa.af.dao.impl.ExecutorDAOHibernateImpl.isExecutorExist(ExecutorDAOHibernateImpl.java:725)
	at ru.runa.af.dao.impl.ExecutorDAOHibernateImpl.create(ExecutorDAOHibernateImpl.java:124)
	at ru.runa.af.logic.AFInitializerLogic.createPrivelegedExecutors(AFInitializerLogic.java:141)
	at ru.runa.wf.logic.WFInitializerLogic.createPrivelegedExecutors(WFInitializerLogic.java:52)
	at ru.runa.af.logic.AFInitializerLogic.exportDataInternal(AFInitializerLogic.java:84)
	at ru.runa.af.logic.InitializerLogic.init(InitializerLogic.java:57)
	at ru.runa.af.service.impl.ejb.InitializerServiceBean.init(InitializerServiceBean.java:68)
	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.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)
	at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
	at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)
	at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
	at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:317)
	at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:150)
	at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:111)
	at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
	... 142 more
Caused by: net.sf.hibernate.exception.GenericJDBCException: Unable to perform find
	at net.sf.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:80)
	at net.sf.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:69)
	at net.sf.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
	at net.sf.hibernate.impl.SessionImpl.convert(SessionImpl.java:4131)
	at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:3663)
	at net.sf.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:238)
	at ru.runa.af.dao.impl.ExecutorDAOHibernateImpl.isExecutorExist(ExecutorDAOHibernateImpl.java:723)
	... 160 more
Caused by: java.sql.SQLException: ERROR: current transaction is aborted, commands ignored until end of transaction block
	at com.edb.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1761)
	at com.edb.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1416)
	at com.edb.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:244)
	at com.edb.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:397)
	at com.edb.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:333)
	at com.edb.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:248)
	at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery(WrappedPreparedStatement.java:314)
	at net.sf.hibernate.impl.BatcherImpl.getResultSet(BatcherImpl.java:89)
	at net.sf.hibernate.loader.Loader.getResultSet(Loader.java:880)
	at net.sf.hibernate.loader.Loader.doQuery(Loader.java:273)
	at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:138)
	at net.sf.hibernate.loader.Loader.doList(Loader.java:1063)
	at net.sf.hibernate.loader.Loader.list(Loader.java:1054)
	at net.sf.hibernate.loader.CriteriaLoader.list(CriteriaLoader.java:118)
	at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:3660)
	... 162 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

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.