JDK-8149009 : NPE in Mac OS X 'Verify Java' applet
  • Type: Bug
  • Component: deploy
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: os_x
  • CPU: x86_64
  • Submitted: 2016-02-04
  • Updated: 2016-04-27
  • Resolved: 2016-04-27
Related Reports
Duplicate :  
Description
JRE 8u71 is already installed on the system.
Installed JRE 9 ea b103. Run the Java verify applet
www.java.com/verify

Dialog appears with message "Your Java version is out of date"
(See attached screenshot)
with three options -
Later 	Block 	Update

Now, if you click on Update -> Bring you to Download Java for MAC OS X
Recommended Version 8 Update 71 

If you click on Later -> confirms that you have recommended java version 9 ea.
Congratulations!
You have the recommended Java installed (9-ea).
(See attached screenshot)
Comments
Deploy badly broken in JDK9 b113 - IIRC will be operative again with b115
19-04-2016

Raji's eval indicates the issue is with deploy, in JDK9, b113.
19-04-2016

Applet throws Null pointer exception when running against 9-ea+113
11-04-2016

We tried the build from jre.us.oracle.com/java/re/jdk/9/promoted/all/113/bundles/ and can confirm that running any applet throws null pointer exception and the issue is not specific to Verify applet. Please see the attached screen shot when running applet examples from docs.oracle. Tried the following applets and they all fail with Null pointer exception https://docs.oracle.com/javase/tutorial/deployment/applet/examplesIndex.html http://www.java.com/en/download/uninstallapplet.jsp http://www.java.com/en/download/installed8.jsp Other issue we noticed is that We cannot open the java Control Panel. Nothing happens when we click on the Java Control Panel.
11-04-2016

The dialog "Java update needed" is not coming from the verify applet. Some browsers do detect for latest Java version and presents user with the update dialog. We don't have any control of the dialog - https://support.apple.com/en-us/HT202698 As per the link - Allow: Websites set to "Allow" can run the Java web plug-in as long as the installed version of Java has no known critical security issues. If an update is available for Java, Safari directs you to download the latest version. 8u73 went live on 2/4/16 and browsers must be picking up that as the latest version ? From the second screen shot attached, you can confirm that the verify applet detects that the user has the latest version, 9-ea.
11-04-2016

If it failed with a particular build, can you please provide the details like Java Console log and web page messaging ?
11-04-2016

Can you confirm that the applet ran fine with an earlier build like JRE 9 ea b103 but it failed with JRE 9 ea b113 ?
11-04-2016

Checked this for 9 ea b113 and the verify applet failed with java.lang.NullPointerException at sun.reflect.NativeMethodAccessImpl.invoke0(java.base@9-ea/NativeMethod)
11-04-2016