Wonderland Scripting error

7 views
Skip to first unread message

aliatis

unread,
May 24, 2010, 2:42:07 AM5/24/10
to Open Wonderland Scripting
Hello,
I'm running preview4 and have added scripting component and scripting
npc. Following the instructions in the Scripting pdf i get the
following error:

21-may-2010 13:07:45
org.jdesktop.wonderland.client.cell.ChannelComponent messageReceived
ADVERTENCIA: No listener for message class
org.jdesktop.wonderland.common.cell.messages.CellServerComponentMessage
from cell org.jdesktop.wonderland.client.cell.ModelCell status VISIBLE
ScriptingComponentFactory : In getDefaultCellComponentService
ScriptingComponentServerState : In constructor
ScriptingComponentServerState : In setInfo - info = Default
ScriptingComponentServerState : In setEventNames
ScriptingComponentServerState : In setScriptType
ScriptingComponentServerState : In setEventResource
ScriptingComponentServerState : In setCellOwner -
ScriptingComponentServerState : In setUseGlobalScripts - true
ScriptingComponentFactory : In getDefaultCellComponentService
ScriptingComponentServerState : In constructor
ScriptingComponentServerState : In setInfo - info = Default
ScriptingComponentServerState : In setEventNames
ScriptingComponentServerState : In setScriptType
ScriptingComponentServerState : In setEventResource
ScriptingComponentServerState : In setCellOwner -
ScriptingComponentServerState : In setUseGlobalScripts - true
ScriptingComponentFactory : In getDisplayName
ScriptingComponentFactory : In getDisplayName
ScriptingComponentFactory : In getDisplayName
ScriptingComponentFactory : In getDescription
ScriptingComponentFactory : In getDisplayName
ScriptingComponentFactory : In getDefaultCellComponentService
ScriptingComponentServerState : In constructor
ScriptingComponentServerState : In setInfo - info = Default
ScriptingComponentServerState : In setEventNames
ScriptingComponentServerState : In setScriptType
ScriptingComponentServerState : In setEventResource
ScriptingComponentServerState : In setCellOwner -
ScriptingComponentServerState : In setUseGlobalScripts - true
ScriptingComponentServerState : In getServerComponentClassName
******************** Cell name = Taqui
ScriptingComponent : Cell
org.jdesktop.wonderland.client.cell.ModelCell@181ab44 - id = 2 : Enter
ScriptingComponent constructor
ScriptingComponentClientState : In getInfo - info = Default
ScriptingComponentClientState : In getEventNames
ScriptingComponentClientState : In getScriptType
ScriptingComponentClientState : In getEventResource
ScriptingComponentClientState : In getCellOwner -
ScriptingComponentClientState : In getUseGlobalScripts - true
ScriptingComponent : Cell 2 : In setClientState - info = Default
ScriptingComponent : Cell 2 : In default for setStatus - status other
than ACTIVE
ScriptingComponent : Cell 2 : setStatus = ACTIVE - increasing = true
ScriptingComponent : Cell 2 : In setStatus
ScriptingComponent : Cell 2 : setStatus = RENDERING - increasing =
true
In component setStatus - renderer =
org.jdesktop.wonderland.client.jme.cellrenderer.ModelRenderer@18dd88b
Exception in load propertiesjava.lang.NullPointerException
Scripts property = webdav
ScriptingComponent : Cell 2 : Start of executeScript -
useGlobalScripts = true - userName = jm - cellOwner = jm
ScriptingComponent : Cell 2 : scriptPath =
http://pc-107.SEVINGE.sevinge.com:8080//webdav/content/scripts/Taqui/startup.js
ScriptingComponent : Cell 2 : Script type = javascript
ScriptingComponent : Cell 2 : This script takes Compiled path
Script takes the webdav path
ScriptingComponent : Cell 2 : General exception in the whole mechanism
of compiling and executing the script java.io.FileNotFoundException:
http://pc-107.SEVINGE.sevinge.com:8080//webdav/content/scripts/Taqui/startup.js
java.io.FileNotFoundException: http://pc-107.SEVINGE.sevinge.com:8080//webdav/content/scripts/Taqui/startup.js
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
at java.net.URL.openStream(Unknown Source)
at
org.jdesktop.wonderland.modules.scriptingComponent.client.ScriptingComponent.executeScript(ScriptingComponent.java:
1622)
at
org.jdesktop.wonderland.modules.scriptingComponent.client.ScriptingComponent.setStatus(ScriptingComponent.java:
955)
at
org.jdesktop.wonderland.client.cell.CellComponent.setComponentStatus(CellComponent.java:
77)
at org.jdesktop.wonderland.client.cell.Cell.addComponent(Cell.java:
255)
at
org.jdesktop.wonderland.client.cell.CellComponentMessageReceiver.addComponent(CellComponentMessageReceiver.java:
98)
at
org.jdesktop.wonderland.client.cell.CellComponentMessageReceiver.messageReceived(CellComponentMessageReceiver.java:
50)
at
org.jdesktop.wonderland.client.cell.ChannelComponent.messageReceived(ChannelComponent.java:
123)
at org.jdesktop.wonderland.client.cell.CellChannelConnection
$ChannelMessageReceiver.messageReceived(CellChannelConnection.java:
409)
at org.jdesktop.wonderland.client.cell.CellChannelConnection
$CellMessageDelivery.deliver(CellChannelConnection.java:322)
at
org.jdesktop.wonderland.client.cell.CellChannelConnection.handleMessage(CellChannelConnection.java:
158)
at
org.jdesktop.wonderland.client.comms.BaseConnection.messageReceived(BaseConnection.java:
125)
at org.jdesktop.wonderland.client.comms.WonderlandSessionImpl
$ClientRecord.handleMessage(WonderlandSessionImpl.java:1002)
at
org.jdesktop.wonderland.client.comms.WonderlandSessionImpl.fireSessionMessageReceived(WonderlandSessionImpl.java:
489)
at org.jdesktop.wonderland.client.comms.WonderlandSessionImpl
$WonderlandClientListener$1.receivedMessage(WonderlandSessionImpl.java:
772)
at com.sun.sgs.client.simple.SimpleClient
$SimpleClientChannel.receivedMessage(SimpleClient.java:861)
at com.sun.sgs.client.simple.SimpleClient
$SimpleClientConnectionListener.handleChannelMessage(SimpleClient.java:
733)
at com.sun.sgs.client.simple.SimpleClient
$SimpleClientConnectionListener.handleApplicationMessage(SimpleClient.java:
506)
at com.sun.sgs.client.simple.SimpleClient
$SimpleClientConnectionListener.receivedMessage(SimpleClient.java:442)
at
com.sun.sgs.impl.client.simple.SimpleClientConnection.bytesReceived(SimpleClientConnection.java:
170)
at
com.sun.sgs.impl.io.SocketConnection.filteredMessageReceived(SocketConnection.java:
144)
at
com.sun.sgs.impl.io.CompleteMessageFilter.processReceiveBuffer(CompleteMessageFilter.java:
138)
at
com.sun.sgs.impl.io.CompleteMessageFilter.filterReceive(CompleteMessageFilter.java:
103)
at
com.sun.sgs.impl.io.SocketConnectionListener.messageReceived(SocketConnectionListener.java:
128)
at org.apache.mina.common.support.AbstractIoFilterChain
$TailFilter.messageReceived(AbstractIoFilterChain.java:703)
at
org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:
362)
at org.apache.mina.common.support.AbstractIoFilterChain.access
$1100(AbstractIoFilterChain.java:54)
at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl
$1.messageReceived(AbstractIoFilterChain.java:800)
at
org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:
247)
at org.apache.mina.filter.executor.ExecutorFilter
$ProcessEventsRunnable.run(ExecutorFilter.java:307)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)
at java.lang.Thread.run(Unknown Source)
ScriptingComponent : Cell 2 : In default for setStatus - status other
than ACTIVE
21-may-2010 13:08:38
org.jdesktop.wonderland.client.cell.ChannelComponent messageReceived
ADVERTENCIA: No listener for message class
org.jdesktop.wonderland.common.cell.messages.CellServerComponentMessage
from cell org.jdesktop.wonderland.client.cell.ModelCell status VISIBLE


I've tested both preview3 and de last version of de module "scripting
component(v2010-02-12)" but I get the same error.

Running the server under (windowsXP) and the output of 'java -version'
is java 1.6.0_18

Do yo help me?
Thank you!

Morris Ford

unread,
May 25, 2010, 3:11:30 AM5/25/10
to open-wonderl...@googlegroups.com

That is not really an error. That means that there is no startup.js script for the Taqui object. You can either make a simple startup.js script or ignore the exception.

aliatis

unread,
May 25, 2010, 5:58:27 AM5/25/10
to Open Wonderland Scripting
Hi,
First thanks for your answer!!
Ok Morris, I ignored the error startup.js but I continue with the
Scripting pdf manual and step press 'p' I get the following error.


ScriptingComponent : Cell 2 : In commitEvent for key event - key = p
Exception in load propertiesjava.lang.NullPointerException
Scripts property = component
ScriptingComponent : Cell 2 : Start of executeScript -
useGlobalScripts = true - userName = jmmercado - cellOwner = jmmercado
ScriptingComponent : Cell 2 : scriptPath = resources/properties.java
ScriptingComponent : Cell 2 : Script type = java
ScriptingComponent : Cell 2 : General exception in the whole mechanism
of compiling and executing the script java.lang.NullPointerException
java.lang.NullPointerException
at
org.jdesktop.wonderland.modules.scriptingComponent.client.ScriptingComponent.executeScript(ScriptingComponent.java:
1562)
at
org.jdesktop.wonderland.modules.scriptingComponent.client.ScriptingComponent
$KeyEventListener.commitEvent(ScriptingComponent.java:2554)
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)



What I can do?
Thank you.


On 25 mayo, 09:11, Morris Ford <morrishf...@gmail.com> wrote:
> java.io.FileNotFoundException:http://pc-107.SEVINGE.sevinge.com:8080//webdav/content/scripts/Taqui/...
>
> That is not really an error. That means that there is no startup.js script
> for the Taqui object. You can either make a simple startup.js script or
> ignore the exception.
>
> >http://pc-107.SEVINGE.sevinge.com:8080//webdav/content/scripts/Taqui/...
> > ScriptingComponent : Cell 2 : Script type = javascript
> > ScriptingComponent : Cell 2 : This script takes Compiled path
> > Script takes the webdav path
> > ScriptingComponent : Cell 2 : General exception in the whole mechanism
> > of compiling and executing the script  java.io.FileNotFoundException:
>
> >http://pc-107.SEVINGE.sevinge.com:8080//webdav/content/scripts/Taqui/...
> > java.io.FileNotFoundException:
> >http://pc-107.SEVINGE.sevinge.com:8080//webdav/content/scripts/Taqui/...

Morris Ford

unread,
May 25, 2010, 12:10:59 PM5/25/10
to open-wonderl...@googlegroups.com
Are you running the client on Windows? There was a problem that came up with the configuration of javaws in Windows that caused an execution of a java script to fail due to a path problem. I believe the exception looked like your exception. There was a thread about that error. I'll see if I can find it later.
Reply all
Reply to author
Forward
0 new messages