JDK-7035314 : Applet works in 1.6.0_23 or previous versions. Does not work in 1.6.0_24 for IE.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6u24
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_vista
  • CPU: x86
  • Submitted: 2011-04-09
  • Updated: 2012-03-20
  • Resolved: 2011-05-16
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :
Java version 1.6.0_24

ADDITIONAL OS VERSION INFORMATION :
Windows XP
Windows Vista

A DESCRIPTION OF THE PROBLEM :
I have a applet which works fine in Firefox, Chrome and Internet Explorer (IE) for version 1.6.0_23 and previous versions.
In version 1.6.0_24 the applet still works fine in Firefox and Chrome but it does not work in Internet Explorer.

Sometimes error messages occurs sometimes the applet constantly reloads.

I have tested the applet in version 6, 7 and 8 of Internet Explorer but it is the same error.


STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
The applet can be found here:
http://www.vaxjook.se/motionsorientering/test/index_java.html

All the necessary files can be downloaded from here:
http://www.vaxjook.se/motionsorientering/test/Applet9.zip

The applet files can also be found here:
http://www.vaxjook.se/motionsorientering/test/Applet9.java

http://www.vaxjook.se/motionsorientering/test/Applet9$1.class
http://www.vaxjook.se/motionsorientering/test/Applet9$2.class
http://www.vaxjook.se/motionsorientering/test/Applet9$DrawBackground.class
http://www.vaxjook.se/motionsorientering/test/Applet9.class

http://www.vaxjook.se/motionsorientering/test/Get_data.class
http://www.vaxjook.se/motionsorientering/test/getTheDate.class
http://www.vaxjook.se/motionsorientering/test/TextIO.class

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The expected result can be seen if the applet is loaded in Mozilla Firefox or Google Chrome.
ACTUAL -
The actual result can be seen if the applet is loaded in Mozilla Firefox or Google Chrome.

ERROR MESSAGES/STACK TRACES THAT OCCUR :
Sometimes there are error messages other times not. This is an example of the error log:

Exception in thread "AWT-EventQueue-2" java.lang.InternalError: couldn't create component peer
	at sun.awt.windows.WComponentPeer.checkCreation(Unknown Source)
	at sun.awt.windows.WComponentPeer.<init>(Unknown Source)
	at sun.awt.windows.WCanvasPeer.<init>(Unknown Source)
	at sun.awt.windows.WPanelPeer.<init>(Unknown Source)
	at sun.awt.windows.WWindowPeer.<init>(Unknown Source)
	at sun.awt.windows.WFramePeer.<init>(Unknown Source)
	at sun.awt.windows.WEmbeddedFramePeer.<init>(Unknown Source)
	at sun.awt.windows.WToolkit.createEmbeddedFrame(Unknown Source)
	at sun.awt.windows.WEmbeddedFrame.addNotify(Unknown Source)
	at sun.plugin2.main.client.PluginEmbeddedFrame.addNotify(Unknown Source)
	at sun.awt.windows.WEmbeddedFrame.<init>(Unknown Source)
	at sun.plugin2.main.client.PluginEmbeddedFrame.<init>(Unknown Source)
	at sun.plugin2.main.client.PluginMain$StartAppletRunner.run(Unknown Source)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$000(Unknown Source)
	at java.awt.EventQueue$1.run(Unknown Source)
	at java.awt.EventQueue$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)

REPRODUCIBILITY :
This bug can be reproduced always.

---------- BEGIN SOURCE ----------
All the necessary files can be downloaded from here:
http://www.vaxjook.se/motionsorientering/test/Applet9.zip
---------- END SOURCE ----------

CUSTOMER SUBMITTED WORKAROUND :
Not found a workaround...

Comments
EVALUATION I do not see any issues in Java Console. The Applet does not do anything on Explorer amd Firefox. The page containts a java script code that invokes facebook urls, the both browsers just hangs with the provided URL. It is impossible to compile the program from sources because GetData source is missed. Possibly brosers hang because of GetData logic or the script. Please provide less complicated example or at least all sources to build any example that you are providing.
21-04-2011

EVALUATION InternalError in a componet peer, reassigned to AWT
20-04-2011