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

Uninstall applet generates NPE error message with JRE 9

XMLWordPrintable

    • b72
    • x86
    • windows_7

      Install latest available JRE 9 ea b78 (32-bit). Post install the verify install applet from:
      https://www.java.com/en/download/uninstallapplet.jsp
      generates NPE error message.
      java.lang.NullPointerException
      at sun.net.util.URLUtil.getConnectPermission(URLUtil.java:84)
      at sun.awt.SunToolkit.checkPermissions(SunToolkit.java:879)
      at sun.awt.SunToolkit.createImage(SunToolkit.java:745)
      at sun.plugin2.uitoolkit.impl.awt.AWTAnimationPanel2.loadImage(Unknown Source)
      at sun.plugin2.uitoolkit.impl.awt.AWTAnimationPanel2.preloadResources(Unknown Source)
      at sun.plugin2.uitoolkit.impl.awt.AWTAnimationPanel2.doPaint(Unknown Source)
      at sun.plugin2.uitoolkit.impl.awt.AWTAnimationPanel2.run(Unknown Source)
      at java.lang.Thread.run(Thread.java:746)

      Note: Checked this on Windows 7, IE 11 and Firefox (fresh JRE 9 ea b78 install). This seems a regression as the applet behave fine with JRE 8u60.
      From the console log:
      ==================================================================
      Java Plug-in 12.0.2 x86
      Using JRE version 1.9.0-ea-b78 Java HotSpot(TM) Client VM
      User home directory = C:\Users\.................
      ----------------------------------------------------
      c: clear console window
      f: finalize objects on finalization queue
      g: garbage collect
      h: display this help message
      l: dump classloader list
      m: print memory usage
      o: trigger logging
      q: hide console
      r: reload policy configuration
      s: dump system and deployment properties
      t: dump thread list
      v: dump thread stack
      x: clear classloader cache
      0-5: set trace level to <n>
      ----------------------------------------------------
      AWTAnimationPanel.loadImage, cannot create image, caught: java.lang.NullPointerException
      Ignored exception: java.lang.NullPointerException
      JRT INFO: Running Java Removal Applet version: 2.0
      JRT INFO: Browser: Unknown, user agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR

      2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; .NET CLR

      1.1.4322; rv:11.0) like Gecko
      JRT INFO: Java Scrub Version 2.0.0.0
      JRT INFO: User does not have any old versions to be uninstalled
      ==========================================================

            vdrozdov Victor Drozdov (Inactive)
            pardesha Pardeep Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: