Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via runawfe by kanodiaani
, 1 year ago
This exception has no message.
java.lang.NullPointerException: 	at org.jboss.resource.adapter.jdbc.PreparedStatementCache.ageOut(PreparedStatementCache.java:37)	at org.jboss.util.LRUCachePolicy$LRUList.demote(LRUCachePolicy.java:346)	at org.jboss.util.LRUCachePolicy.insert(LRUCachePolicy.java:162)	at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.prepareStatement(BaseWrapperManagedConnection.java:348)	at org.jboss.resource.adapter.jdbc.WrappedConnection.prepareStatement(WrappedConnection.java:205)	at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:505)	at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:423)	at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)	at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1547)	at org.hibernate.loader.Loader.doQuery(Loader.java:673)	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)	at org.hibernate.loader.Loader.doList(Loader.java:2220)	at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)	at org.hibernate.loader.Loader.list(Loader.java:2099)	at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:94)	at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1569)	at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:283)	at org.hibernate.impl.CriteriaImpl.uniqueResult(CriteriaImpl.java:305)	at ru.runa.af.dao.impl.idgen.DescendingPropertyIdGenerator.generate(DescendingPropertyIdGenerator.java:37)	at ru.runa.af.dao.impl.ExecutorDAOHibernateImpl.create(ExecutorDAOHibernateImpl.java:122)	at ru.runa.af.logic.ExecutorLogic.createExecutor(ExecutorLogic.java:262)	at ru.runa.af.logic.ExecutorLogic.create(ExecutorLogic.java:245)	at ru.runa.af.service.impl.ejb.ExecutorServiceBean.create(ExecutorServiceBean.java:142)	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:597)	at org.jboss.invocation.Invocation.performCall(Invocation.java:345)	at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:214)	at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)	at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:113)	at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:51)	at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)	at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105)	at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:316)	at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:149)	at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:128)	at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)	at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)	at org.jboss.ejb.plugins.AbstractInterceptor.invoke(AbstractInterceptor.java:96)	at ru.runa.jboss.interceptor.CachingLogicInterceptor.invoke(CachingLogicInterceptor.java:23)	at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)	at org.jboss.ejb.Container.invoke(Container.java:854)	at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:413)	at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:82)	at $Proxy103.create(Unknown Source)	at ru.runa.af.delegate.impl.ExecutorServiceDelegateLocalImpl.create(ExecutorServiceDelegateLocalImpl.java:82)	at ru.runa.af.web.action.CreateExecutorAction.execute(CreateExecutorAction.java:68)	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)	at ru.runa.common.web.UTF8RequestProcessor.process(UTF8RequestProcessor.java:38)	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at ru.runa.common.web.filter.HibernateSessionGuardFilter.doFilter(HibernateSessionGuardFilter.java:36)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)	at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)	at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:44)	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:169)	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)	at java.lang.Thread.run(Thread.java:619)