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

JDK Bug System | Webbug Group | 5 months ago
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( at java.lang.Integer.parseInt( at java.lang.Integer.parseInt( at Source) at Source) at Source) at Source) at Source) at Source) at 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$ Source) at 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=""> </application-desc> </jnlp> ---------- END SOURCE ----------

    JDK Bug System | 5 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 | 8 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 | 6 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. rp 4 times, last 2 weeks ago
  2. Handemelindo 6 times, last 2 weeks ago
  3. treefolk 3 times, last 1 month ago
  4. andreeaa marin 2 times, last 1 month ago
  5. eti22 6 times, last 1 month ago
33 more registered users
62 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
    1. java.lang.NumberFormatException.forInputString(
    2. java.lang.Integer.parseInt(
    3. java.lang.Integer.parseInt(
    3 frames
  3. com.sun.deploy
    1. Source)
    2. Source)
    3. Source)
    4. Source)
    4 frames
  4. com.sun.javaws
    1. Source)
    2. Source)
    3. 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$ Source)
    12 frames
  5. Java RT
    1 frame