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 GitHub by ttk2
, 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 Google Groups by Unknown author, 7 months 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:407)
at com.mysql.jdbc.Util.getInstance(Util.java:382)
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:982)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:927)
at com.mysql.jdbc.StatementImpl.checkClosed(StatementImpl.java:402)
at com.mysql.jdbc.PreparedStatement.setInternal(PreparedStatement.java:3722)
at com.mysql.jdbc.PreparedStatement.setInt(PreparedStatement.java:3679)
at isaac.bastion.storage.BastionBlockStorage.saveBastionBlock(BastionBlockStorage.java:57)
at isaac.bastion.storage.BastionBlockStorage.saveBastionBlocks(BastionBlockStorage.java:51)
at isaac.bastion.storage.BastionBlockSet.update(BastionBlockSet.java:113)
at isaac.bastion.storage.BastionBlockSet.close(BastionBlockSet.java:59)
at isaac.bastion.manager.BastionBlockManager.close(BastionBlockManager.java:51)
at isaac.bastion.Bastion.onDisable(Bastion.java:67)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:252)
at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:374)
at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:409)
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.disablePlugins(CraftServer.java:398)
at net.minecraft.server.v1_7_R1.MinecraftServer.stop(MinecraftServer.java:381)
at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:504)

Users with the same issue

3 times, 3 days ago
4 times, 1 week ago
Once, 2 months ago
4 times, 3 months ago
Once, 4 months ago

Write tip

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