-
Bug
-
Resolution: Not an Issue
-
P3
-
None
-
5.0u5
-
x86
-
windows_xp
Applets are failing with Sun VM and passing with MSVM with all 1.5.0_XX jdks on Win XP Home. These tests were done by Applabs where update release team has outsourced applet compatibility testing. I am not able to reproduce these failures in sun swan because of the firewall. This is not regression.
How to Reproduce:
================
Applet Number1:
--------------
Install any 1.5.0_XX jre and follow the following steps,
1. Browse to URL provided. http://www.funcomm.com/Face/Face.html
2. (Face Maker)
3. Applet will automatically load.
4. Review the instructions provided if necessary.
5. Manipulate the applet testing all features and functionality.
6. Attempt to resize the applet/browser window.
7. Reload the applet by holding down the 'Shift' key and clicking the refresh button.
8. Open another instance of the applet using 'Ctrl+N'
9. Close all applet/browser windows to terminate the applet.
10. Check the Java Console for warnings/errors.
with Sun VM :
java.lang.ArrayIndexOutOfBoundsException: 7
at Face.setParam(Face.java)
at Face.<init>(Face.java)
at FaceList.start(FaceList.java)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
basic: Exception: java.lang.ArrayIndexOutOfBoundsException: 7
java.lang.ArrayIndexOutOfBoundsException: 7
at Face.setParam(Face.java)
at Face.<init>(Face.java)
at FaceList.start(FaceList.java)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
In MSVM:
While loading the applet, observed an exception in java console
Exception occurred during event dispatching:
java.lang.ClassNotFoundException: SourceViewer
at com/ms/vm/loader/URLClassLoader.loadClass
at java/lang/ClassLoader.loadClassInternal
at FaceEditor.handleEvent
at java/awt/Component.postEvent
at java/awt/Component.postEvent
at java/awt/Component.postEvent
at java/awt/Component.dispatchEventImpl
at java/awt/Component.dispatchEvent
at java/awt/EventDispatchThread.run
With MSVM :
No Exceptions.
Applet Number 2:
===============
1. Go to URL http://www.snibbe.com/scott/dynamic/gravilux/gravilux.html
2. (Gravilux)
3. Interact with the applet by clicking and moving the mouse. Dots will scatter, move and rearrange.
4. Reload the applet by holding down the 'Shift' key and clicking refresh.
5. Attempt to resize the browser/applet window.
6. Open another instance of the applet in new window using 'Ctrl+N'
7. Check the Java Console for warnings/errors.
8. Close the applet/browser windows to terminate the applet
With SunVM:
basic: Unregistered modality listener
Exception in thread "Thread-12" java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThread)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at sun.applet.AppletSecurity.checkAccess(Unknown Source)
at java.lang.Thread.checkAccess(Unknown Source)
at java.lang.Thread.stop(Unknown Source)
at Gravilux.run(Gravilux.java)
at java.lang.Thread.run(Unknown Source)
With MS VM:
No Exceptions.
Observation:
------------
These tests are failing with 1.5.0_05-b04 and also with 1.5.0_04-b05.
I have tried Second applet at home off swan and when holding the shift and refresh for more than once then in the console there is an exception. This is on WindowsXP-pro and tested with Tiger FCS. Exception I got is Null Pointer Exception. Even after the exception I was able to move the mouse and play the game. If you think this exception is not an issue then I can close this bug. But Applabs are still saying the same they have exception with Sun VM and no exception with MS VM. Here is the final mail from them,
Hi Srilatha,
We have tested Applet B on both JDK 5.0 FCS and 1.5.0_06-b02
and exception is displayed on both.
On MSVM for Applet B, there is no exception displayed in the console.
Thanks,
Rajesh.
How to Reproduce:
================
Applet Number1:
--------------
Install any 1.5.0_XX jre and follow the following steps,
1. Browse to URL provided. http://www.funcomm.com/Face/Face.html
2. (Face Maker)
3. Applet will automatically load.
4. Review the instructions provided if necessary.
5. Manipulate the applet testing all features and functionality.
6. Attempt to resize the applet/browser window.
7. Reload the applet by holding down the 'Shift' key and clicking the refresh button.
8. Open another instance of the applet using 'Ctrl+N'
9. Close all applet/browser windows to terminate the applet.
10. Check the Java Console for warnings/errors.
with Sun VM :
java.lang.ArrayIndexOutOfBoundsException: 7
at Face.setParam(Face.java)
at Face.<init>(Face.java)
at FaceList.start(FaceList.java)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
basic: Exception: java.lang.ArrayIndexOutOfBoundsException: 7
java.lang.ArrayIndexOutOfBoundsException: 7
at Face.setParam(Face.java)
at Face.<init>(Face.java)
at FaceList.start(FaceList.java)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
In MSVM:
While loading the applet, observed an exception in java console
Exception occurred during event dispatching:
java.lang.ClassNotFoundException: SourceViewer
at com/ms/vm/loader/URLClassLoader.loadClass
at java/lang/ClassLoader.loadClassInternal
at FaceEditor.handleEvent
at java/awt/Component.postEvent
at java/awt/Component.postEvent
at java/awt/Component.postEvent
at java/awt/Component.dispatchEventImpl
at java/awt/Component.dispatchEvent
at java/awt/EventDispatchThread.run
With MSVM :
No Exceptions.
Applet Number 2:
===============
1. Go to URL http://www.snibbe.com/scott/dynamic/gravilux/gravilux.html
2. (Gravilux)
3. Interact with the applet by clicking and moving the mouse. Dots will scatter, move and rearrange.
4. Reload the applet by holding down the 'Shift' key and clicking refresh.
5. Attempt to resize the browser/applet window.
6. Open another instance of the applet in new window using 'Ctrl+N'
7. Check the Java Console for warnings/errors.
8. Close the applet/browser windows to terminate the applet
With SunVM:
basic: Unregistered modality listener
Exception in thread "Thread-12" java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThread)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at sun.applet.AppletSecurity.checkAccess(Unknown Source)
at java.lang.Thread.checkAccess(Unknown Source)
at java.lang.Thread.stop(Unknown Source)
at Gravilux.run(Gravilux.java)
at java.lang.Thread.run(Unknown Source)
With MS VM:
No Exceptions.
Observation:
------------
These tests are failing with 1.5.0_05-b04 and also with 1.5.0_04-b05.
I have tried Second applet at home off swan and when holding the shift and refresh for more than once then in the console there is an exception. This is on WindowsXP-pro and tested with Tiger FCS. Exception I got is Null Pointer Exception. Even after the exception I was able to move the mouse and play the game. If you think this exception is not an issue then I can close this bug. But Applabs are still saying the same they have exception with Sun VM and no exception with MS VM. Here is the final mail from them,
Hi Srilatha,
We have tested Applet B on both JDK 5.0 FCS and 1.5.0_06-b02
and exception is displayed on both.
On MSVM for Applet B, there is no exception displayed in the console.
Thanks,
Rajesh.