Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

The worst possible kind of applet error...

843807Dec 14 2003 — edited Dec 21 2003
...unpredictable, untestable, and completely fatal.

Hi. Please help!

My applet ( http://worldzone.net/arts/mike/ ) runs fine with for lots of people on different browser versions (both with and without the Java plugin, it's written for 1.1) but for a few people it won't run at all. Same version of the applet. It gives the old 'bad magic number' error, but no amount of CTRL-refreshing will make it load.

Just to pre-empt... They tried it on different days. They tried reloading several times. It's worked on a slow machine with just 60M ram that can barely manage Win98. Here's the important bits from the console report someone sent me...
Java(TM) Plug-in: Version 1.3.1_02
Using JRE version 1.3.1_02 Java HotSpot(TM) Client VM
...
Applet Installation finished.
Opening http://worldzone.net/arts/mike/ps.class
Connecting http://worldzone.net/arts/mike/ps.class with no proxy
Cache filename: D:\users\Mitch\Local Settings\Temporary Internet
Files\Temporary Internet Files\Content.IE5\4XYVCP6N\404Error[1].htm
java.lang.ClassFormatError: ps (Bad magic number)
 at java.lang.ClassLoader.defineClass0(Native Method)
 at java.lang.ClassLoader.defineClass(Unknown Source)
 at java.security.SecureClassLoader.defineClass(Unknown Source)
 at sun.applet.AppletClassLoader.findClass(Unknown Source)
 at sun.plugin.security.PluginClassLoader.access$201(Unknown Source)
 at sun.plugin.security.PluginClassLoader$1.run(Unknown Source)
 at java.security.AccessController.doPrivileged(Native Method)
 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)
Thanks for your help.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 18 2004
Added on Dec 14 2003
5 comments
130 views