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

App shortcut is not valid or disappears after Java upgrade to 1.8

XMLWordPrintable

    • x86
    • os_x

      FULL PRODUCT VERSION :


      ADDITIONAL OS VERSION INFORMATION :
      OS X 10.8.5

      A DESCRIPTION OF THE PROBLEM :
      Sometimes shortcut disappears or not valid after Java upgrade.


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      0) JRE 1.7 latest is installed on Mac(OS X 10.8.5)
      1) Install Java Web start app
      2) Close app
      3) Upgrade JRE to1.8.0-25 version for Mac(OS X 10.8.5)
      4) Try to start app using the desktop shortcut.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Expected that the app will start through desktop shortcut.
      ACTUAL -
      Impossible to execute the 4 step from the above scenario because exception is shown.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      Unable to launch application.
      java.lang.NullPointerException
      at com.sun.javaws.MacOSXLocalInstallHandler.createShortcuts(Unknown Source)
      at com.sun.javaws.LocalInstallHandler.createShortcuts(Unknown Source)
      at com.sun.javaws.Launcher.notifyLocalInstallHandler(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:745)

      REPRODUCIBILITY :
      This bug can be reproduced always.

            aivanov Alexey Ivanov
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: