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 com.br by Unknown author, 2 years ago
Connection.close() has already been called. Invalid operation in this state.
via com.br by Unknown author, 2 years ago
Connection.close() has already been called. Invalid operation in this state.
via GitHub by sarjerav
, 1 year ago
> Connection.close() has already been called. Invalid operation in this state.
via Oracle Community by 843830, 1 year ago
Connection.close() has already been called. Invalid operation in this state.
via nabble.com by Unknown author, 2 years ago
Connection.close() has already been called. Invalid operation in this state.
via Stack Overflow by gangatharan
, 2 years ago
Connection.close() has already been called. Invalid operation in this state.
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Connection.close() has already been called. Invalid operation in this state.	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)	at com.mysql.jdbc.Util.getInstance(Util.java:381)	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:985)	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:957)	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:927)	at com.mysql.jdbc.ConnectionImpl.getMutex(ConnectionImpl.java:3015)	at com.mysql.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:4789)	at org.enhydra.jdbc.core.CoreConnection.setAutoCommit(CoreConnection.java:234)	at org.enhydra.jdbc.standard.StandardXAConnectionHandle.setAutoCommit(StandardXAConnectionHandle.java:124)	at org.enhydra.jdbc.standard.StandardXAConnectionHandle.prepareStatement(StandardXAConnectionHandle.java:286)	at org.enhydra.jdbc.standard.StandardXAConnectionHandle.prepareStatement(StandardXAConnectionHandle.java:262)	at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.springframework.jdbc.datasource.TransactionAwareDataSourceProxy$TransactionAwareInvocationHandler.invoke(TransactionAwareDataSourceProxy.java:225)	at undefined.$Proxy101.prepareStatement(Unknown Source)	at org.apache.ojb.broker.accesslayer.StatementsForClassImpl.prepareStatement(Unknown Source)	at org.apache.ojb.broker.accesslayer.StatementsForClassImpl.getPreparedStmt(Unknown Source)	at org.apache.ojb.broker.accesslayer.StatementManager.getPreparedStatement(Unknown Source)	at org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeQuery(Unknown Source)	at org.apache.ojb.broker.accesslayer.RsQueryObject.performQuery(Unknown Source)	at org.apache.ojb.broker.accesslayer.RsIterator.(Unknown Source)	at org.apache.ojb.broker.core.RsIteratorFactoryImpl.createRsIterator(Unknown Source)	at org.apache.ojb.broker.core.PersistenceBrokerImpl.getRsIteratorFromQuery(Unknown Source)	at org.apache.ojb.broker.core.PersistenceBrokerImpl.getIteratorFromQuery(Unknown Source)	at org.apache.ojb.broker.core.PersistenceBrokerImpl.getObjectByQuery(Unknown Source)	at org.apache.ojb.broker.core.DelegatingPersistenceBroker.getObjectByQuery(Unknown Source)	at org.apache.ojb.broker.core.DelegatingPersistenceBroker.getObjectByQuery(Unknown Source)	at org.springmodules.orm.ojb.PersistenceBrokerTemplate$2.doInPersistenceBroker(PersistenceBrokerTemplate.java:187)	at org.springmodules.orm.ojb.PersistenceBrokerTemplate.execute(PersistenceBrokerTemplate.java:141)	at org.springmodules.orm.ojb.PersistenceBrokerTemplate.getObjectByQuery(PersistenceBrokerTemplate.java:185)	at org.kuali.rice.kns.dao.impl.BusinessObjectDaoOjb.findByPrimaryKey(BusinessObjectDaoOjb.java:70)	at org.kuali.rice.kns.dao.proxy.BusinessObjectDaoProxy.findByPrimaryKey(BusinessObjectDaoProxy.java:178)	at sun.reflect.GeneratedMethodAccessor143.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 undefined.$Proxy38.findByPrimaryKey(Unknown Source)	at org.kuali.rice.kns.service.impl.BusinessObjectServiceImpl.findByPrimaryKey(BusinessObjectServiceImpl.java:175)	at sun.reflect.GeneratedMethodAccessor142.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 undefined.$Proxy39.findByPrimaryKey(Unknown Source)	at org.kuali.kits.kms.repository.connectors.RepositoryRiceStoreConnector.getRepositoryRecord(RepositoryRiceStoreConnector.java:55)	at org.kuali.kits.kms.repository.connectors.RepositoryRiceStoreConnector.getLastRevision(RepositoryRiceStoreConnector.java:18)	at org.kuali.kits.kms.repository.RepositoryPollerTask.run(RepositoryPollerTask.java:885)	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)