Skip to main content

alphaWorks  >  Forums  >  CodeInvaders Challenge  >  developerWorks

Error loading MySpaceShip from /workspace/Game    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
Permlink Replies: 0 - Pages: 1 Threads: [ Previous | Next ]

Posts: 2
Registered: Oct 11, 2007 10:38:31 AM
Error loading MySpaceShip from /workspace/Game
Posted: Oct 11, 2007 10:51:18 AM
Click to report abuse...   Click to reply to this thread Reply
Hi, I'm having trouble every time i run a private simulation including my own spaceship or other spaceships that came in the server snapshot after submitting the code.
The tournament in the server runs fine, but the private simulations doesn't.
The private simulations only runs with the examples.
my java version:
java version "1.5.0_10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_10-b03)
Java HotSpot(TM) Client VM (build 1.5.0_10-b03, mixed mode, sharing)

and eclipse version:
Version: 3.2.1
Build id: M20060921-0945

IBM Gaming v3.1.0
Error loading MySpaceShip from /<some path>/workspace/Game
java.lang.ClassNotFoundException: MySpaceShip
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:580)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at com.ibm.jgfw.util.SecureClassLoader.loadClass(SecureClassLoader.java:119)
at com.ibm.codeinvaders.PlayerLogic.loadClass(PlayerLogic.java:45)
at com.ibm.codeinvaders.PlayerLogic.<init>(PlayerLogic.java:39)
at com.ibm.codeinvaders.CodeInvadersSkin.getPlayerByDir(CodeInvadersSkin.java:62)
at com.ibm.jgfw.Launcher.loadPlayersFromPlaylist(Launcher.java:201)
at com.ibm.jgfw.Launcher.getPlayers(Launcher.java:217)
at com.ibm.jgfw.Launcher.playSyncTournament(Launcher.java:187)
at com.ibm.jgfw.Launcher.run(Launcher.java:169)
at com.ibm.jgfw.Launcher.main(Launcher.java:131)
Exception in thread "Playback thread" java.lang.NullPointerException
at com.ibm.codeinvaders.PlayerLogic.initImpl(PlayerLogic.java:180)
at com.ibm.codeinvaders.InvadersState.<init>(InvadersState.java:117)
at com.ibm.codeinvaders.CodeInvadersSkin.getInitialState(CodeInvadersSkin.java:107)
at com.ibm.jgfw.internal.Match.run(Match.java:133)
at com.ibm.jgfw.internal.PlaybackThread.run(PlaybackThread.java:70)

Point your RSS reader here for a feed of the latest messages in all forums