Martinay / SERisiko

4 stars 0 forks source link

spiele können mit nur einem spieler gestartet werrden... #53

Closed Krypt0n closed 10 years ago

Krypt0n commented 10 years ago

dabei steht dann sowas aufms erver, das ist aber logisch ...

java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at Network.WebSocket.WebSocketHandler.handleApiRequest(WebSocketHandler.java:114) at Network.WebSocket.WebSocketHandler.onMessage(WebSocketHandler.java:77) at org.webbitserver.netty.DecodingHybiFrame$1.go(DecodingHybiFrame.java:54) at org.webbitserver.netty.CatchingRunnable.run(CatchingRunnable.java:13) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 at GameLogic.Spielwelt.verteile_neu_ohne(Spielwelt.java:55) at GameLogic.Spielsteuerung.EntferneSpieler(Spielsteuerung.java:72) at ServerLogic.Model.Server.ServerGame.RemovePlayer(ServerGame.java:222) at ServerLogic.ServerLogic.LeaveGame(ServerLogic.java:184) at ServerApi.RisikoServer.leaveGame(RisikoServer.java:128) ... 15 more