Closed Bug 119307 Opened 23 years ago Closed 12 years ago

Errors in Java Console when running OJI test4 and test5

Categories

(Core Graveyard :: Java: OJI, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: jfarrell, Assigned: yuanyi21)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) BuildID: 20020109 When running the above test (and test 5), I noticed that errors were reported on the Java Console and these tests did not pass. Reproducible: Always Steps to Reproduce: 1. Start Java Console 2. follow steps from http://www.mozilla.org/quality/browser/front- end/testcases/oji/test4.html Actual Results: Errors will appear in the Java Console window Expected Results: No errors OR the test document is modified to mention that erros are expected. The following errors were taken from an OpemVMS system, but the problem also accurs on a Linux system as well. This MAY be a problem with the test suite, but I wasn't 100% sure, so I submitted it as an OJI bug. Test 4 output ---------- java.security.AccessControlException: access denied (java.net.SocketPermission slip resolve) at java.security.AccessControlContext.checkPermission (AccessControlContext.java, Compiled Code) at java.security.AccessController.checkPermission(AccessController.java, Compiled Code) at java.lang.SecurityManager.checkPermission(SecurityManager.java, Compiled Code) at java.lang.SecurityManager.checkConnect(SecurityManager.java, Compiled Code) at sun.plugin.protocol.jdk12.http.HttpURLConnection.connectStep1 (HttpURLConnection.java, Compiled Code) at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream (HttpURLConnection.java, Compiled Code) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java, Compiled Code) at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java, Compiled Code) at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java, Compiled Code) at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java, Compiled Code) at java.security.AccessController.doPrivileged(Native Method) at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java, Compiled Code) at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java, Compiled Code) at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code) at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java, Compiled Code) at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code) at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java, Compiled Code) at sun.applet.AppletPanel.createApplet(AppletPanel.java, Compiled Code) at sun.plugin.AppletViewer.createApplet(AppletViewer.java, Compiled Code) at sun.applet.AppletPanel.runLoader(AppletPanel.java, Compiled Code) at sun.applet.AppletPanel.run(AppletPanel.java, Compiled Code) at sun.plugin.navig.motif.MotifAppletViewer.maf_run(MotifAppletViewer.java, Compiled Code) at sun.plugin.navig.motif.MotifAppletViewer.run(MotifAppletViewer.java, Compiled Code) at java.lang.Thread.run(Thread.java:484) java.security.AccessControlException: access denied (java.net.SocketPermission slip resolve) at java.security.AccessControlContext.checkPermission(AccessControlContext.java, Compiled Code) at java.security.AccessController.checkPermission(AccessController.java, Compiled Code) at java.lang.SecurityManager.checkPermission(SecurityManager.java, Compiled Code) at java.lang.SecurityManager.checkConnect(SecurityManager.java, Compiled Code) at sun.plugin.protocol.jdk12.http.HttpURLConnection.connectStep1 (HttpURLConnection.java, Compiled Code) at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream (HttpURLConnection.java, Compiled Code) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java, Compiled Code) at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java, Compiled Code) at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java, Compiled Code) at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java, Compiled Code) at java.security.AccessController.doPrivileged(Native Method) at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java, Compiled Code) at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java, Compiled Code) at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code) at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java, Compiled Code) at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code) at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java, Compiled Code) at sun.applet.AppletPanel.createApplet(AppletPanel.java, Compiled Code) at sun.plugin.AppletViewer.createApplet(AppletViewer.java, Compiled Code) at sun.applet.AppletPanel.runLoader(AppletPanel.java, Compiled Code) at sun.applet.AppletPanel.run(AppletPanel.java, Compiled Code) at sun.plugin.navig.motif.MotifAppletViewer.maf_run(MotifAppletViewer.java, Compiled Code) at sun.plugin.navig.motif.MotifAppletViewer.run(MotifAppletViewer.java, Compiled Code) at java.lang.Thread.run(Thread.java:484) load: class clock.DigitalClock.class not found. java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed. at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java, Compiled Code) at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java, Compiled Code) at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java, Compiled Code) at java.security.AccessController.doPrivileged(Native Method) at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java, Compiled Code) at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java, Compiled Code) at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code) at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java, Compiled Code) at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code) at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java, Compiled Code) at sun.applet.AppletPanel.createApplet(AppletPanel.java, Compiled Code) at sun.plugin.AppletViewer.createApplet(AppletViewer.java, Compiled Code) at sun.applet.AppletPanel.runLoader(AppletPanel.java, Compiled Code) at sun.applet.AppletPanel.run(AppletPanel.java, Compiled Code) at sun.plugin.navig.motif.MotifAppletViewer.maf_run(MotifAppletViewer.java, Compiled Code) at sun.plugin.navig.motif.MotifAppletViewer.run(MotifAppletViewer.java, Compiled Code) at java.lang.Thread.run(Thread.java:484) java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed. at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java, Compiled Code) at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java, Compiled Code) at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java, Compiled Code) at java.security.AccessController.doPrivileged(Native Method) at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java, Compiled Code) at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java, Compiled Code) at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code) at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java, Compiled Code) at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code) at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java, Compiled Code) at sun.applet.AppletPanel.createApplet(AppletPanel.java, Compiled Code) at sun.plugin.AppletViewer.createApplet(AppletViewer.java, Compiled Code) at sun.applet.AppletPanel.runLoader(AppletPanel.java, Compiled Code) at sun.applet.AppletPanel.run(AppletPanel.java, Compiled Code) at sun.plugin.navig.motif.MotifAppletViewer.maf_run(MotifAppletViewer.java, Compiled Code) at sun.plugin.navig.motif.MotifAppletViewer.run(MotifAppletViewer.java, Compiled Code) at java.lang.Thread.run(Thread.java:484) Test5 output ---------- load: class JitterText.class not found. java.lang.ClassNotFoundException: java.net.UnknownHostException: slip at java.net.InetAddress.getAllByName0(InetAddress.java, Compiled Code) at java.net.InetAddress.getAllByName0(InetAddress.java, Compiled Code) at java.net.InetAddress.getByName(InetAddress.java, Compiled Code) at java.net.Socket.<init>(Socket.java, Compiled Code) at sun.net.NetworkClient.doConnect(NetworkClient.java, Compiled Code) at sun.plugin.protocol.jdk12.http.HttpClient.doConnect(HttpClient.java, Compiled Code) at sun.net.www.http.HttpClient.openServer(HttpClient.java, Compiled Code) at sun.net.www.http.HttpClient.openServer(HttpClient.java, Compiled Code) at sun.net.www.http.HttpClient.<init>(HttpClient.java, Compiled Code) at sun.net.www.http.HttpClient.<init>(HttpClient.java, Compiled Code) at sun.plugin.protocol.jdk12.http.HttpClient.<init>(HttpClient.java, Compiled Code) at sun.plugin.protocol.jdk12.http.HttpClient.New(HttpClient.java, Compiled Code) at sun.plugin.protocol.jdk12.http.HttpURLConnection.privBlock (HttpURLConnection.java, Compiled Code) at sun.plugin.protocol.jdk12.http.HttpURLConnection$PrivilegedBlockAction.run (HttpURLConnection.java, Compiled Code) at java.security.AccessController.doPrivileged(Native Method) at sun.plugin.protocol.jdk12.http.HttpURLConnection.connect (HttpURLConnection.java, Compiled Code) at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream (HttpURLConnection.java, Compiled Code) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java, Compiled Code) at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java, Compiled Code) at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java, Compiled Code) at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java, Compiled Code) at java.security.AccessController.doPrivileged(Native Method) at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java, Compiled Code) at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java, Compiled Code) at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code) at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java, Compiled Code) at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code) at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java, Compiled Code) at sun.applet.AppletPanel.createApplet(AppletPanel.java, Compiled Code) at sun.plugin.AppletViewer.createApplet(AppletViewer.java, Compiled Code) at sun.applet.AppletPanel.runLoader(AppletPanel.java, Compiled Code) at sun.applet.AppletPanel.run(AppletPanel.java, Compiled Code) at sun.plugin.navig.motif.MotifAppletViewer.maf_run(MotifAppletViewer.java, Compiled Code) at sun.plugin.navig.motif.MotifAppletViewer.run(MotifAppletViewer.java, Compiled Code) at java.lang.Thread.run(Thread.java:484) java.lang.ClassNotFoundException: java.net.UnknownHostException: slip at java.net.InetAddress.getAllByName0(InetAddress.java, Compiled Code) at java.net.InetAddress.getAllByName0(InetAddress.java, Compiled Code) at java.net.InetAddress.getByName(InetAddress.java, Compiled Code) at java.net.Socket.<init>(Socket.java, Compiled Code) at sun.net.NetworkClient.doConnect(NetworkClient.java, Compiled Code) at sun.plugin.protocol.jdk12.http.HttpClient.doConnect(HttpClient.java, Compiled Code) at sun.net.www.http.HttpClient.openServer(HttpClient.java, Compiled Code) at sun.net.www.http.HttpClient.openServer(HttpClient.java, Compiled Code) at sun.net.www.http.HttpClient.<init>(HttpClient.java, Compiled Code) at sun.net.www.http.HttpClient.<init>(HttpClient.java, Compiled Code) at sun.plugin.protocol.jdk12.http.HttpClient.<init>(HttpClient.java, Compiled Code) at sun.plugin.protocol.jdk12.http.HttpClient.New(HttpClient.java, Compiled Code) at sun.plugin.protocol.jdk12.http.HttpURLConnection.privBlock (HttpURLConnection.java, Compiled Code) at sun.plugin.protocol.jdk12.http.HttpURLConnection$PrivilegedBlockAction.run (HttpURLConnection.java, Compiled Code) at java.security.AccessController.doPrivileged(Native Method) at sun.plugin.protocol.jdk12.http.HttpURLConnection.connect (HttpURLConnection.java, Compiled Code) at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream (HttpURLConnection.java, Compiled Code) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java, Compiled Code) at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java, Compiled Code) at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java, Compiled Code) at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java, Compiled Code) at java.security.AccessController.doPrivileged(Native Method) at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java, Compiled Code) at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java, Compiled Code) at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code) at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java, Compiled Code) at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code) at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java, Compiled Code) at sun.applet.AppletPanel.createApplet(AppletPanel.java, Compiled Code) at sun.plugin.AppletViewer.createApplet(AppletViewer.java, Compiled Code) at sun.applet.AppletPanel.runLoader(AppletPanel.java, Compiled Code) at sun.applet.AppletPanel.run(AppletPanel.java, Compiled Code) at sun.plugin.navig.motif.MotifAppletViewer.maf_run(MotifAppletViewer.java, Compiled Code) at sun.plugin.navig.motif.MotifAppletViewer.run(MotifAppletViewer.java, Compiled Code) at java.lang.Thread.run(Thread.java:484)
I'm not sure that this bug is necessarily mozilla's fault. Isn't java a plugin that is produced by sun? If java is failing I think this should be mailed to sun.
I think this should be testcase's bug. In testcase 4: java.security.AccessControlException: access denied (java.net.SocketPermission slip resolve) because "http://slip/ojitests/tags/applet/JitterText.class" can't be resolved. load: class clock.DigitalClock.class not found. java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed. because there is no DigitalClock.class in clock directory. --------------------------Sun China ERI---------------------------------
Test5.html is also invalid. The applet was written as: <applet codebase=http://slip/ojitests/tags/applet code="JitterText.class" width=150 height=80> http://slip/ojitests/tags/applet is a address that can't be resolved.
failure in the test not in the app.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
If this is a problem with the test, then they should be fixed. Reopened the bug and CC'ed the owner of the OJI tests: shrir@netscape.com
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
What's the status of this problem? Still happening? pi
Yeah, It is still happening
Confirming there is a problem at the URL above Test Case #3: sample displaying CODE cannot be an absolute URL. It is not really clear to me in which way it should fail, though. Marking NEW for competent review. pi
Status: UNCONFIRMED → NEW
Ever confirmed: true
QA Contact: pmac → petersen
reassign to me
Assignee: joe.chou → joshua.xia
reassign to shrir@netscape.com for testcase bug
Assignee: joshua.xia → shrir
Depends on: 93050
-> default assignee for old netscape assigned bugs.
Assignee: shrir → yuanyi21
QA Contact: chrispetersen → zhayupeng
Product: Core → Core Graveyard
Mass-closing bugs in the "OJI" component: OJI plugin integration was replaced with npruntime long ago, and these bugs appear to be irrelevant now. If there is in fact a real bug that remains, please file it new in the "Core" product, component "Plug-ins".
Status: NEW → RESOLVED
Closed: 23 years ago12 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.