problem after pressing P

8 views
Skip to first unread message

haya haya

unread,
Jun 15, 2010, 3:56:48 PM6/15/10
to Open Wonderland Scripting
Hello. i have started studying the scripting tutorials but i face a
problem when i press P after adding the scripting capability in an
object.

There is a similar thread about pressing P on windows client somewhere
else.
Is this the same error ?

thnx.

The error says:

ScriptingComponent : Cell 2 : In commitEvent for key event - key = p
Scripts property = component
ScriptingComponent : Cell 2 : Start of executeScript -
useGlobalScripts = true - userName = peterakos - cellOwner = peterakos
ScriptingComponent : Cell 2 : scriptPath = resources/properties.java
ScriptingComponent : Cell 2 : Script type = java
There was a problem getting the classloader or there is no scripting
engine for java
MTGame: Exception Caught in renderer commit:
java.lang.NullPointerException
java.lang.NullPointerException
at
org.jdesktop.wonderland.modules.scriptingComponent.client.ScriptingComponent.executeScript(ScriptingComponent.java:
1836)
at
org.jdesktop.wonderland.modules.scriptingComponent.client.ScriptingComponent
$KeyEventListener.commitEvent(ScriptingComponent.java:2812)
at
org.jdesktop.wonderland.client.input.EventListenerBaseImpl.commit(EventListenerBaseImpl.java:
264)
at org.jdesktop.mtgame.Renderer.processCommitList(Renderer.java:1364)
at org.jdesktop.mtgame.Renderer.run(Renderer.java:917)


Morris Ford

unread,
Jun 15, 2010, 5:02:54 PM6/15/10
to open-wonderl...@googlegroups.com
That problem usually occurs on a windows client. It is due to javaws using a bad path for java and cannot find javac.
Reply all
Reply to author
Forward
0 new messages