josmas / openwonderland

Automatically exported from code.google.com/p/openwonderland
GNU General Public License v2.0
3 stars 5 forks source link

ConcurrentModificationException in Shared App Server #178

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
After quitting an app, the following exception was in the Shared App Server log:

Log

Executing: [/usr/lib/jvm/java-6-sun-1.6.0.22/jre/bin/java, -cp, 
/home/spcworld/.wonderland-server/0.5-dev/run/shared_application_server/run/lib/
ant/ant-launcher.jar, 
-Dant.home=/home/spcworld/.wonderland-server/0.5-dev/run/shared_application_serv
er/run/lib/ant, org.apache.tools.ant.launch.Launcher, 
-Dsas.password.file=/home/spcworld/etc/wonderland.password, 
-Dwonderland.appshare.maxPort=10300, 
-Dwonderland.appshare.hostName=199.17.224.245, 
-Dwonderland.web.server.url=http://199.17.224.245:8080/, 
-Drunner.location=localhost, -Drunner.name=Shared Application Server, 
-Dwonderland.appshare.minPort=10200, -f, 
/home/spcworld/.wonderland-server/0.5-dev/run/shared_application_server/run/run.
xml]
Buildfile: 
/home/spcworld/.wonderland-server/0.5-dev/run/shared_application_server/run/run.
xml

-find-properties:

run:
[exec] The command attribute is deprecated.
[exec] Please use the executable attribute and nested arg elements.
[exec] The command attribute is deprecated.
[exec] Please use the executable attribute and nested arg elements.
[exec] The command attribute is deprecated.
[exec] Please use the executable attribute and nested arg elements.
[exec] The command attribute is deprecated.
[exec] Please use the executable attribute and nested arg elements.
[java] Mar 26, 2011 9:53:17 AM 
org.jdesktop.wonderland.modules.sasxremwin.provider.SasXrwProviderMain 
[java] WARNING: Connecting to server http://199.17.224.245:8080/
[java] Mar 26, 2011 9:53:19 AM 
org.jdesktop.wonderland.common.utils.ScannedClassLoader createDB
[java] WARNING: Scanned classes in 1573 ms.
[java] Mar 26, 2011 9:53:19 AM org.jdesktop.wonderland.common.Timeline 
getElapsedTime
[java] WARNING: [Load Classes]: 1651ms
[java] [    Load URLs]: 1575ms
[java] [    Load URL list]: 75ms
[java] 
[java] Mar 26, 2011 9:53:19 AM 
org.jdesktop.wonderland.client.login.ProgrammaticLogin login
[java] WARNING: Darkstar server not available. Retrying every 5 seconds.
[java] Mar 26, 2011 9:53:25 AM 
org.jdesktop.wonderland.modules.sasxremwin.provider.SasXrwProvider$SasXrwProvide
rSession login
[java] WARNING: Connecting XrwSecurityConnection
[java] Mar 26, 2011 9:53:25 AM 
org.jdesktop.wonderland.client.login.ProgrammaticLogin login
[java] WARNING: Connected to Darkstar server.
[java] Mar 26, 2011 9:53:25 AM 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection handleMessage
[java] WARNING: Received message from server: 
org.jdesktop.wonderland.modules.sas.common.SasProviderLaunchMessage@40b0095d
[java] Mar 26, 2011 9:53:25 AM 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection handleMessage
[java] WARNING: Received launch message from server
[java] Mar 26, 2011 9:53:25 AM 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection handleMessage
[java] WARNING: execCap = xremwin
[java] Mar 26, 2011 9:53:25 AM 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection handleMessage
[java] WARNING: appName = firefox
[java] Mar 26, 2011 9:53:25 AM 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection handleMessage
[java] WARNING: command = null
[java] Mar 26, 2011 9:53:25 AM 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection handleMessage
[java] WARNING: Attempting to launch X app
[java] Mar 26, 2011 9:53:25 AM 
org.jdesktop.wonderland.modules.sasxremwin.provider.SasXrwProviderMain launch
[java] WARNING: Resolved command = firefox -profilemanager
[java] Starting X11WindowManager on display :2
[java] Escher attempting to connect to X server ...
[java] Escher connected
[java] LG3D WM Hints initialized
[java] Mar 26, 2011 9:53:25 AM 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection handleMessage
[java] WARNING: connInfo = AppXrwConnectionInfo/199.17.224.245/10251
[java] Mar 26, 2011 9:53:25 AM 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection handleMessage
[java] WARNING: Received message from server: 
org.jdesktop.wonderland.modules.sas.common.SasProviderLaunchMessage@710ca208
[java] Mar 26, 2011 9:53:25 AM 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection handleMessage
[java] WARNING: Received launch message from server
[java] Mar 26, 2011 9:53:25 AM 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection handleMessage
[java] WARNING: execCap = xremwin
[java] Mar 26, 2011 9:53:25 AM 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection handleMessage
[java] WARNING: appName = netbeans2
[java] Mar 26, 2011 9:53:25 AM 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection handleMessage
[java] WARNING: command = null
[java] Mar 26, 2011 9:53:25 AM 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection handleMessage
[java] WARNING: Attempting to launch X app
[java] Mar 26, 2011 9:53:25 AM 
org.jdesktop.wonderland.modules.sasxremwin.provider.SasXrwProviderMain launch
[java] WARNING: Resolved command = /home/spcworld/netbeans/bin/netbeans 
--userdir /home/spcworld/.netbeans/6.9-2
[java] Starting X11WindowManager on display :3
[java] Escher attempting to connect to X server ...
[java] Escher connected
[java] LG3D WM Hints initialized
[java] Mar 26, 2011 9:53:25 AM 
org.jdesktop.wonderland.modules.xremwin.client.ClientXrw processMessage
[java] WARNING: WindowSetBorderWidth: window doesn't exist: wid = 4194305
[java] Mar 26, 2011 9:53:25 AM 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection handleMessage
[java] WARNING: connInfo = AppXrwConnectionInfo/199.17.224.245/10266
[java] Mar 26, 2011 9:53:25 AM 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection handleMessage
[java] WARNING: Received message from server: 
org.jdesktop.wonderland.modules.sas.common.SasProviderLaunchMessage@60c0c8b5
[java] Mar 26, 2011 9:53:25 AM 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection handleMessage
[java] WARNING: Received launch message from server
[java] Mar 26, 2011 9:53:25 AM 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection handleMessage
[java] WARNING: execCap = xremwin
[java] Mar 26, 2011 9:53:25 AM 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection handleMessage
[java] WARNING: appName = netbeans
[java] Mar 26, 2011 9:53:25 AM 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection handleMessage
[java] WARNING: command = null
[java] Mar 26, 2011 9:53:25 AM 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection handleMessage
[java] WARNING: Attempting to launch X app
[java] Mar 26, 2011 9:53:25 AM 
org.jdesktop.wonderland.modules.sasxremwin.provider.SasXrwProviderMain launch
[java] WARNING: Resolved command = /home/spcworld/netbeans/bin/netbeans
[java] Starting X11WindowManager on display :4
[java] Escher attempting to connect to X server ...
[java] Escher connected
[java] LG3D WM Hints initialized
[java] Mar 26, 2011 9:53:26 AM 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection handleMessage
[java] WARNING: connInfo = AppXrwConnectionInfo/199.17.224.245/10237
[java] Mar 26, 2011 9:53:26 AM 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection handleMessage
[java] WARNING: Received message from server: 
org.jdesktop.wonderland.modules.sas.common.SasProviderLaunchMessage@756f70a4
[java] Mar 26, 2011 9:53:26 AM 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection handleMessage
[java] WARNING: Received launch message from server
[java] Mar 26, 2011 9:53:26 AM 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection handleMessage
[java] WARNING: execCap = xremwin
[java] Mar 26, 2011 9:53:26 AM 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection handleMessage
[java] WARNING: appName = firefox
[java] Mar 26, 2011 9:53:26 AM 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection handleMessage
[java] WARNING: command = null
[java] Mar 26, 2011 9:53:26 AM 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection handleMessage
[java] WARNING: Attempting to launch X app
[java] Mar 26, 2011 9:53:26 AM 
org.jdesktop.wonderland.modules.sasxremwin.provider.SasXrwProviderMain launch
[java] WARNING: Resolved command = firefox -profilemanager
[java] Starting X11WindowManager on display :5
[java] Escher attempting to connect to X server ...
[java] Escher connected
[java] LG3D WM Hints initialized
[java] Mar 26, 2011 9:53:26 AM 
org.jdesktop.wonderland.modules.xremwin.client.ClientXrw processMessage
[java] WARNING: WindowSetBorderWidth: window doesn't exist: wid = 4194386
[java] Mar 26, 2011 9:53:26 AM 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection handleMessage
[java] WARNING: connInfo = AppXrwConnectionInfo/199.17.224.245/10238
[java] Mar 26, 2011 9:53:26 AM 
org.jdesktop.wonderland.modules.xremwin.client.ClientXrw processMessage
[java] WARNING: WindowSetBorderWidth: window doesn't exist: wid = 4194305
[java] Mar 26, 2011 9:53:26 AM 
org.jdesktop.wonderland.modules.xremwin.client.ClientXrw processMessage
[java] WARNING: WindowSetBorderWidth: window doesn't exist: wid = 4194386
[java] Mar 26, 2011 11:10:52 AM 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection handleMessage
[java] WARNING: Received message from server: 
org.jdesktop.wonderland.modules.sas.common.SasProviderLaunchMessage@439ce47a
[java] Mar 26, 2011 11:10:52 AM 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection handleMessage
[java] WARNING: Received launch message from server
[java] Mar 26, 2011 11:10:52 AM 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection handleMessage
[java] WARNING: execCap = xremwin
[java] Mar 26, 2011 11:10:52 AM 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection handleMessage
[java] WARNING: appName = firefox
[java] Mar 26, 2011 11:10:52 AM 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection handleMessage
[java] WARNING: command = null
[java] Mar 26, 2011 11:10:52 AM 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection handleMessage
[java] WARNING: Attempting to launch X app
[java] Mar 26, 2011 11:10:52 AM 
org.jdesktop.wonderland.modules.sasxremwin.provider.SasXrwProviderMain launch
[java] WARNING: Resolved command = firefox -profilemanager
[java] Starting X11WindowManager on display :6
[java] Escher attempting to connect to X server ...
[java] Escher connected
[java] LG3D WM Hints initialized
[java] Mar 26, 2011 11:10:52 AM 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection handleMessage
[java] WARNING: connInfo = AppXrwConnectionInfo/199.17.224.245/10218
[java] Mar 26, 2011 11:10:52 AM 
org.jdesktop.wonderland.modules.xremwin.client.ClientXrw processMessage
[java] WARNING: WindowSetBorderWidth: window doesn't exist: wid = 4194305
[java] Mar 26, 2011 11:10:52 AM 
org.jdesktop.wonderland.modules.xremwin.client.ClientXrw processMessage
[java] WARNING: WindowSetBorderWidth: window doesn't exist: wid = 4194386
[java] Mar 26, 2011 11:11:12 AM 
org.jdesktop.wonderland.modules.xremwin.client.ClientXrw processMessage
[java] WARNING: WindowSetBorderWidth: window doesn't exist: wid = 4194305
[java] Mar 26, 2011 11:11:12 AM 
org.jdesktop.wonderland.modules.xremwin.client.ClientXrw processMessage
[java] WARNING: WindowSetBorderWidth: window doesn't exist: wid = 4194386
[java] Mar 26, 2011 11:11:12 AM 
org.jdesktop.wonderland.modules.xremwin.client.ClientXrw processMessage
[java] WARNING: WindowSetBorderWidth: window doesn't exist: wid = 4194417
[java] Mar 26, 2011 11:12:53 AM 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection handleMessage
[java] WARNING: Received message from server: 
org.jdesktop.wonderland.modules.sas.common.SasProviderAppStopMessage@63a1bc40
[java] Mar 26, 2011 11:12:53 AM 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection handleMessage
[java] WARNING: Received app stop message from server
[java] Mar 26, 2011 11:12:53 AM 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection handleMessage
[java] WARNING: launchMsgID= {MessageID: -9223372036854766116}
[java] Mar 26, 2011 11:12:53 AM 
org.jdesktop.wonderland.modules.xremwin.client.ClientXrw processMessage
[java] WARNING: DestroyWindow: window doesn't exist: wid = 4194386
[java] Mar 26, 2011 11:12:53 AM 
org.jdesktop.wonderland.modules.xremwin.client.ClientXrw processMessage
[java] WARNING: DestroyWindow: window doesn't exist: wid = 4194305
[java] Mar 26, 2011 11:12:53 AM 
org.jdesktop.wonderland.modules.xremwin.client.ClientXrw processMessage
[java] WARNING: DestroyWindow: window doesn't exist: wid = 4194470
[java] Mar 26, 2011 11:12:53 AM 
org.jdesktop.wonderland.modules.xremwin.client.ClientXrw processMessage
[java] WARNING: ShowWindow: window doesn't exist: wid = 4194417
[java] Mar 26, 2011 11:12:53 AM 
org.jdesktop.wonderland.modules.xremwin.client.ClientXrw processMessage
[java] WARNING: DestroyWindow: window doesn't exist: wid = 4194417
[java] Mar 26, 2011 11:12:53 AM 
org.jdesktop.wonderland.modules.xremwin.client.ClientXrw processMessage
[java] WARNING: DestroyWindow: window doesn't exist: wid = 4194424
[java] Mar 26, 2011 11:12:53 AM 
org.jdesktop.wonderland.modules.xremwin.client.ClientXrw processMessage
[java] WARNING: DestroyWindow: window doesn't exist: wid = 4194427
[java] Mar 26, 2011 11:12:53 AM 
org.jdesktop.wonderland.modules.appbase.client.MonitoredProcess cleanup
[java] WARNING: Shutting down process firefox 3
[java] Mar 26, 2011 11:12:53 AM 
org.jdesktop.wonderland.modules.appbase.client.MonitoredProcess cleanup
[java] WARNING: Shutting down process object for process firefox 3
[java] Mar 26, 2011 11:12:53 AM 
org.jdesktop.wonderland.modules.sasxremwin.provider.SasXrwProviderMain 
appExitted
[java] WARNING: App Exitted: firefox
[java] Mar 26, 2011 11:12:53 AM 
com.sun.sgs.client.simple.SimpleClient$SimpleClientConnectionListener 
handleSessionMessage
[java] WARNING: SimpleClientListener.receivedMessage callback throws
[java] java.util.ConcurrentModificationException
[java] at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
[java] at java.util.HashMap$KeyIterator.next(HashMap.java:828)
[java] at 
org.jdesktop.wonderland.modules.sasxremwin.provider.SasXrwProviderMain.appStop(S
asXrwProviderMain.java:236)
[java] at 
org.jdesktop.wonderland.modules.sas.provider.SasProviderConnection.handleMessage
(SasProviderConnection.java:102)
[java] at 
org.jdesktop.wonderland.client.comms.BaseConnection.messageReceived(BaseConnecti
on.java:125)
[java] at 
org.jdesktop.wonderland.client.comms.WonderlandSessionImpl$ClientRecord.handleMe
ssage(WonderlandSessionImpl.java:1002)
[java] at 
org.jdesktop.wonderland.client.comms.WonderlandSessionImpl.fireSessionMessageRec
eived(WonderlandSessionImpl.java:489)
[java] at 
org.jdesktop.wonderland.client.comms.WonderlandSessionImpl$WonderlandClientListe
ner.receivedMessage(WonderlandSessionImpl.java:785)
[java] at 
com.sun.sgs.client.simple.SimpleClient$SimpleClientConnectionListener.handleSess
ionMessage(SimpleClient.java:601)
[java] at 
com.sun.sgs.client.simple.SimpleClient$SimpleClientConnectionListener.handleAppl
icationMessage(SimpleClient.java:482)
[java] at 
com.sun.sgs.client.simple.SimpleClient$SimpleClientConnectionListener.receivedMe
ssage(SimpleClient.java:442)
[java] at 
com.sun.sgs.impl.client.simple.SimpleClientConnection.bytesReceived(SimpleClient
Connection.java:170)
[java] at 
com.sun.sgs.impl.io.SocketConnection.filteredMessageReceived(SocketConnection.ja
va:144)
[java] at 
com.sun.sgs.impl.io.CompleteMessageFilter.processReceiveBuffer(CompleteMessageFi
lter.java:138)
[java] at 
com.sun.sgs.impl.io.CompleteMessageFilter.filterReceive(CompleteMessageFilter.ja
va:103)
[java] at 
com.sun.sgs.impl.io.SocketConnectionListener.messageReceived(SocketConnectionLis
tener.java:128)
[java] at 
org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived(
AbstractIoFilterChain.java:703)
[java] at 
org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Abs
tractIoFilterChain.java:362)
[java] at 
org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilte
rChain.java:54)
[java] at 
org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived
(AbstractIoFilterChain.java:800)
[java] at 
org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:
247)
[java] at 
org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(Executo
rFilter.java:307)
[java] at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:8
86)
[java] at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[java] at java.lang.Thread.run(Thread.java:662)

Original issue reported on code.google.com by jonathan...@gmail.com on 26 Mar 2011 at 4:45