PDA

View Full Version : NullPointerException with JavaBoy on My Site


MethodOne
04-24-2007, 07:08 PM
I want to run the JavaBoy applet on my Web Page. When I run it from my hard drive or use it here, it works fine, but not when I put it on a Web server. I get the following error message, followed by a browser crash:

JavaBoy (tm) Version 0.92 (c) 2005 Neil Millstone (applet)
Cant open file
java.lang.NullPointerException
.at Cartridge.<init>(Cartridge.java:170)
.at JavaBoy.start(JavaBoy.java:971)
.at sun.applet.AppletPanel.run(Unknown Source)
.at java.lang.Thread.run(Unknown Source)

The Web page that I'm having problems is at http://www.webbiesonline.com/jwahl/finalproject/webgames-kdl.htm. The server that hosts that page runs IIS 6.0 on Windows Server 2003, but I have no control over it. I also have the same problem with my server running Apache 2.2 on Linux (Debian Etch). I used Firefox 2.0.0.3 on Windows and Linux to test the page. What do I need to do in order to get the applet to work?

Kong
04-25-2007, 02:31 AM
Posts with links are hidden until a mod approves them if you have a low post count.

Something is wrong with you paths. It is finding 404 errors while looking for either the game or the Java files.