Can someone take a quick look and help me fix this webstart. The thing will load and crash:
Code:
<?xml version="1.0" encoding="utf-8"?>
<jnlp
spec="1.0+"
codebase="http://localhost/games"
href="asteroidz.jnlp">
<information>
<title>Asteroidz</title>
<vendor>Alex Schearer</vendor>
<description>The classic asteroids.</description>
<description kind="short">The classic asteroids.</description>
</information>
<resources>
<j2se href="http://java.sun.com/products/autodl/j2se" version="1.4+" max-heap-size="128m" />
<jar href="asteroidz.jar" />
<jar href="lib/phys2d.jar" />
<extension href="http://slick.cokeandcode.com/demos/slick.jnlp" />
</resources>
<application-desc main-class="asteroidz.Asteroidz" />
</jnlp>
The exception is:
Code:
org.newdawn.slick.SlickException: Game.render() failure - check the game code.
at org.newdawn.slick.GameContainer.updateAndRender(GameContainer.java:551)
at org.newdawn.slick.AppGameContainer.start(AppGameContainer.java:351)
at asteroidz.Asteroidz.main(Asteroidz.java:23)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.javaws.Launcher.executeApplication(Launcher.java:1178)
at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1125)
at com.sun.javaws.Launcher.continueLaunch(Launcher.java:968)
at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:522)
at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:218)
at com.sun.javaws.Launcher.run(Launcher.java:165)
at java.lang.Thread.run(Thread.java:613)
Thanks so much, sorry for yet another webstart problem, but I can't seem to figure it out.