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

NullPointerException when trying to install Java 8u111 or launching JWS application

XMLWordPrintable

    • x86_64
    • windows_7
    • Verified

      FULL PRODUCT VERSION :
      java version "1.8.0_111"
      Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
      Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)


      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 6.1.7601]

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      No configuration done so far.
      We are using a ZenWorks system image with Windows 7 64 bit and 1 GBit Ethernet connection.

      A DESCRIPTION OF THE PROBLEM :
      We currently want to deploy a new Java Version on a lot of clients using ZenWorks. There's currently Java 7 Update 51 32 bit deployed. So we want to switch to Java 8 Update 111 64 bit (switch from 32 bit to 64 bit).

      We've made a couple of tests, wiping out Java completely, but still getting an error with this stacktrace:



      REGRESSION. Last worked in version 8u92

      ADDITIONAL REGRESSION INFORMATION:
      Was working with Java 8 Update 66 64 and 32 bit.



      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Try to unistall previously installed JRE, then install Java 8u111.
      Or try to launch any JWS application with installed Java 8u111.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Java error message displayed, with the following details.

      java.lang.NullPointerException
                      at com.sun.deploy.config.JfxRuntime.runtimeForJRE(Unknown Source)
                      at com.sun.deploy.config.JREInfo.<init>(Unknown Source)
                      at com.sun.deploy.config.JREInfo.<init>(Unknown Source)
                      at com.sun.deploy.config.JREInfo.initialize(Unknown Source)
                      at com.sun.deploy.config.ClientConfig.refreshProperties(Unknown Source)
                      at com.sun.deploy.config.ClientConfig.init(Unknown Source)
                      at com.sun.deploy.config.WebStartConfig.init(Unknown Source)
                      at com.sun.deploy.config.ClientConfig.<init>(Unknown Source)
                      at com.sun.deploy.config.WebStartConfig.<init>(Unknown Source)
                      at com.sun.javaws.Main.main(Unknown Source)

      ACTUAL -
      Application not launching, stacktrace:

      java.lang.NullPointerException
                      at com.sun.deploy.config.JfxRuntime.runtimeForJRE(Unknown Source)
                      at com.sun.deploy.config.JREInfo.<init>(Unknown Source)
                      at com.sun.deploy.config.JREInfo.<init>(Unknown Source)
                      at com.sun.deploy.config.JREInfo.initialize(Unknown Source)
                      at com.sun.deploy.config.ClientConfig.refreshProperties(Unknown Source)
                      at com.sun.deploy.config.ClientConfig.init(Unknown Source)
                      at com.sun.deploy.config.WebStartConfig.init(Unknown Source)
                      at com.sun.deploy.config.ClientConfig.<init>(Unknown Source)
                      at com.sun.deploy.config.WebStartConfig.<init>(Unknown Source)
                      at com.sun.javaws.Main.main(Unknown Source)


      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      java.lang.NullPointerException
                      at com.sun.deploy.config.JfxRuntime.runtimeForJRE(Unknown Source)
                      at com.sun.deploy.config.JREInfo.<init>(Unknown Source)
                      at com.sun.deploy.config.JREInfo.<init>(Unknown Source)
                      at com.sun.deploy.config.JREInfo.initialize(Unknown Source)
                      at com.sun.deploy.config.ClientConfig.refreshProperties(Unknown Source)
                      at com.sun.deploy.config.ClientConfig.init(Unknown Source)
                      at com.sun.deploy.config.WebStartConfig.init(Unknown Source)
                      at com.sun.deploy.config.ClientConfig.<init>(Unknown Source)
                      at com.sun.deploy.config.WebStartConfig.<init>(Unknown Source)
                      at com.sun.javaws.Main.main(Unknown Source)


      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      Install previous version of Java 8.

      SUPPORT :
      YES

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

              Created:
              Updated:
              Resolved: