title: NullPointerException while launching an application from JNLP with Java 64 bit 1.7.0_06+
body: <p>The following app works perfectly with Java 1.7.0_05 and older:</p>
  
  <pre><code>&lt;jnlp spec="1.0+" codebase="http://localhost/demo/"&gt;
      &lt;information&gt;
          &lt;title&gt;BPI 4.7&lt;/title&gt;
          &lt;vendor&gt;Fox Technical Services Inc.&lt;/vendor&gt;
          &lt;homepage href="/home.html"/&gt;
          &lt;description&gt;Fox Client&lt;/description&gt;
          &lt;description kind="short"&gt;Fox&lt;/description&gt;
          &lt;icon href="base/Fox64.gif" height="64" width="64"/&gt;
      &lt;/information&gt;
      &lt;security&gt;
          &lt;all-permissions/&gt;
      &lt;/security&gt;
      &lt;resources&gt;
          &lt;j2se href="http://java.sun.com/products/autodl/j2se" version="1.6+"/&gt;
          &lt;jar href="base/application.jar" main="true"/&gt;
          &lt;jar href="base/sessions.jar"/&gt;
          &lt;jar href="base/swingSessions.jar"/&gt;
          &lt;jar href="base/sharedClientServer.jar"/&gt;
          &lt;jar href="base/baseLookAndFeelNoDecorations.jar"/&gt;
          &lt;jar href="base/clientCommon2.jar"/&gt;
          &lt;jar href="base/httpProvider.jar"/&gt;
          &lt;jar href="base/swing.jar"/&gt;
          &lt;jar href="base/swingImages.jar"/&gt;
          &lt;jar href="base/glf.jar"/&gt;
          &lt;jar href="base/vnc.jar"/&gt;
          &lt;jar href="thirdPartyLib/TableLayout-bin-jdk1.5-2007-04-21.jar"/&gt;
          &lt;jar href="thirdPartyLib/dbswing.jar"/&gt;
          &lt;jar href="thirdPartyLib/dx.jar"/&gt;
          &lt;jar href="thirdPartyLib/beandt.jar"/&gt;
          &lt;jar href="thirdPartyLib/jnlp.jar"/&gt;
          &lt;jar href="thirdPartyLib/alloy.jar"/&gt;
          &lt;jar href="thirdPartyLib/commons-beanutils.jar"/&gt;
          &lt;jar href="thirdPartyLib/commons-collections-3.1.jar"/&gt;
          &lt;jar href="thirdPartyLib/commons-logging.jar"/&gt;
          &lt;jar href="thirdPartyLib/commons-codec-1.3.jar"/&gt;
          &lt;jar href="thirdPartyLib/commons-lang-2.0.jar" download="lazy"/&gt;
          &lt;jar href="thirdPartyLib/httpclient-4.0-beta2.jar"/&gt;
          &lt;jar href="thirdPartyLib/httpcore-4.0.jar"/&gt;
          &lt;jar href="thirdPartyLib/log4j-1.2.15.jar" download="lazy"/&gt;
          &lt;jar href="thirdPartyLib/jbcl.jar" download="lazy"/&gt;
          &lt;jar href="thirdPartyLib/mail-1.4.jar" download="lazy"/&gt;
          &lt;jar href="thirdPartyLib/activation-1.1.jar" download="lazy"/&gt;
          &lt;jar href="base/javolution.jar" download="lazy"/&gt;
      &lt;/resources&gt;
      &lt;application-desc&gt;
      &lt;/application-desc&gt;
  &lt;/jnlp&gt;
  </code></pre>
  
  <p>When I try to run it with Java1.7.0_06 and newer, I get an exception :</p>
  
  <pre><code>java.lang.NullPointerException
      at java.util.zip.ZipFile.&lt;init&gt;(Unknown Source)
      at java.util.jar.JarFile.&lt;init&gt;(Unknown Source)
      at java.util.jar.JarFile.&lt;init&gt;(Unknown Source)
      at com.sun.javaws.LaunchDownload.getMainClassName(Unknown Source)
      at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
      at com.sun.javaws.Launcher.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
  </code></pre>
  
  <p>The console logs are :</p>
  
  <pre><code>Java Web Start 10.7.2.11
  Using JRE version 1.7.0_07-b11 Java HotSpot(TM) 64-Bit Server VM
  User home directory = C:\Users\val
  ----------------------------------------------------
  c:   clear console window
  f:   finalize objects on finalization queue
  g:   garbage collect
  h:   display this help message
  m:   print memory usage
  o:   trigger logging
  p:   reload proxy configuration
  q:   hide console
  r:   reload policy configuration
  s:   dump system and deployment properties
  t:   dump thread list
  v:   dump thread stack
  0-5: set trace level to &lt;n&gt;
  ----------------------------------------------------
  Match: beginTraversal
  Match: digest selected JREDesc: JREDesc[version 1.6+, heap=-1--1, args=null, href=http://java.sun.com/products/autodl/j2se, sel=false, null, null], JREInfo: JREInfo for index 0:
      platform is: 1.7
      product is: 1.7.0_07
      location is: http://java.sun.com/products/autodl/j2se
      path is: C:\Program Files\Java\jre7\bin\javaw.exe
      args is: null
      native platform is: Windows, amd64 [ x86_64, 64bit ]
      JavaFX runtime is: JavaFX 2.2.1 found at C:\Program Files\Java\jre7\
      enabled is: true
      registered is: true
      system is: true
  
      Match: ignoring maxHeap: -1
      Match: ignoring InitHeap: -1
      Match: digesting vmargs: null
      Match: digested vmargs: [JVMParameters: isSecure: true, args: ]
      Match: JVM args after accumulation: [JVMParameters: isSecure: true, args: ]
      Match: digest LaunchDesc: null
      Match: digest properties: []
      Match: JVM args: [JVMParameters: isSecure: true, args: ]
      Match: endTraversal ..
      Match: JVM args final: 
      Match: Running JREInfo Version    match: 1.7.0.07 == 1.7.0.07
       Match: Running JVM args match: have:&lt;&gt;  satisfy want:&lt;&gt;
  #### Java Web Start Error:
  #### null
  </code></pre>
  
  <p>Any help would be greatly appreciated!</p>