WolfyUtilities

WolfyUtilities

45.1k Downloads

errror - save new recepture name

WieszczY85 opened this issue ยท 0 comments

commented

[16:27:43] [Async Chat Thread - #494/WARN]: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed.
[16:27:43] [Async Chat Thread - #494/WARN]: at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[16:27:43] [Async Chat Thread - #494/WARN]: at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[16:27:43] [Async Chat Thread - #494/WARN]: at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[16:27:43] [Async Chat Thread - #494/WARN]: at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.mysql.jdbc.Util.getInstance(Util.java:408)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.mysql.jdbc.ConnectionImpl.throwConnectionClosedException(ConnectionImpl.java:1182)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.mysql.jdbc.ConnectionImpl.checkClosed(ConnectionImpl.java:1177)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.mysql.jdbc.ConnectionImpl.prepareStatement(ConnectionImpl.java:4037)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.mysql.jdbc.ConnectionImpl.prepareStatement(ConnectionImpl.java:4006)
[16:27:43] [Async Chat Thread - #494/WARN]: at me.wolfyscript.utilities.api.utils.sql.SQLDataBase.getPreparedStatement(SQLDataBase.java:95)
[16:27:43] [Async Chat Thread - #494/WARN]: at me.wolfyscript.customcrafting.handlers.DataBaseHandler.getRecipeData(DataBaseHandler.java:163)
[16:27:43] [Async Chat Thread - #494/WARN]: at me.wolfyscript.customcrafting.handlers.DataBaseHandler.hasRecipe(DataBaseHandler.java:153)
[16:27:43] [Async Chat Thread - #494/WARN]: at me.wolfyscript.customcrafting.handlers.DataBaseHandler.updateRecipe(DataBaseHandler.java:248)
[16:27:43] [Async Chat Thread - #494/WARN]: at me.wolfyscript.customcrafting.recipes.types.RecipeConfig.saveConfig(RecipeConfig.java:91)
[16:27:43] [Async Chat Thread - #494/WARN]: at me.wolfyscript.customcrafting.gui.recipe_creator.recipe_creators.WorkbenchCreator.lambda$null$3(WorkbenchCreator.java:53)
[16:27:43] [Async Chat Thread - #494/WARN]: at me.wolfyscript.utilities.api.inventory.InventoryAPI.onPreChat(InventoryAPI.java:292)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor609.execute(Unknown Source)
[16:27:43] [Async Chat Thread - #494/WARN]: at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69)
[16:27:43] [Async Chat Thread - #494/WARN]: at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76)
[16:27:43] [Async Chat Thread - #494/WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[16:27:43] [Async Chat Thread - #494/WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:559)
[16:27:43] [Async Chat Thread - #494/WARN]: at net.minecraft.server.v1_15_R1.PlayerConnection.chat(PlayerConnection.java:1734)
[16:27:43] [Async Chat Thread - #494/WARN]: at net.minecraft.server.v1_15_R1.PlayerConnection.a(PlayerConnection.java:1649)
[16:27:43] [Async Chat Thread - #494/WARN]: at net.minecraft.server.v1_15_R1.PacketPlayInChat$1.run(PacketPlayInChat.java:41)
[16:27:43] [Async Chat Thread - #494/WARN]: at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
[16:27:43] [Async Chat Thread - #494/WARN]: at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[16:27:43] [Async Chat Thread - #494/WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
[16:27:43] [Async Chat Thread - #494/WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[16:27:43] [Async Chat Thread - #494/WARN]: at java.base/java.lang.Thread.run(Thread.java:834)
[16:27:43] [Async Chat Thread - #494/WARN]: Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was 344,489,263 milliseconds ago. The last packet sent successfully to the server was 344,489,263 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.
[16:27:43] [Async Chat Thread - #494/WARN]: at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[16:27:43] [Async Chat Thread - #494/WARN]: at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[16:27:43] [Async Chat Thread - #494/WARN]: at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[16:27:43] [Async Chat Thread - #494/WARN]: at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:990)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3706)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2506)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2675)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2465)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1912)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2020)
[16:27:43] [Async Chat Thread - #494/WARN]: at me.wolfyscript.customcrafting.handlers.DataBaseHandler.getRecipeData(DataBaseHandler.java:166)
[16:27:43] [Async Chat Thread - #494/WARN]: ... 18 more
[16:27:43] [Async Chat Thread - #494/WARN]: at java.base/java.net.SocketOutputStream.socketWrite0(Native Method)
[16:27:43] [Async Chat Thread - #494/WARN]: at java.base/java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:110)
[16:27:43] [Async Chat Thread - #494/WARN]: at java.base/java.net.SocketOutputStream.write(SocketOutputStream.java:150)
[16:27:43] [Async Chat Thread - #494/WARN]: at java.base/java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:81)
[16:27:43] [Async Chat Thread - #494/WARN]: at java.base/java.io.BufferedOutputStream.flush(BufferedOutputStream.java:142)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3688)
[16:27:43] [Async Chat Thread - #494/WARN]: ... 24 more
[16:27:43] [Async Chat Thread - #494/ERROR]: Could not pass event AsyncPlayerChatEvent to CustomCrafting v1.5.3.0
java.lang.NullPointerException: null
at me.wolfyscript.customcrafting.handlers.DataBaseHandler.hasRecipe(DataBaseHandler.java:154) ~[?:?]
at me.wolfyscript.customcrafting.handlers.DataBaseHandler.updateRecipe(DataBaseHandler.java:248) ~[?:?]
at me.wolfyscript.customcrafting.recipes.types.RecipeConfig.saveConfig(RecipeConfig.java:91) ~[?:?]
at me.wolfyscript.customcrafting.gui.recipe_creator.recipe_creators.WorkbenchCreator.lambda$null$3(WorkbenchCreator.java:53) ~[?:?]
at me.wolfyscript.utilities.api.inventory.InventoryAPI.onPreChat(InventoryAPI.java:292) ~[?:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor609.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.15.2.jar:git-Paper-118]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[patched_1.15.2.jar:git-Paper-118]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.15.2.jar:git-Paper-118]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:559) ~[patched_1.15.2.jar:git-Paper-118]
at net.minecraft.server.v1_15_R1.PlayerConnection.chat(PlayerConnection.java:1734) ~[?:git-Paper-118]
at net.minecraft.server.v1_15_R1.PlayerConnection.a(PlayerConnection.java:1649) ~[?:git-Paper-118]
at net.minecraft.server.v1_15_R1.PacketPlayInChat$1.run(PacketPlayInChat.java:41) ~[patched_1.15.2.jar:git-Paper-118]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:834) [?:?]