java.lang.NumberFormatException: null

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

,

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.

,

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 Oracle Community by 807601, 4 months ago
via Coderanch by sam pearce, 1 year ago
via Oracle Community by 807553, 1 year ago
via Stack Overflow by Unknown author, 2 years ago
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:542)
at java.lang.Integer.parseInt(Integer.java:615)
at skinsrestorer.shared.utils.YamlConfig.getInt(YamlConfig.java:68)
at skinsrestorer.shared.storage.ConfigStorage.init(ConfigStorage.java:49)
at skinsrestorer.bukkit.SkinsRestorer.onEnable(SkinsRestorer.java:87)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:292)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:319)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:407)
at org.bukkit.craftbukkit.v1_9_R2.CraftServer.loadPlugin(CraftServer.java:358)
at org.bukkit.craftbukkit.v1_9_R2.CraftServer.enablePlugins(CraftServer.java:318)
at net.minecraft.server.v1_9_R2.DedicatedServer.init(DedicatedServer.java:205)
at net.minecraft.server.v1_9_R2.MinecraftServer.run(MinecraftServer.java:573)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Once, 4 days ago
18 times, 1 week ago
Once, 1 month ago
Once, 1 month ago
Once, 2 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.