For Programmers: Free Programming Magazines  


Home > Archive > Java Help > October 2004 > Applet failing that used to work









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Applet failing that used to work
flyaboo

2004-10-25, 4:02 pm

An Applet I wrote is now failing with the new JVM
I have no idea where the error is because the exception does not seem to
be in my code
Here is the dump
Any suggestions?


java.lang.NullPointerException

at sun.plugin.cache.CachedFileLoader.writeHeaders(Unknown Source)

at sun.plugin.cache.CachedFileLoader.createCacheFiles(Unknown Source)

at sun.plugin.cache.CachedFileLoader.access$200(Unknown Source)

at sun.plugin.cache.CachedFileLoader$3.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at sun.plugin.cache.CachedFileLoader.download(Unknown Source)

at sun.plugin.cache.CachedFileLoader.load(Unknown Source)

at sun.plugin.cache.FileCache.get(Unknown Source)

at
sun.plugin.net.protocol.http.HttpURLConnection.connectWithCache(Unknown
Source)

at sun.plugin.net.protocol.http.HttpURLConnection.connect(Unknown Source)

at
sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)

at
sun.plugin.net.protocol.http.HttpURLConnection.getHeaderField(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 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)

java.lang.NullPointerException

at sun.plugin.cache.CachedFileLoader.writeHeaders(Unknown Source)

at sun.plugin.cache.CachedFileLoader.createCacheFiles(Unknown Source)

at sun.plugin.cache.CachedFileLoader.access$200(Unknown Source)

at sun.plugin.cache.CachedFileLoader$3.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at sun.plugin.cache.CachedFileLoader.download(Unknown Source)

at sun.plugin.cache.CachedFileLoader.load(Unknown Source)

at sun.plugin.cache.FileCache.get(Unknown Source)

at
sun.plugin.net.protocol.http.HttpURLConnection.connectWithCache(Unknown
Source)

at sun.plugin.net.protocol.http.HttpURLConnection.connect(Unknown Source)

at
sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)

at
sun.plugin.net.protocol.http.HttpURLConnection.getHeaderField(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 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)
Paul Lutus

2004-10-25, 4:02 pm

flyaboo <flyaboo.NOSPAM.com.yahoo> wrote:

> An Applet I wrote ...


.... for which no code or details are provided ...

> ... is now failing with the new JVM ...


.... for which no version or details are provided.

> I have no idea where the error is ...


Guess what? We have no idea either. Post the code if it is short, and post
the name of the "new" JVM. Chances are someone will compile and test the
applet for you to determine if this is system-specific.

--
Paul Lutus
http://www.arachnoid.com

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com