command: s.geometry_changed()
command: s.get_loaded_species_names()
command: s.get_species_data('AUX')
command: s.get_species_data('VENUS')
command: s.get_species_data('PIN')
command: s.get_species_data('auxin')
command: s.get_species_data('auxin_wall')
command: s.step()
Exception in thread "Thread-57" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:604)
at java.util.ArrayList.get(ArrayList.java:382)
at rootgui.controller.RunnableBlockingQueueList$2.run(RunnableBlockingQueueList.java:191)
at java.lang.Thread.run(Thread.java:722)
Exception in thread "Thread-41" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:604)
at java.util.ArrayList.get(ArrayList.java:382)
at rootgui.controller.RunnableBlockingQueueList.addBlockingRunnableToQueue(RunnableBlockingQueueList.java:177)
at rootgui.controller.VRootController.step(VRootController.java:236)
at rootgui.view.DisplayViewFrame$21.run(DisplayViewFrame.java:1160)
at java.lang.Thread.run(Thread.java:722)
java.net.SocketException: Socket closed
command: s.geometry_changed()
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:150)
at java.net.SocketInputStream.read(SocketInputStream.java:121)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177)
at java.io.InputStreamReader.read(InputStreamReader.java:184)
at java.io.BufferedReader.fill(BufferedReader.java:154)
at java.io.BufferedReader.readLine(BufferedReader.java:317)
at java.io.BufferedReader.readLine(BufferedReader.java:382)
at simserver.SimServerClient.readResponse(SimServerClient.java:215)
at simserver.SimServerClient.readResponse(SimServerClient.java:205)
at simserver.SimServerClient.geometryChanged(SimServerClient.java:595)
at simserver.SimServerClient.getRecord(SimServerClient.java:637)
at rootgui.controller.VRootController$2.run(VRootController.java:219)
at java.lang.Thread.run(Thread.java:722)
java.net.SocketException: Socket closed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:150)
at java.net.SocketInputStream.read(SocketInputStream.java:121)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177)
at java.io.InputStreamReader.read(InputStreamReader.java:184)
at java.io.BufferedReader.fill(BufferedReader.java:154)
at java.io.BufferedReader.readLine(BufferedReader.java:317)
at java.io.BufferedReader.readLine(BufferedReader.java:382)
at simserver.SimServerClient.readResponse(SimServerClient.java:215)
at simserver.SimServerClient.readResponse(SimServerClient.java:205)
at simserver.SimServerClient.getLoadedSpecies(SimServerClient.java:527)
at simserver.SimServerClient.getRecord(SimServerClient.java:652)
at rootgui.controller.VRootController$2.run(VRootController.java:219)
at java.lang.Thread.run(Thread.java:722)
command: s.get_loaded_species_names()
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at rootgui.controller.AbstractController.setModelProperty(AbstractController.java:120)
at rootgui.controller.VRootController$2.run(VRootController.java:220)
at java.lang.Thread.run(Thread.java:722)
Tried to rerun the same scenario and got similar error:
Exception in thread "Thread-77" java.lang.IndexOutOfBoundsException: Index: 1, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:604)
at java.util.ArrayList.get(ArrayList.java:382)
at rootgui.controller.RunnableBlockingQueueList$2.run(RunnableBlockingQueueList.java:191)
at java.lang.Thread.run(Thread.java:722)
Exception in thread "Thread-73" java.lang.IndexOutOfBoundsException: Index: 1, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:604)
at java.util.ArrayList.get(ArrayList.java:382)
at rootgui.controller.RunnableBlockingQueueList.addBlockingRunnableToQueue(RunnableBlockingQueueList.java:177)
at rootgui.controller.VRootController.step(VRootController.java:236)
at rootgui.view.DisplayViewFrame$21.run(DisplayViewFrame.java:1160)
at java.lang.Thread.run(Thread.java:722)
command: s.geometry_changed()
java.net.SocketException: Socket closedcommand: s.get_loaded_species_names()
java.net.SocketException: Socket closed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:150)
at java.net.SocketInputStream.read(SocketInputStream.java:121)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177)
at java.io.InputStreamReader.read(InputStreamReader.java:184)
at java.io.BufferedReader.fill(BufferedReader.java:154)
at java.io.BufferedReader.readLine(BufferedReader.java:317)
at java.io.BufferedReader.readLine(BufferedReader.java:382)
at simserver.SimServerClient.readResponse(SimServerClient.java:215)
at simserver.SimServerClient.readResponse(SimServerClient.java:205)
at simserver.SimServerClient.getLoadedSpecies(SimServerClient.java:527)
at simserver.SimServerClient.getRecord(SimServerClient.java:652)
at rootgui.controller.VRootController$2.run(VRootController.java:219)
at java.lang.Thread.run(Thread.java:722)
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at rootgui.controller.AbstractController.setModelProperty(AbstractController.java:120)
at rootgui.controller.VRootController$2.run(VRootController.java:220)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.IndexOutOfBoundsException: Index: 1, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:604)
at java.util.ArrayList.get(ArrayList.java:382)
at rootgui.model.VRootModel.setIncIteration(VRootModel.java:81)
... 7 more
Index: 1, Size: 0
Last edit: Jim 2012-09-07