java.lang.NumberFormatException

tip

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


rprp
tip

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

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

  • FULL PRODUCT VERSION : java version "1.8.0_92" Java(TM) SE Runtime Environment (build 1.8.0_92-b14) Java HotSpot(TM) Client VM (build 25.92-b14, mixed mode) ADDITIONAL OS VERSION INFORMATION : Microsoft Windows [Version 6.1.7601] A DESCRIPTION OF THE PROBLEM : When trying to start a Webstart application generated in NetBeans, using as codebase a local directory and the launch.jnlp file generated by NetBeans (see "Source code for an executable test case:") , javaws.exe throws an exception: java.lang.NumberFormatException: For input string: "\Users\u60ws\Documents\NetBeansProjects\EMCOSClient\dist" STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : Generate a Webstart application in NetBeans 8.1 and try to start it with javaws with codebase being a local directory. EXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - Webstart application should be started ACTUAL - Webstart throws a NumberFormatException ERROR MESSAGES/STACK TRACES THAT OCCUR : java.lang.NumberFormatException: For input string: "\Users\u60ws\Documents\NetBeansProjects\EMCOSClient\dist" 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.sun.deploy.security.DeployManifestChecker.verifyCodebaseEx(Unknown Source) at com.sun.deploy.security.DeployManifestChecker.verifyCodebase(Unknown Source) at com.sun.deploy.security.DeployManifestChecker.verify(Unknown Source) at com.sun.deploy.security.DeployManifestChecker.verify(Unknown Source) at com.sun.javaws.security.AppPolicy.grantUnrestrictedAccess(Unknown Source) at com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResourcesHelper(Unknown Source) at com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResources(Unknown Source) at com.sun.javaws.Launcher.prepareResources(Unknown Source) at com.sun.javaws.Launcher.prepareAllResources(Unknown Source) at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source) at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source) at com.sun.javaws.Launcher.launch(Unknown Source) at com.sun.javaws.Main.launchApp(Unknown Source) at com.sun.javaws.Main.continueInSecureThread(Unknown Source) at com.sun.javaws.Main.access$000(Unknown Source) at com.sun.javaws.Main$1.run(Unknown Source) at java.lang.Thread.run(Thread.java:745) REPRODUCIBILITY : This bug can be reproduced always. ---------- BEGIN SOURCE ---------- NetBeans generated .jnlp file: <?xml version="1.0" encoding="UTF-8" standalone="no"?> <jnlp codebase="file:/C:/Users/u60ws/Documents/NetBeansProjects/EMCOSClient/dist/" href="launch.jnlp" spec="1.0+"> <information> <title>EMCOSClient</title> <vendor>u60ws</vendor> <homepage href=""/> <description>EMCOSClient</description> <description kind="short">EMCOSClient</description> <offline-allowed/> </information> <security> <all-permissions/> </security> <resources> <j2se java-vm-args="-Djnlp.environment=development -Xmx1024m" version="1.7+"/> <jar href="EMCOSClient.jar" main="true"/> <extension href="jnlpcomponent1.jnlp"/> </resources> <application-desc main-class="de.man.mn.pst.emcos.PPVMain"> </application-desc> </jnlp> ---------- END SOURCE ----------
    via by Webbug Group,
  • Java Web Start NetBeans Bug?
    via Stack Overflow by max
    ,
  • Netbeans JNLP Webstart error
    via Stack Overflow by user
    ,
    • java.lang.NumberFormatException: For input string: "\ProyectoOUMA\ouma.administracfdi.Reader\dist" 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.sun.deploy.security.DeployManifestChecker.verifyCodebaseEx(Unknown Source) at com.sun.deploy.security.DeployManifestChecker.verifyCodebase(Unknown Source) at com.sun.deploy.security.DeployManifestChecker.verify(Unknown Source) at com.sun.deploy.security.DeployManifestChecker.verify(Unknown Source) at com.sun.javaws.security.AppPolicy.grantUnrestrictedAccess(Unknown Source) at com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResourcesHelper(Unknown Source) at com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResources(Unknown Source) at com.sun.javaws.Launcher.prepareResources(Unknown Source) at com.sun.javaws.Launcher.prepareAllResources(Unknown Source) at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source) at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source) at com.sun.javaws.Launcher.launch(Unknown Source) at com.sun.javaws.Main.launchApp(Unknown Source) at com.sun.javaws.Main.continueInSecureThread(Unknown Source) at com.sun.javaws.Main.access$000(Unknown Source) at com.sun.javaws.Main$1.run(Unknown Source) at java.lang.Thread.run(Thread.java:745)

    Users with the same issue

    derproggerderprogger
    4 times, last one,
    DavidDavid
    1 times, last one,
    andyglickandyglick
    5 times, last one,
    pulse00pulse00
    1 times, last one,
    Andreas HäberAndreas Häber
    10 times, last one,
    233 more bugmates