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

NullPointerException is thrown when -timestamp option with javaws is used on windows

XMLWordPrintable

    • b52
    • generic
    • generic
    • Verified

      JDK-Info:
      ---------
      java version "1.6.0-ea"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b48)
      Java HotSpot(TM) Client VM (build 1.6.0-ea-b48, mixed mode)


      Operating System:
      -----------------
      Generic


      Steps to Reproduce:
      -------------------
      1) Install Jre
      2) Clean cache
      3) Launch the following command to import a JNLP application
      ./javaws -timestamp "08/29/05 24:40 PM" -import http://java.sun.com/products/javawebstart/apps/mg.jnlp

      4) Open Cache viewer
      In case of solaris/linux/windows machines, the entry is not listed under Applications


      On windows When application is imported, following NullPointerException is thrown:

      java.lang.NullPointerException
      at com.sun.javaws.IcoEncoder.getIconPath(Unknown Source)
      at com.sun.javaws.IcoEncoder.getIconPath(Unknown Source)
      at com.sun.javaws.WinInstallHandler.getIconPath(Unknown Source)
      at com.sun.javaws.WinInstallHandler.registerWithInstallPanel(Unknown Source)
      at com.sun.javaws.LocalInstallHandler.install(Unknown Source)
      at com.sun.javaws.Launcher.notifyLocalInstallHandler(Unknown Source)
      at com.sun.javaws.Launcher.prepareLaunchFile(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$1.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)


      Expected Behavior:
      ------------------
      The application should be imported into cache successfully

            herrick Andy Herrick (Inactive)
            rkumarsunw Ram Kumar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: