com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after statement closed.

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 Jive Software Open Source by Guus der Kinderen, 1 year ago
No operations allowed after statement closed.
via JIRA by Guus der Kinderen, 1 year ago
No operations allowed after statement closed.
via Jive Software Open Source by Guus der Kinderen, 1 year ago
No operations allowed after statement closed.
via Stack Overflow by lahiru madhumal
, 2 years ago
No operations allowed after statement closed.
via Stack Overflow by Unknown author, 2 years ago
No operations allowed after connection closed.
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after statement closed.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
at com.mysql.jdbc.Util.getInstance(Util.java:384)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1013)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:987)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:973)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:918)
at com.mysql.jdbc.StatementImpl.checkClosed(StatementImpl.java:463)
at com.mysql.jdbc.PreparedStatement.setString(PreparedStatement.java:4328)
at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.logicalcobwebs.proxool.ProxyStatement.invoke(ProxyStatement.java:100)
at org.logicalcobwebs.proxool.ProxyStatement.intercept(ProxyStatement.java:57)
at $java.sql.PreparedStatement$$EnhancerByProxool$$2485c035.setString()
at org.jivesoftware.openfire.muc.spi.MUCPersistenceManager.loadRooms(MUCPersistenceManager.java:481)
at org.jivesoftware.openfire.muc.spi.MUCPersistenceManager.loadRoomsFromDB(MUCPersistenceManager.java:445)
at org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl.start(MultiUserChatServiceImpl.java:1151)
at org.jivesoftware.openfire.component.InternalComponentManager.addComponent(InternalComponentManager.java:159)
at org.jivesoftware.openfire.muc.MultiUserChatManager.registerMultiUserChatService(MultiUserChatManager.java:160)
at org.jivesoftware.openfire.muc.MultiUserChatManager.start(MultiUserChatManager.java:111)
at org.jivesoftware.openfire.XMPPServer.startModules(XMPPServer.java:591)
at org.jivesoftware.openfire.XMPPServer.start(XMPPServer.java:455)

Users with the same issue

3 times, 1 day ago
4 times, 5 days ago
Once, 2 months ago
4 times, 2 months ago
Once, 4 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.