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

NullPointerException thrown when Shortcut is created for JNLP Appln on Solaris

XMLWordPrintable

    • b38
    • generic
    • generic
    • Verified


      JDK-Info:
      ---------
      Mustang b36 (PIT)
      /net/sqesvr-nfs.sfbay/global/nfs/deployment5/pit_builds/solaris-sparc/jre160_pit.sh(jdk160_pit.sh)


      System-Info:
      ------------
      Solaris (JDS)


      Steps to Reproduce:
      -------------------
      1) Install JDK
      2) Clean cache
      3) Import/Launch a JNLP Application
      (./javaws http://java.sun.com/products/javawebstart/apps/mg.jnlp)
      4) Click skip to avoid shortcut creation
      5) Launch Cache viewer (./javaws -viewer)
      6) Click on "Install Shortcut"

      NullPointerException is thrown:

      Exception occurred during event dispatching:
      java.lang.NullPointerException
      at com.sun.javaws.UnixInstallHandler.getMenuEntryDirPath(UnixInstallHandler.java:389)
      at com.sun.javaws.UnixInstallHandler.createStartMenuShortcut(UnixInstallHandler.java:277)
      at com.sun.javaws.UnixInstallHandler.createShortcuts(UnixInstallHandler.java:194)
      at com.sun.javaws.LocalInstallHandler.installShortcuts(LocalInstallHandler.java:554)
      at com.sun.javaws.ui.CacheViewer.installApplication(CacheViewer.java:484)
      at com.sun.javaws.ui.CacheViewer$6.actionPerformed(CacheViewer.java:310)


      ###@###.### 2005-05-04 08:44:45 GMT

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: