FULL PRODUCT VERSION :
1.7.0_25-b15 Java HotSpot(TM) 64-Bit Server VM
ADDITIONAL OS VERSION INFORMATION :
Mac OS X 10.8.4 (12E55)
EXTRA RELEVANT SYSTEM CONFIGURATION :
Both, Safari and Firefox, exhibit the same bug.
A DESCRIPTION OF THE PROBLEM :
In a single web page, there are mutiple similiar applets which communicate to each other right after start-up. The applets use the same common jar-file path.
Prior to any user interaction, the applets throw exceptions and freeze. The probability increases with number of applets and approaches 100% with about 10 applets or more.
This worked before at 1.4, 1.5 and 1.6 (with even hundreds of applets in one page) and stopped working with the first release of 1.7.
Please inspect code and fix.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
The bug appears in code and on a web site which is our customer's property. We cannot share.
It should be able to trace the cause by looking at the stack trace and inspecting code to figure out why the object could be null. The least measure would be to catch the exception rather than let the applet crash (note that there is none of our code involved in the stack trace, so we cannot catch the exception ourself).
We reported the bug for an earlier release of Java 7 already. Oracle came back to us asking how to repeat it. As I said, this can't be done. Inspect the code, please.
This is a REGRESSION bug vs. Java 1.6.
The stack trace is added as text in field " Error Message(s): "
EXPECTED VERSUS ACTUAL BEHAVIOR :
Applet startup w/o crash
Applet crashing its JVM
ERROR MESSAGES/STACK TRACES THAT OCCUR :
Exception in thread " AWT-EventQueue-2 " java.lang.NullPointerException
at sun.plugin2.main.client.PluginEmbeddedFrame.setBounds(Unknown Source)
at com.sun.deploy.uitoolkit.impl.awt.AWTFrameWindow$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
This bug can be reproduced often.
CUSTOMER SUBMITTED WORKAROUND :
The customer (a Chemical Corporation) ceased to roll out Java 7.