com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException

Cannot load connection class because of underlying exception: 'java.lang.NumberFormatException: For input string: "null"'.

Samebug tips2

Java does not handle IPv6 nameservers before 1.8.0_60. Upgrade to the latest JVM.

This is a bug in Wise, updating to v4.10 seems to solve the problem.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web979

  • via ps3mediaserver.org by Unknown author, 1 year ago
    Cannot load connection class because of underlying exception: 'java.lang.NumberFormatException: For input string: "null"'.
  • Cannot load connection class because of underlying exception: 'java.lang.NumberFormatException: For input string: "null"'.
  • via bukkit.org by Unknown author, 11 months ago
    Cannot load connection class because of underlying exception: 'java.lang.NumberFormatException: For input string: "null"'.
  • Stack trace

    • com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Cannot load connection class because of underlying exception: 'java.lang.NumberFormatException: For input string: "null"'. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) 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.NonRegisteringDriver.connect(NonRegisteringDriver.java:314) at java.sql.DriverManager.getConnection(DriverManager.java:571) at java.sql.DriverManager.getConnection(DriverManager.java:215) at code.husky.mysql.MySQL.openConnection(MySQL.java:58) at me.flamboo.WebbedMCAuth.Main.setupDB(Main.java:123) at me.flamboo.WebbedMCAuth.Main.onEnable(Main.java:60) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:356) at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:316) at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:418) at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:382) at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:337) at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:256) at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:528) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NumberFormatException: For input string: "null" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:492) at java.lang.Integer.parseInt(Integer.java:527) at com.mysql.jdbc.NonRegisteringDriver.port(NonRegisteringDriver.java:831) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305) ... 16 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    16 times, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 11 months ago
    240 more bugmates