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 GitHub by lasercar
, 1 year ago
For input string: "0-SNAPSHOT"
via coderanch.com by Unknown author, 2 years ago
via symphonic by nikraub
, 2 years ago
via GitHub by DmitriyRomanov
, 2 years ago
For input string: "1448439908.617"
via JIRA by Alan Williams, 2 years ago
via Coderanch by Dave Alvarado, 1 year ago
For input string: "aaa"
java.lang.NumberFormatException: For input string: "0-SNAPSHOT"	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)	at java.lang.Integer.parseInt(Integer.java:580)	at java.lang.Integer.parseInt(Integer.java:615)	at com.plotsquared.sponge.SpongeMain.getPluginVersion(SpongeMain.java:175)	at com.intellectualcrafters.plot.PS.(PS.java:138)	at com.plotsquared.sponge.SpongeMain.onServerAboutToStart(SpongeMain.java:137)	at org.spongepowered.common.event.listener.GameAboutToStartServerEventListener_SpongeMain_onServerAboutToStart23.handle(Unknown Source)	at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95)	at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:349)	at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:390)	at org.spongepowered.mod.SpongeMod.onStateEvent(SpongeMod.java:215)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)	at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)	at com.google.common.eventbus.EventBus.post(EventBus.java:275)	at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:239)	at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:217)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)	at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)	at com.google.common.eventbus.EventBus.post(EventBus.java:275)	at net.minecraftforge.fml.common.LoadController.redirect$onPost$0(LoadController.java:53)	at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:142)	at net.minecraftforge.fml.common.Loader.serverAboutToStart(Loader.java:908)	at net.minecraftforge.fml.common.FMLCommonHandler.handleServerAboutToStart(FMLCommonHandler.java:287)	at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:264)	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:431)	at java.lang.Thread.run(Thread.java:745)