java.lang.NumberFormatException: For input string: "\Users\u60ws\Documents\NetBeansProjects\EMCOSClient\dist"

JDK Bug System | Webbug Group | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    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 ----------

    JDK Bug System | 7 months ago | Webbug Group
    java.lang.NumberFormatException: For input string: "\Users\u60ws\Documents\NetBeansProjects\EMCOSClient\dist"
  2. 0

    "Cannot start application" in NetBeans using Java Web Start

    Stack Overflow | 10 months ago | Juan_Carlos
    java.lang.NumberFormatException: For input string: "\Users\JuanCarlos\Documents\NetBeansProjects\HolaMundo\dist"
  3. 0

    How to resolve java.lang.NumberFormatException: For input string

    Stack Overflow | 9 months ago | Juan Carlos
    java.lang.NumberFormatException: For input string: "\ProyectoOUMA\ouma.administracfdi.Reader\dist"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    .Jar file runs in netbeans but not when opened outside

    Stack Overflow | 3 years ago | Cameron Roberson
    java.lang.NumberFormatException: For input string: "\Users\Camtronius\Documents\NetBeansProjects\SonomaRoller\dist"
  6. 0

    Java Web Start NumberFormatException while running Jar application

    Stack Overflow | 3 years ago | Indigo
    java.lang.NumberFormatException: For input string: "\Tools_Dev\TestApp\dist"

  1. Andreas Häber 10 times, last 2 weeks ago
  2. Indri Yunita 3 times, last 3 weeks ago
  3. Eric 2 times, last 4 weeks ago
  4. tomthomas 4 times, last 4 weeks ago
  5. justCodeit 2 times, last 2 months ago
40 more registered users
55 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NumberFormatException

    For input string: "\Users\u60ws\Documents\NetBeansProjects\EMCOSClient\dist"

    at java.lang.NumberFormatException.forInputString()
  2. Java RT
    Integer.parseInt
    1. java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
    2. java.lang.Integer.parseInt(Integer.java:580)
    3. java.lang.Integer.parseInt(Integer.java:615)
    3 frames
  3. com.sun.deploy
    DeployManifestChecker.verify
    1. com.sun.deploy.security.DeployManifestChecker.verifyCodebaseEx(Unknown Source)
    2. com.sun.deploy.security.DeployManifestChecker.verifyCodebase(Unknown Source)
    3. com.sun.deploy.security.DeployManifestChecker.verify(Unknown Source)
    4. com.sun.deploy.security.DeployManifestChecker.verify(Unknown Source)
    4 frames
  4. com.sun.javaws
    Main$1.run
    1. com.sun.javaws.security.AppPolicy.grantUnrestrictedAccess(Unknown Source)
    2. com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResourcesHelper(Unknown Source)
    3. com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResources(Unknown Source)
    4. com.sun.javaws.Launcher.prepareResources(Unknown Source)
    5. com.sun.javaws.Launcher.prepareAllResources(Unknown Source)
    6. com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
    7. com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
    8. com.sun.javaws.Launcher.launch(Unknown Source)
    9. com.sun.javaws.Main.launchApp(Unknown Source)
    10. com.sun.javaws.Main.continueInSecureThread(Unknown Source)
    11. com.sun.javaws.Main.access$000(Unknown Source)
    12. com.sun.javaws.Main$1.run(Unknown Source)
    12 frames
  5. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame