Random NullPointerException at applet startup

J

Juha Tuominen

I have a weird problem that I've not been able to work out. I've written
an applet, which crashes randomly with the following log output, but it
crashes _only_ on Sun JVM (I'm using v.1.4.1):

java.lang.NullPointerException
at sun.applet.AppletPanel.appletResize(Unknown Source)
at java.applet.Applet.resize(Unknown Source)
at java.applet.Applet.resize(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

When running on Microsoft JVM (Build 3810), there are no problems. It
seems that the applet is not even started yet when the crash happens in
Sun JVM. Any ideas how to solve the problem?

Juha,
juha.tuominen(at)tuotoi.net
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top