Simsilica/SimEthereal

StateCollector loop error when cancelling a connect

Opened this issue · 0 comments

Hey mate

I accidentally cancelled a connection attempt, and see the following loop error in the logs:

21:50:52.360 [StateCollectionThread] ERROR com.simsilica.ethereal.zone.StateCollector - Collection error
com.jme3.network.kernel.KernelException: Endpoint is not connected:UdpEndpoint[1, /127.0.0.1:54212]
	at com.jme3.network.kernel.udp.UdpEndpoint.send(UdpEndpoint.java:125) ~[jme3-networking-3.6.0-SNAPSHOT.jar:3.6.0-SNAPSHOT]
	at com.jme3.network.base.DefaultServer$Connection.send(DefaultServer.java:588) ~[jme3-networking-3.6.0-SNAPSHOT.jar:3.6.0-SNAPSHOT]
	at com.simsilica.ethereal.net.StateWriter.endMessage(StateWriter.java:554) ~[sim-ethereal-1.8.0.jar:?]
	at com.simsilica.ethereal.net.StateWriter.flush(StateWriter.java:568) ~[sim-ethereal-1.8.0.jar:?]
	at com.simsilica.ethereal.NetworkStateListener.endFrameBlock(NetworkStateListener.java:241) ~[sim-ethereal-1.8.0.jar:?]
	at com.simsilica.ethereal.zone.StateCollector.collect(StateCollector.java:286) ~[sim-ethereal-1.8.0.jar:?]
	at com.simsilica.ethereal.zone.StateCollector$Runner.run(StateCollector.java:338) ~[sim-ethereal-1.8.0.jar:?]

Not sure if I did something wrong, just thought I'd write this note in case you can see what's what, Cheers