Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Applet not working in Nescape 6

1 view
Skip to first unread message

Matt Menard

unread,
Dec 6, 2000, 3:00:00 AM12/6/00
to
I have an applet that I created, that currently loads and runs in the
browser that comes with the latest version of Communicator and also
version 5.5 of IE. I downloaded Netscape 6 and installed it. The applet
doesn't load properly in Netscape 6, with the following error message:

java.lang.NullPointerException
at sun.net.www.protocol.http.HttpURLConnection.getInputStream
(Unknown Source)
at
sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream (Unknown
Source)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderField
(Unknown Source)
at
sun.plugin.protocol.jdk12.http.HttpURLConnection.checkCookieHeader(Unkno
wn Source)
at
sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown
Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown
Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

It looks like it might have something to do with the plugin code. The
error message doesn't reference any of my applet source, but the (Unknow
Source) could possible mean there's a problem with my code. Any
ideas???


Sent via Deja.com http://www.deja.com/
Before you buy.

0 new messages