Closed
Bug 51640
Opened 24 years ago
Closed 24 years ago
loading an applet with mandatory code attibute throws a java-plugin exception dialog
Categories
(Core Graveyard :: Java: OJI, defect, P3)
Tracking
(Not tracked)
People
(Reporter: richard.pecson, Assigned: joe.chou)
References
()
Details
steps:
1. go to this
URL=http://lonely/Blackwood/src/OJI/PluginTest/LiveConnectOJI.html
2. click on the MISCELLANEOUS-JavaSoft's Java to JavaScript LiveConnect Tests
link.
3. actual result: A Java plug-in exception dialog appears.
4. expected result: The applets should be loaded properly and its content.
java plug-in exception dialog:
netscape.javascript.JSException
at netscape.javascript.JSObject.getWindow(JSObject.java:141)
at JavaToJS.init(JavaToJS.java:29)
at sun.applet.AppletPanel.run(AppletPanel.java:344)
at
sun.plugin.navig.motif.MotifAppletViewer.maf_run(MotifAppletViewer.java:125)
at sun.plugin.navig.motif.MotifAppletViewer.run(MotifAppletViewer.java:121)
at java.lang.Thread.run(Thread.java:484)
Joe, can you please contact the reporter of this bug and find out from
them exactly what environment they used to reproduce this bug. Then
replicate their environment and reproduce the bug on your machine. Then
determine the cause of the bug and post it here.
Thanks,
Ed
Assignee: edburns → joe.chou
Presently with Ns6 Build 2000092723 and Mozilla Build 2000091312 on Solaris 8
-sparc 2.8 , the test cases does not give proper results - means all are failing
but with this exception in the java console:
java.lang.UnsatisfiedLinkError: JSGetThreadID
at sun.plugin.javascript.navig5.JSObject.JSGetThreadID(Native Method)
at sun.plugin.javascript.navig5.JSObject.<init>(JSObject.java:77)
at
sun.plugin.navig.motif.MotifAppletContext.getJSObject(MotifAppletContext.java:76)
at netscape.javascript.JSObject.getWindow(JSObject.java:137)
at JavaToJS.init(JavaToJS.java:30)
at sun.applet.AppletPanel.run(AppletPanel.java:344)
at sun.plugin.navig.motif.MotifAppletViewer.maf_run(MotifAppletViewer.java:125)
at sun.plugin.navig.motif.MotifAppletViewer.run(MotifAppletViewer.java:121)
at java.lang.Thread.run(Thread.java:484)
**
Tried out with PR3 Netscape package (10/31/2000) with FCs JRE bits 1.3.0_01
Sometimes it gives exception about not finding class. But reloading it, is
able to load the applet and Execute the Test cases.
Some of the tests do throw Exceptions (trapped by the Test Case).
this one is related to bug 53849.
Once that fix is in, it will work.
I think the reason is not getting a valid JSObject.
*** This bug has been marked as a duplicate of 53849 ***
You need to log in
before you can comment on or make changes to this bug.
Description
•