• Hello Guest! Did you know that ProjectKorra has an official Discord server? A lot of discussion about the official server, development process, and community discussion happens over there. Feel free to join now by clicking the link below.

    Join the Discord Server

Fixed MYSQL Bug

Status
Not open for further replies.

ServerElementals

Verified Member
  • Which plugin you are using
  • Project Korra core
  • Which version of the plugin you are using (Can be found with /bending version)
  • Beta 10 (latest version Beta 10)
  • Where the bug exists (Is it in an ability, a command, etc)
  • When the console sets a players bending, reloads and they leave the game the error occurs.
  • Code:
    16.06 03:28:12 [Server] INFO [03:28:12 INFO]: Bending config reloaded.
    16.06 03:28:12 [Server] INFO [03:28:12 INFO]: [ProjectKorra] [ProjectKorra] Database connection established.
    16.06 03:28:12 [Server] INFO [03:28:12 INFO]: [ProjectKorra] [ProjectKorra] Establishing MySQL Connection...[MySQL] Connection established!
    16.06 03:28:12 [Server] INFO [03:28:12 INFO]: stretco's group set to Air
  • A detailed description of the bug you found.
  • Code:
    16.06 03:28:12 [Server] INFO [03:28:12 WARN]:     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    16.06 03:28:12 [Server] INFO [03:28:12 WARN]:     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    16.06 03:28:12 [Server] INFO [03:28:12 WARN]: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed.
    16.06 03:28:12 [Server] INFO [03:28:12 WARN]:     at java.lang.Thread.run(Thread.java:744)
    16.06 03:28:12 [Server] INFO [03:28:12 WARN]:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    16.06 03:28:12 [Server] INFO [03:28:12 WARN]:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    16.06 03:28:12 [Server] INFO [03:28:12 WARN]:     at org.bukkit.craftbukkit.v1_8_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
    16.06 03:28:12 [Server] INFO [03:28:12 WARN]:     at org.bukkit.craftbukkit.v1_8_R2.scheduler.CraftTask.run(CraftTask.java:71)
    16.06 03:28:12 [Server] INFO [03:28:12 WARN]:     at com.projectkorra.ProjectKorra.Storage.Database$1.run(Database.java:90)
    16.06 03:28:12 [Server] INFO [03:28:12 WARN]:     at com.mysql.jdbc.ConnectionImpl.createStatement(ConnectionImpl.java:2467)
    16.06 03:28:12 [Server] INFO [03:28:12 WARN]:     at com.mysql.jdbc.ConnectionImpl.createStatement(ConnectionImpl.java:2485)
    16.06 03:28:12 [Server] INFO [03:28:12 WARN]:     at com.mysql.jdbc.ConnectionImpl.checkClosed(ConnectionImpl.java:1200)
    16.06 03:28:12 [Server] INFO [03:28:12 WARN]:     at com.mysql.jdbc.ConnectionImpl.throwConnectionClosedException(ConnectionImpl.java:1213)
    16.06 03:28:12 [Server] INFO [03:28:12 WARN]:     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:927)
    16.06 03:28:12 [Server] INFO [03:28:12 WARN]:     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:982)
    16.06 03:28:12 [Server] INFO [03:28:12 WARN]:     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:987)
    16.06 03:28:12 [Server] INFO [03:28:12 WARN]:     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1013)
    16.06 03:28:12 [Server] INFO [03:28:12 WARN]:     at com.mysql.jdbc.Util.getInstance(Util.java:382)
    16.06 03:28:12 [Server] INFO [03:28:12 WARN]:     at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
    16.06 03:28:12 [Server] INFO [03:28:12 WARN]:     at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    16.06 03:28:12 [Server] INFO [03:28:12 WARN]:     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    16.06 03:28:12 [Server] INFO [03:28:12 WARN]:     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    16.06 03:28:12 [Server] INFO [03:28:12 WARN]:     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    16.06 03:28:12 [Server] INFO [03:28:12 WARN]: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed.
    16.06 03:28:12 [Server] INFO [03:28:12 INFO]: Bending config reloaded.
    16.06 03:28:12 [Server] INFO [03:28:12 INFO]: [ProjectKorra] [ProjectKorra] Database connection established.
    16.06 03:28:12 [Server] INFO [03:28:12 INFO]: [ProjectKorra] [ProjectKorra] Establishing MySQL Connection...[MySQL] Connection established!
    16.06 03:28:12 [Server] INFO [03:28:12 INFO]: stretco's group set to Air
 
Status
Not open for further replies.
Top