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!