java - MySQLNonTransientConnectionException when getting player stats -
i'm storing player stats minigame in sql database , i'm getting following error while loading stats: com.mysql.jdbc.exceptions.jdbc4.mysqlnontransientconnectionexception: no operations allowed after connection closed. [23:37:09] [server thread/warn]: @ sun.reflect.nativeconstructoraccessorimpl.newinstance0(native method) [23:37:09] [server thread/warn]: @ sun.reflect.nativeconstructoraccessorimpl.newinstance(unknown source) [23:37:09] [server thread/warn]: @ sun.reflect.delegatingconstructoraccessorimpl.newinstance(unknown source) [23:37:09] [server thread/warn]: @ java.lang.reflect.constructor.newinstance(unknown source) [23:37:09] [server thread/warn]: @ com.mysql.jdbc.util.handlenewinstance(util.java:425) [23:37:09] [server thread/warn]: @ com.mysql.jdbc.util.getinstance(util.java:408) [23:37:09] [server thread/warn]: @ com.mysql.jdbc.sqlerror.createsqlexception(sqlerror.java:918) [23:37:09] [server thread/warn]: @ com.mysql.jdbc.sqlerror.create...