Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Applet failing that used to work
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)

Report this thread to moderator Post Follow-up to this message
Old Post
flyaboo
10-25-04 09:02 PM


Re: Applet failing that used to work
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


Report this thread to moderator Post Follow-up to this message
Old Post
Paul Lutus
10-25-04 09:02 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Java Help archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 04:46 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.