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

Samebug tips

  1. ,

    You try to parse a String that contains non-numeric characters to an int. The string must contain decimal characters only, optionally beginning with a + or - sign.

  2. ,

    Can occur when you try to convert a String to a numeric value but the String is not well formatted for the conversion.

Solutions on the web

via bukkit.org by Unknown author, 1 year ago
Cannot load connection class because of underlying exception: 'java.lang.NumberFormatException: For input string: "null"'.
via GitHub by elipoke
, 7 months ago
Cannot load connection class because of underlying exception: 'java.lang.NumberFormatException: For input string: "null"'.
via Stack Overflow by Unknown author, 2 years ago
No operations allowed after connection closed.
via wampserver.com by Unknown author, 1 year ago
Could not create connection to database server. Attempted reconnect 3 times. Giving up.
via GitHub by piedrahitac
, 2 years ago
No operations allowed after connection closed.
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)	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)