java.lang.NumberFormatException

For input string: "0-SNAPSHOT"

Samebug tips2

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


rprp

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


rafaelrafael

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

Solutions on the web4689

  • via GitHub by lasercar
    ,
  • via Unknown by Hendy Irawan,
  • Stack trace

    • java.lang.NumberFormatException: For input string: "0-SNAPSHOT" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)[?:1.8.0_92-internal] at java.lang.Integer.parseInt(Integer.java:580)[?:1.8.0_92-internal] at java.lang.Integer.parseInt(Integer.java:615)[?:1.8.0_92-internal] at com.plotsquared.sponge.SpongeMain.getPluginVersion(SpongeMain.java:175)[SpongeMain.class:?] at com.intellectualcrafters.plot.PS.<init>(PS.java:138)[PS.class:?] at com.plotsquared.sponge.SpongeMain.onServerAboutToStart(SpongeMain.java:137)[SpongeMain.class:?] at org.spongepowered.common.event.listener.GameAboutToStartServerEventListener_SpongeMain_onServerAboutToStart23.handle(Unknown Source)[?:?] at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95)[RegisteredListener.class:1.10.2-2052-5.0.0-BETA-1680] at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:349)[SpongeModEventManager.class:1.10.2-2052-5.0.0-BETA-1680] at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:390)[SpongeModEventManager.class:1.10.2-2052-5.0.0-BETA-1680] at org.spongepowered.mod.SpongeMod.onStateEvent(SpongeMod.java:215)[SpongeMod.class:1.10.2-2052-5.0.0-BETA-1680] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_92-internal] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_92-internal] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_92-internal] at java.lang.reflect.Method.invoke(Method.java:498)[?:1.8.0_92-internal] at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)[minecraft_server.1.10.2.jar:?] at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)[minecraft_server.1.10.2.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)[minecraft_server.1.10.2.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)[minecraft_server.1.10.2.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:275)[minecraft_server.1.10.2.jar:?] at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:239)[LoadController.class:?] at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:217)[LoadController.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_92-internal] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_92-internal] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_92-internal] at java.lang.reflect.Method.invoke(Method.java:498)[?:1.8.0_92-internal] at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)[minecraft_server.1.10.2.jar:?] at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)[minecraft_server.1.10.2.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)[minecraft_server.1.10.2.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)[minecraft_server.1.10.2.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:275)[minecraft_server.1.10.2.jar:?] at net.minecraftforge.fml.common.LoadController.redirect$onPost$0(LoadController.java:53)[LoadController.class:?] at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:142)[LoadController.class:?] at net.minecraftforge.fml.common.Loader.serverAboutToStart(Loader.java:908)[Loader.class:?] at net.minecraftforge.fml.common.FMLCommonHandler.handleServerAboutToStart(FMLCommonHandler.java:287)[FMLCommonHandler.class:?] at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:264)[ld.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:431)[MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:745)[?:1.8.0_92-internal]

    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

    rprp
    2 times, last one
    derproggerderprogger
    4 times, last one
    DavidDavid
    Once,
    andyglickandyglick
    5 times, last one
    pulse00pulse00
    Once,
    236 more bugmates