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

Samebug tips

  1. ,
    Expert tip

    This is a bug in version 4.1.9 and it's fixed from version 4.3.0beta and beyond.

Solutions on the web

via Hibernate JIRA by Pierre Post, 1 year ago
via Hibernate JIRA by Pierre Post, 2 years ago
via GitHub by yepu
, 2 years ago
could not extract ResultSet
java.sql.SQLException: ORA-01000: maximum open cursors exceeded
ORA-06512: at "BOTEMPLATE.PKG_BOT_TESTS", line 37
ORA-06512: at line 1	at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:445)	at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)	at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)	at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:450)	at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:192)	at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)	at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:204)	at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1041)	at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1329)	at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3584)	at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3685)	at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4714)	at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1376)	at com.mchange.v2.c3p0.impl.NewProxyCallableStatement.execute(NewProxyCallableStatement.java:3044)	at org.hibernate.dialect.Oracle8iDialect.getResultSet(Oracle8iDialect.java:516)	at org.hibernate.engine.jdbc.internal.proxy.CallableStatementProxyHandler.executeQuery(CallableStatementProxyHandler.java:56)	at org.hibernate.engine.jdbc.internal.proxy.CallableStatementProxyHandler.continueInvocation(CallableStatementProxyHandler.java:52)	at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)	at $Proxy13.executeQuery(Unknown Source)	at org.hibernate.loader.Loader.getResultSet(Loader.java:2031)	at org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1832)	at org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1811)	at org.hibernate.loader.Loader.doQuery(Loader.java:899)	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:341)	at org.hibernate.loader.Loader.doList(Loader.java:2516)	at org.hibernate.loader.Loader.doList(Loader.java:2502)	at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2332)	at org.hibernate.loader.Loader.list(Loader.java:2327)	at org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:338)	at org.hibernate.internal.SessionImpl.listCustomQuery(SessionImpl.java:1783)	at org.hibernate.internal.AbstractSessionImpl.list(AbstractSessionImpl.java:231)	at org.hibernate.internal.SQLQueryImpl.list(SQLQueryImpl.java:157)	at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:264)	at CursorFromCallableTest.getObjectListFromCalleableCursor(CursorFromCallableTest.java:40)	at CursorFromCallableTest.testGetObjectListFromCalleableCursor_X500(CursorFromCallableTest.java:27)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)