java.lang.Throwable: PreparedStatement.close() called

  1. 0

    IJ000305: Connection error occured

    Stack Overflow | 2 years ago | user2793390
    java.lang.Throwable: Lock owned during cleanup
  2. 0

    getting error while using session.doWork in Spring using hibernate Session

    Stack Overflow | 3 years ago | minion
    java.lang.Throwable: Lock owned during cleanup
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Jboss mysql database configuration isse. Could not create connection

    Stack Overflow | 2 years ago | Balogh Zsolt
    java.lang.Throwable: Lock owned during cleanup
  5. 0

    Jboss error Thread trying to unlock when accessing resultSet

    Stack Overflow | 1 year ago | user3422290
    java.lang.Throwable: Thread trying to unlock

    4 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. java.lang.Throwable

      PreparedStatement.close() called

      at java.lang.Thread.getStackTrace()
    2. Java RT
      Thread.getStackTrace
      1. java.lang.Thread.getStackTrace(Thread.java:1589)
      1 frame
    3. IronJacamar
      WrappedConnection.prepareStatement
      1. org.jboss.jca.adapters.jdbc.CachedPreparedStatement.closePreparedStatement(CachedPreparedStatement.java:452)
      2. org.jboss.jca.adapters.jdbc.CachedPreparedStatement.agedOut(CachedPreparedStatement.java:467)
      3. org.jboss.jca.adapters.jdbc.PreparedStatementCache.onEviction(PreparedStatementCache.java:224)
      4. org.jboss.jca.adapters.jdbc.PreparedStatementCache.onEviction(PreparedStatementCache.java:41)
      5. org.jboss.jca.adapters.jdbc.util.LRUCache.ageOut(LRUCache.java:190)
      6. org.jboss.jca.adapters.jdbc.util.LRUCache.access$700(LRUCache.java:37)
      7. org.jboss.jca.adapters.jdbc.util.LRUCache$LRUList.demote(LRUCache.java:356)
      8. org.jboss.jca.adapters.jdbc.util.LRUCache.insert(LRUCache.java:132)
      9. org.jboss.jca.adapters.jdbc.PreparedStatementCache.put(PreparedStatementCache.java:203)
      10. org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnection.prepareStatement(BaseWrapperManagedConnection.java:715)
      11. org.jboss.jca.adapters.jdbc.WrappedConnection.prepareStatement(WrappedConnection.java:405)
      11 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    5. Spring Framework
      TransactionAwareDataSourceProxy$TransactionAwareInvocationHandler.invoke
      1. org.springframework.jdbc.datasource.TransactionAwareDataSourceProxy$TransactionAwareInvocationHandler.invoke(TransactionAwareDataSourceProxy.java:225)
      1 frame
    6. com.sun.proxy
      $Proxy12.prepareStatement
      1. com.sun.proxy.$Proxy12.prepareStatement(Unknown Source)
      1 frame
    7. Hibernate
      QueryLoader.list
      1. org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:497)
      2. org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:415)
      3. org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
      4. org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1538)
      5. org.hibernate.loader.Loader.doQuery(Loader.java:661)
      6. org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
      7. org.hibernate.loader.Loader.doList(Loader.java:2211)
      8. org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2095)
      9. org.hibernate.loader.Loader.list(Loader.java:2090)
      10. org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:375)
      10 frames
    8. Hibernate HQL/JP-QL Parser
      QueryTranslatorImpl.list
      1. org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
      1 frame
    9. Hibernate
      QueryImpl.list
      1. org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
      2. org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
      3. org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
      3 frames
    10. com.codeobjects.cov3
      PartyServiceImpl$$FastClassByCGLIB$$970d82c8.invoke
      1. com.codeobjects.cov3.ordermgmt.renewal.assignment.services.impl.PartyServiceImpl.queryExpressionPrivate(PartyServiceImpl.java:518)
      2. com.codeobjects.cov3.ordermgmt.renewal.assignment.services.impl.PartyServiceImpl.queryPrivate(PartyServiceImpl.java:554)
      3. com.codeobjects.cov3.ordermgmt.renewal.assignment.services.impl.PartyServiceImpl.query(PartyServiceImpl.java:197)
      4. com.codeobjects.cov3.ordermgmt.renewal.assignment.services.impl.PartyServiceImpl$$FastClassByCGLIB$$970d82c8.invoke(<generated>)
      4 frames
    11. IDEA
      MethodProxy.invoke
      1. net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      1 frame
    12. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      2 frames
    13. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
      1 frame
    14. Spring AOP
      Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
      2 frames
    15. com.codeobjects.cov3
      PartyServiceImpl$$EnhancerByCGLIB$$3002773d.query
      1. com.codeobjects.cov3.ordermgmt.renewal.assignment.services.impl.PartyServiceImpl$$EnhancerByCGLIB$$3002773d.query(<generated>)
      1 frame
    16. com.codeobjects.fa
      ConsumerRegistrationActionsServiceImpl$$FastClassByCGLIB$$d7f03c07.invoke
      1. com.codeobjects.fa.common.webservice.services.impl.UserRegistrationServiceImpl.validateParty(UserRegistrationServiceImpl.java:226)
      2. com.codeobjects.fa.common.webservice.services.impl.UserRegistrationServiceImpl.registerUser(UserRegistrationServiceImpl.java:277)
      3. com.codeobjects.fa.re.ho.webservice.services.impl.ConsumerRegistrationActionsServiceImpl.createLogin(ConsumerRegistrationActionsServiceImpl.java:473)
      4. com.codeobjects.fa.re.ho.webservice.services.impl.ConsumerRegistrationActionsServiceImpl$$FastClassByCGLIB$$d7f03c07.invoke(<generated>)
      4 frames
    17. IDEA
      MethodProxy.invoke
      1. net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      1 frame
    18. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      2 frames
    19. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
      1 frame
    20. Spring AOP
      Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
      2 frames
    21. com.codeobjects.fa
      ConsumerRegistrationActionsServiceImpl$$EnhancerByCGLIB$$3ce494a1.createLogin
      1. com.codeobjects.fa.re.ho.webservice.services.impl.ConsumerRegistrationActionsServiceImpl$$EnhancerByCGLIB$$3ce494a1.createLogin(<generated>)
      1 frame
    22. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor328.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    23. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
      2 frames
    24. com.sun.proxy
      $Proxy153.createLogin
      1. com.sun.proxy.$Proxy153.createLogin(Unknown Source)
      1 frame
    25. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor328.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    26. XFire
      XFireExporter.handleRequest
      1. org.codehaus.xfire.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:54)
      2. org.codehaus.xfire.service.binding.ServiceInvocationHandler.sendMessage(ServiceInvocationHandler.java:322)
      3. org.codehaus.xfire.service.binding.ServiceInvocationHandler$1.run(ServiceInvocationHandler.java:86)
      4. org.codehaus.xfire.service.binding.ServiceInvocationHandler.execute(ServiceInvocationHandler.java:134)
      5. org.codehaus.xfire.service.binding.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:109)
      6. org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
      7. org.codehaus.xfire.transport.DefaultEndpoint.onReceive(DefaultEndpoint.java:64)
      8. org.codehaus.xfire.transport.AbstractChannel.receive(AbstractChannel.java:38)
      9. org.codehaus.xfire.transport.http.XFireServletController.invoke(XFireServletController.java:304)
      10. org.codehaus.xfire.transport.http.XFireServletController.doService(XFireServletController.java:129)
      11. org.codehaus.xfire.spring.remoting.XFireServletControllerAdapter.handleRequest(XFireServletControllerAdapter.java:67)
      12. org.codehaus.xfire.spring.remoting.XFireExporter.handleRequest(XFireExporter.java:48)
      12 frames
    27. Spring MVC
      FrameworkServlet.doPost
      1. org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
      2. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
      3. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
      4. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
      5. org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
      5 frames
    28. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      2 frames
    29. com.codeobjects.platform
      CODispatcherServlet.service
      1. com.codeobjects.platform.services.runtime.spring.web.servlet.CODispatcherServlet.service(CODispatcherServlet.java:41)
      1 frame
    30. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
      2 frames
    31. spring-security-core
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:359)
      1 frame
    32. org.springframework.security
      FilterSecurityInterceptor.doFilter
      1. org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
      2. org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
      2 frames
    33. spring-security-core
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
      1 frame
    34. org.springframework.security
      SpringSecurityFilter.doFilter
      1. org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)
      2. org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
      2 frames
    35. spring-security-core
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
      1 frame
    36. com.codeobjects.platform
      LoginFilter.doFilter
      1. com.codeobjects.platform.services.runtime.security.filters.LoginFilter.doFilter(LoginFilter.java:103)
      1 frame
    37. spring-security-core
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
      1 frame
    38. Spring Security - Portlet support
      HttpSessionContextIntegrationFilter.doFilterHttp
      1. org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
      1 frame
    39. org.springframework.security
      SpringSecurityFilter.doFilter
      1. org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
      1 frame
    40. spring-security-core
      FilterChainProxy.doFilter
      1. org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
      2. org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:174)
      2 frames
    41. Spring
      DelegatingFilterProxy.doFilter
      1. org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)
      2. org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
      2 frames
    42. Glassfish Core
      StandardContextValve.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)
      4 frames
    43. org.jboss.modcluster
      JBossWebContext$RequestListenerValve.invoke
      1. org.jboss.modcluster.container.jbossweb.JBossWebContext$RequestListenerValve.event(JBossWebContext.java:91)
      2. org.jboss.modcluster.container.jbossweb.JBossWebContext$RequestListenerValve.invoke(JBossWebContext.java:72)
      2 frames
    44. JBoss Web
      SecurityContextAssociationValve.invoke
      1. org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)
      1 frame
    45. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)
      2. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)
      3. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
      4. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)
      4 frames
    46. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920)
      3 frames
    47. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame