Does not add Scripting component

11 views
Skip to first unread message

Marc (BDA_vel)

unread,
May 14, 2010, 8:51:07 AM5/14/10
to Open Wonderland Scripting
Hi,

I run Wonderland preview4 and add the scripting component JAR and the
scripting npc JAR. I followed the instructions from the Scripting PDF
but I have no chance to add one of those scripting modules to an
object. Maybe the problem is the preview4?

Thanks
Marc

aliatis

unread,
May 17, 2010, 6:45:56 AM5/17/10
to Open Wonderland Scripting
Hi,

I have had the same error with preview 4. After I changed to preview3
and I get the same error too.
Then I tried scripting-component-module (v2010-05-12). Jar but it
gives an error when installing the module.
Does anyone have any idea?

Thank you.
JManuel

Morris Ford

unread,
May 22, 2010, 11:00:26 AM5/22/10
to open-wonderl...@googlegroups.com
Currently out of the country. I will be able to take a look at this in a few weeks. Please post your error messages.
Morris

aliatis

unread,
May 24, 2010, 2:43:03 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!

On 22 mayo, 17:00, Morris Ford <morrishf...@gmail.com> wrote:
> Currently out of the country. I will be able to take a look at this in a few
> weeks. Please post your error messages.
> Morris
>

Morris Ford

unread,
Jun 11, 2010, 11:16:19 AM6/11/10
to Open Wonderland Scripting
The error you are seeing is not really an error. The module is looking
for a script startup.js and it has not yet been created.
> ScriptingComponent : Cell 2 : scriptPath =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/...
Reply all
Reply to author
Forward
0 new messages