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 commons-user by Suny kk, 1 year ago
No operations allowed after statement closed.
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No
operations allowed after statement closed.	at sun.reflect.GeneratedConstructorAccessor157.newInstance(Unknown Source)	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:984)	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:926)	at com.mysql.jdbc.StatementImpl.checkClosed(StatementImpl.java:405)	at com.mysql.jdbc.PreparedStatement.setInternal(PreparedStatement.java:3659)	at com.mysql.jdbc.PreparedStatement.setInt(PreparedStatement.java:3616)	at org.apache.commons.dbcp.DelegatingPreparedStatement.setInt(DelegatingPreparedStatement.java:117)	at org.apache.commons.dbcp.DelegatingPreparedStatement.setInt(DelegatingPreparedStatement.java:117)	at org.hibernate.type.IntegerType.set(IntegerType.java:64)	at org.hibernate.type.NullableType.nullSafeSet(NullableType.java:154)	at org.hibernate.type.NullableType.nullSafeSet(NullableType.java:136)	at org.hibernate.loader.Loader.bindPositionalParameters(Loader.java:1732)	at org.hibernate.loader.Loader.bindParameterValues(Loader.java:1703)	at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1593)	at org.hibernate.loader.Loader.doQuery(Loader.java:696)	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)	at org.hibernate.loader.Loader.loadCollection(Loader.java:2019)