JDK-8065374 : Java2Demo applet malfunctions after restart in appletviewer
  • Type: Bug
  • Component: client-libs
  • Sub-Component: demo
  • Affected Version: 8u25,9
  • Priority: P3
  • Status: Resolved
  • Resolution: Duplicate
  • OS: generic
  • Submitted: 2014-11-19
  • Updated: 2015-07-24
  • Resolved: 2015-07-24
Related Reports
Duplicate :  
Description
Java2Demo occasionally throws "java.lang.NullPointerException" on "Stop"/"Restart" in appletviewer when the just in time (JIT) compiler is disabled. The issue with NPE could not be reproduced by the user with the enabled JIT compiler.

Full JRE/JDK Versions
---------------------
All: Tested with the latest JDK 8 (JDK 8u25), and all the way back to JDK 5.0

System Configuration
--------------------
Generic: Tested on Windows and Linux

Testcase & Reproduction Instructions
------------------------------------
1. Run: appletviewer Java2Demo.html
2. After applet has started, click Applet->Restart
3. Click the tabs and note that the program is not working properly - the tabs do not switch.
Comments
Closing the bug as a duplicate of JDK-8065081.
24-07-2015

The bug was reproduced on: 1. MS Windows 7 OS with: - JDK 9 b68 and "Java2Demo" from JDK 9 b68 Demos. - JDK 8u45 b15 and "Java2Demo" from JDK 8u45 b15 Demos. 2. Linux OS with: - JDK 9 b68 and "Java2Demo" from JDK 9 b68 Demos. - JDK 8u45 b14 and "Java2Demo" from JDK 8u45 b14 Demos. This bug is a duplicate of JDK-8065081.
19-06-2015