while playing level 18, the Server started behaving weird. I paste the output from the Server bellow. If it happends again I will do a second post so you have more information.
My agent dealed with the situation sending for a LOAD_LEVEL command and could continue playing.
Cheers,
Diego
- Code: Select all
Shooting Completed
wait 15 seconds to record the score...
the game state is : LEVEL_SELECTION
the game state is : LEVEL_SELECTION
the game state is : LEVEL_SELECTION
the game state is : LEVEL_SELECTION
the game state is : LEVEL_SELECTION
the game state is : LEVEL_SELECTION
the game state is : LEVEL_SELECTION
the game state is : LEVEL_SELECTION
the game state is : LEVEL_SELECTION
########################### release chrome window
true
Exception in thread "Timer-3" java.lang.NullPointerException
at gui.ControlPanel.returnAvailableSlot(ControlPanel.java:214)
at server.Agent.terminate(Agent.java:735)
at server.AgentThread.terminateAgent(AgentThread.java:52)
at server.ServerTimerTask.run(ServerTimerTask.java:18)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
the game state is : LEVEL_SELECTION
########################### release chrome window
true
Exception in thread "Timer-4" java.lang.NullPointerException
at gui.ControlPanel.returnAvailableSlot(ControlPanel.java:214)
at server.Agent.terminate(Agent.java:735)
at server.AgentThread.terminateAgent(AgentThread.java:52)
at server.ServerTimerTask.run(ServerTimerTask.java:18)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
the game state is : LEVEL_SELECTION
the game state is : LEVEL_SELECTION
########################### release chrome window
true
Exception in thread "Timer-2" java.lang.NullPointerException
at gui.ControlPanel.returnAvailableSlot(ControlPanel.java:214)
at server.Agent.terminate(Agent.java:735)
at server.AgentThread.terminateAgent(AgentThread.java:52)
at server.ServerTimerTask.run(ServerTimerTask.java:18)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
the game state is : LEVEL_SELECTION
Client 15673 Message: getState
the game state is : LEVEL_SELECTION
Client 15673 Message: loadLevel
Client 15673 is requesting to load level 18