Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 5083638
Votes 0
Synopsis REGRESSION: 4789981 fails for 1.3.1_13-b01 on Solaris for Mozilla 1.0.1
Category java_plugin:solaris
Reported Against 1.3.1_13
Release Fixed 1.3.1_14(b01)
State 10-Fix Delivered, bug
Priority: 2-High
Related Bugs 6372476
Submit Date 06-AUG-2004
Description
Testcase 4789981 is failed for 1.3.1_13-b01 on both Solaris 8 and Solaris 9 with browser Mozilla 1.0.1 version. Mozilla browser is crashed while testing this bug with the following error.

Exception in thread "Thread-3" 
**************** SERVER ERROR **************
Exception occurred at start of handle_code()
**************** ************ **************
Exception in thread "Thread-3" 
**************** SERVER ERROR **************
Exception occurred at start of handle_code()
**************** ************ **************

This testcase passed with 1.3.1_12-b03 without any errors.

to Reproduce:
============

Run the following testcase using JTReg tool.
/net/shiva.sfbay/test/MyTestArea/JDK1.3.1/workspace_131/test/CTE_REGTEST/Generic/4789981

This is a manual testcase. Follow the instructions to execute.
Test will be failed for 1.3.1_13-b01 with the above error.
  xxxxx@xxxxx   10/13/04 01:47 GMT
Work Around
N/A
Evaluation
There're 2 test cases associated with 4789981. 
Initial investigation shows that test case 2 failed with 1.3.1_13. Test case 2 is the one with the signed applet and Mozilla crashes upon granting the permission to the applet at the security dialog. Test case 1 ran fine with 1.3.1_13. Both test cases PASS with 1.3.1_12.
Running with "mozilla -debug" and with JAVA_PLUGIN_TRACE set to 1 shows that there's an NPE with stack trace as follows:
java.lang.NullPointerException
        at sun.plugin.javascript.JSClassLoader$1.run(JSClassLoader.java:95)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.plugin.javascript.JSClassLoader.bounce(JSClassLoader.java:88)
        at sun.plugin.javascript.JSClassLoader.invoke(JSClassLoader.java:46)
        at sun.plugin.liveconnect.PrivilegedCallMethodAction.run(SecureInvocation.java:5
43)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.plugin.liveconnect.SecureInvocation$2.run(SecureInvocation.java:145)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.plugin.liveconnect.SecureInvocation.CallMethod(SecureInvocation.java:124)
        at sun.plugin.navig.motif.AThread.handleRequest(Native Method)
        at sun.plugin.navig.motif.AThread.JNIHandleLoop(AThread.java:33)
        at sun.plugin.navig.motif.AThread.run(AThread.java:25)

The above NPE repeats a few times before the browser crashes.
I'll continue investigation.
  xxxxx@xxxxx   2004-08-06

This bug is not reproducible with Tiger beta3/b62 with mozilla 1.4.
  xxxxx@xxxxx   2004-08-09

The root cause is that the JSInvoke class is missing in the javaplugin.jar file for the Solaris and Linux platforms.
  xxxxx@xxxxx   10/13/04 01:47 GMT
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang