Code Comments
Programming Forum and web based access to our favorite programming groups.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)
Post Follow-up to this messageflyaboo <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
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.