Hello Everyone,
Was doing some network testing tonight and one of my players managed to basically crash the server with the below error. It was busy dumping these runtimeexceptions and driving my collect underflow FPS to 0. When he disconnected the server recovered. What are my options for dealing with this more gracefully?
21:03:57,343 ERROR [StateCollector] Collection error
java.lang.RuntimeException: Error splitting message. split:0 limit:-864
at com.simsilica.ethereal.net.FrameState.split(FrameState.java:111) ~[sim-ethereal-1.2.1-SNAPSHOT.jar:?]
at com.simsilica.ethereal.net.StateWriter.endFrame(StateWriter.java:327) ~[sim-ethereal-1.2.1-SNAPSHOT.jar:?]
at com.simsilica.ethereal.net.StateWriter.startFrame(StateWriter.java:191) ~[sim-ethereal-1.2.1-SNAPSHOT.jar:?]
at com.simsilica.ethereal.NetworkStateListener.endFrame(NetworkStateListener.java:283) ~[sim-ethereal-1.2.1-SNAPSHOT.jar:?]
at com.simsilica.ethereal.zone.StateCollector.publishFrame(StateCollector.java:226) ~[sim-ethereal-1.2.1-SNAPSHOT.jar:?]
at com.simsilica.ethereal.zone.StateCollector.collect(StateCollector.java:258) [sim-ethereal-1.2.1-SNAPSHOT.jar:?]
at com.simsilica.ethereal.zone.StateCollector$Runner.run(StateCollector.java:313) [sim-ethereal-1.2.1-SNAPSHOT.jar:?]
21:03:57,596 ERROR [StateCollector] Collection error
java.lang.RuntimeException: Error splitting message. split:0 limit:-256
at com.simsilica.ethereal.net.FrameState.split(FrameState.java:111) ~[sim-ethereal-1.2.1-SNAPSHOT.jar:?]
at com.simsilica.ethereal.net.StateWriter.endFrame(StateWriter.java:327) ~[sim-ethereal-1.2.1-SNAPSHOT.jar:?]
at com.simsilica.ethereal.net.StateWriter.startFrame(StateWriter.java:191) ~[sim-ethereal-1.2.1-SNAPSHOT.jar:?]
at com.simsilica.ethereal.NetworkStateListener.endFrame(NetworkStateListener.java:283) ~[sim-ethereal-1.2.1-SNAPSHOT.jar:?]
at com.simsilica.ethereal.zone.StateCollector.publishFrame(StateCollector.java:226) ~[sim-ethereal-1.2.1-SNAPSHOT.jar:?]
at com.simsilica.ethereal.zone.StateCollector.collect(StateCollector.java:258) [sim-ethereal-1.2.1-SNAPSHOT.jar:?]
at com.simsilica.ethereal.zone.StateCollector$Runner.run(StateCollector.java:313) [sim-ethereal-1.2.1-SNAPSHOT.jar:?]
collect underflow FPS:0
21:03:57,645 ERROR [StateCollector] Collection error
java.lang.RuntimeException: Error splitting message. split:0 limit:-256
at com.simsilica.ethereal.net.FrameState.split(FrameState.java:111) ~[sim-ethereal-1.2.1-SNAPSHOT.jar:?]
at com.simsilica.ethereal.net.StateWriter.endFrame(StateWriter.java:327) ~[sim-ethereal-1.2.1-SNAPSHOT.jar:?]
at com.simsilica.ethereal.net.StateWriter.startFrame(StateWriter.java:191) ~[sim-ethereal-1.2.1-SNAPSHOT.jar:?]
at com.simsilica.ethereal.NetworkStateListener.endFrame(NetworkStateListener.java:283) ~[sim-ethereal-1.2.1-SNAPSHOT.jar:?]
at com.simsilica.ethereal.zone.StateCollector.publishFrame(StateCollector.java:226) ~[sim-ethereal-1.2.1-SNAPSHOT.jar:?]
at com.simsilica.ethereal.zone.StateCollector.collect(StateCollector.java:258) [sim-ethereal-1.2.1-SNAPSHOT.jar:?]
at com.simsilica.ethereal.zone.StateCollector$Runner.run(StateCollector.java:313) [sim-ethereal-1.2.1-SNAPSHOT.jar:?]
21:03:57,695 ERROR [StateCollector] Collection error
java.lang.RuntimeException: Error splitting message. split:0 limit:-256
at com.simsilica.ethereal.net.FrameState.split(FrameState.java:111) ~[sim-ethereal-1.2.1-SNAPSHOT.jar:?]
at com.simsilica.ethereal.net.StateWriter.endFrame(StateWriter.java:327) ~[sim-ethereal-1.2.1-SNAPSHOT.jar:?]
at com.simsilica.ethereal.net.StateWriter.startFrame(StateWriter.java:191) ~[sim-ethereal-1.2.1-SNAPSHOT.jar:?]
at com.simsilica.ethereal.NetworkStateListener.endFrame(NetworkStateListener.java:283) ~[sim-ethereal-1.2.1-SNAPSHOT.jar:?]
at com.simsilica.ethereal.zone.StateCollector.publishFrame(StateCollector.java:226) ~[sim-ethereal-1.2.1-SNAPSHOT.jar:?]
at com.simsilica.ethereal.zone.StateCollector.collect(StateCollector.java:258) [sim-ethereal-1.2.1-SNAPSHOT.jar:?]
at com.simsilica.ethereal.zone.StateCollector$Runner.run(StateCollector.java:313) [sim-ethereal-1.2.1-SNAPSHOT.jar:?]
Thanks, Mithrin