title: Netbeans "Unable to launch the application" on Webstart
body: <p>I've tried copying my project to a new location, messing with project properties, copying the file location and pasting it in the jnlp and nothing works. I'm losing my mind here.</p>
  
  <p>Exception tab:</p>
  
  <pre><code>java.lang.NumberFormatException: For input string: "\Users\ak058214\OneDrive"
      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:748)
  </code></pre>
  
  <p>Launch File Tab/launch.jnlp:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&gt;
  &lt;jnlp codebase="file:/C:/Users/ak058214/OneDrive%20-%20Cerner%20Corporation/Documents/NetBeansProjects/CommerceBankApplication/dist/" href="launch.jnlp" spec="1.0+"&gt;
      &lt;information&gt;
          &lt;title/&gt;
          &lt;vendor/&gt;
          &lt;homepage href=""/&gt;
          &lt;description/&gt;
          &lt;description kind="short"/&gt;
      &lt;/information&gt;
      &lt;update check="always"/&gt;
      &lt;security&gt;
  &lt;all-permissions/&gt;
  &lt;/security&gt;
      &lt;resources&gt;
          &lt;j2se version="1.8+"/&gt;
          &lt;jar href="CommerceBankApplication.jar" main="true"/&gt;
      &lt;jar href="lib/mysql-connector-java-5.1.47.jar"/&gt;
  &lt;/resources&gt;
      &lt;application-desc main-class="CommerceBankAppUI.Main"&gt;
      &lt;/application-desc&gt;
  &lt;/jnlp&gt;
  </code></pre>