Closed Bug 51579 Opened 25 years ago Closed 25 years ago

Loading a applet without using a CODEBASE tag throws a "ClassNotFound" exception with Mozilla Build 2000083107 and NS Build2000080720

Categories

(Core Graveyard :: Java: OJI, defect, P3)

Sun
Solaris
defect

Tracking

(Not tracked)

VERIFIED WORKSFORME

People

(Reporter: Balwinder.Sohi, Assigned: joe.chou)

Details

(Whiteboard: suntrak-n6)

1.Click on the Applet Codebase test link under OJI (Java Plugin Tests). 2.The related HTML page is displayed requiring the loading of the applet which is in the same directory as the HTML page and does not use a CODEBASE tag. 3.Expected result:The applet should be loaded properly and displays its content. 4.Actual result:Java exception is thrown in the dialog box and the applet fails to load successfully. Context of the exception :************************** java.lang.ClassNotFoundException: java.io.FileNotFoundException: http://lonely/Blackwood/src/OJI/PluginTest/netscape/Tags/APPLET/html/JitterText/class.class at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:545) at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(HttpURLConnection.java:302) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:230) at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:218) at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:41) at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:137) at java.security.AccessController.doPrivileged(Native Method) at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:134) at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:204) at java.lang.ClassLoader.loadClass(ClassLoader.java:297) at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:108) at java.lang.ClassLoader.loadClass(ClassLoader.java:253) at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:371) at sun.applet.AppletPanel.createApplet(AppletPanel.java:579) at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1205) at sun.applet.AppletPanel.runLoader(AppletPanel.java:515) at sun.applet.AppletPanel.run(AppletPanel.java:293) at sun.plugin.navig.motif.MotifAppletViewer.maf_run(MotifAppletViewer.java:125) at sun.plugin.navig.motif.MotifAppletViewer.run(MotifAppletViewer.java:121)
Re-assigning to module owner, Ed Burns.
Assignee: drapeau → edburns
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
Status: NEW → ASSIGNED
Tested on Netscape Pr3 package (10/31/2000) with FCS Java Plugin 1.3.0_01 on Solaris 2.8 i386 Same results, but then If I use Browser Back/Forward, the applet does get loaded. Something weired goes on the first time.
What is the URL for the testing?
Whiteboard: suntrak-n6
Worked for me with Nov. 14th built.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
Verified on Solaris sparc 2.8 with FCS bits of Java Plugin 1.3.0_01 and FCS package of Netscape 6 for Solaris dated (12/4)
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.