Error on Monkey zone?

I got a error when running monkey zone (when it is loading):



Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]

java.lang.IllegalArgumentException: Expected a Int value!



Any help?

It would be more helpful if you post the full stack trace.

Exception

java.lang.NullPointerException

at com.jme3.monkeyzone.ClientMain$2.call(ClientMain.java:219)

at com.jme3.monkeyzone.ClientMain$2.call(ClientMain.java:213)

at com.jme3.app.AppTask.invoke(AppTask.java:142)

at com.jme3.app.Application.runQueuedTasks(Application.java:577)

at com.jme3.app.Application.update(Application.java:590)

at com.jme3.app.SimpleApplication.update(SimpleApplication.java:230)

at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:149)

at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:182)

at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:223)

at java.lang.Thread.run(Thread.java:722)





And errors on,might be, these 2 lines code. I dont know how to fix them:

… …

enqueue(new Callable() {

… …

for (Iterator it = new LinkedList(panel.getElements()).iterator(); it.hasNext():wink: {

… …}

… …

}