Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5042030

javawebstart hang if jar contains no real entries (jar of empty directory)

XMLWordPrintable

    • b51
    • generic, x86
    • generic, windows_xp

      report from tiger CAP customer: (problem do not exist in 1.4.2)

      > -------- Original Message --------
      > Subject: Java Web Start Feedback -
      > Date: Mon, 03 May 2004 17:11:30 -0700 (PDT)
      > From: Keith Lea <###@###.###>
      > Reply-To: ###@###.###
      > To: ###@###.###
      >
      >
      >E-mail Address: ###@###.###
      >General: My Java Web Start program won't launch on my computer or two other computers I've tried. No error dialog appears, the application just doesn't start. The application does run from a command line.
      >Platform: WinXP-Home-Edition WinXP-Professional-Edition
      >Browser: IE6 Mozilla
      >JRE version: Tiger JDK 1.5 CAP build 48
      >JNLP location: http://kano.net/partypad/run/broken/partypad.jnlp
      >Error messages: No, there is no error dialog or anything. The splash screen comes up saying "Party Pad / Party Pad Inc." but nothing happens after that, no error message.
      >Instructions to reproduce the problem: Just open that JNLP file with Tiger CAP build b48. If you get something more than a hung JWS application start dialog, please let me know, but that's what happens to me on all 3 computers.
      >
      >

      The real problem is because we throw NPE on a jar with no real entries:

      > network: Found in cache: DisckCacheEntry[R;http://kano.net/partypad/run/broken/p
      > artypad.jar;null;1083628621000;C:\Documents and Settings\ngthomas\Application Da
      > ta\Sun\Java\Deployment\cache\javaws\http\Dkano.net\P80\DMpartypad\DMrun\DMbroken
      > \RMpartypad.jar;null]
      > Exception in thread "javawsApplicationMain" java.lang.NullPointerException
      > at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(LaunchDownlo
      > ad.java:1015)
      > at com.sun.javaws.LaunchDownload.checkSignedResources(LaunchDownload.jav
      > a:933)
      > at com.sun.javaws.Launcher.continueLaunch(Launcher.java:766)
      > at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:468)
      > at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:218)
      > at com.sun.javaws.Launcher.run(Launcher.java:165)
      > at java.lang.Thread.run(Unknown Source)
      >

            ngthomas Thomas Ng (Inactive)
            ngthomas Thomas Ng (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: