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

JNLP does not shut down when app is closed

XMLWordPrintable

    • x86
    • windows_7

      FULL PRODUCT VERSION :
      java 1.8.0_45

      ADDITIONAL OS VERSION INFORMATION :
      Windows 7 x86

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Only fails to exit on Win 7 x86. It works properly on x64 versions.

      A DESCRIPTION OF THE PROBLEM :
      local Java jnlp program runs and closes correctly under Windows 7 x64
      but the same program running local Java jnlp always fails to close when run on a computer running Windows 7 x86

      problem starts with java 1.7.0_65 and continues with the latest versions of java 7 or 8

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      run the jnlp app and close it by clicking on the X in the upper right corner of the window.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      jp2launcher.exe should have closed.
      ACTUAL -
      jp2launcher.exe continues to run

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      Plugin2Manager calling stopFailed() because of exception during AppContext.dispose()
      Plugin2Manager calling stopFailed() because of displayable window javax.swing.JFrame[frame0,0,0,1040x558,hidden,layout=java.awt.BorderLayout,title=PCS Remote Display,normal,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,3,25,1034x530,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
      Exception in thread "Thread-16" java.lang.NullPointerException
      at sun.plugin2.applet.Plugin2Manager.destroyAppContext(Unknown Source)
      at sun.plugin2.applet.JNLP2Manager.destroyAppContext(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager.cleanupAppContext(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager.shutdownAppContext(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager.stop(Unknown Source)
      at sun.plugin2.applet.viewer.JNLP2Viewer$2$1.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)


      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      none. run the app only on x64 operating system

            pardesha Pardeep Sharma
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: