From: SourceForge.net <no...@so...> - 2007-11-23 23:03:48
|
Bugs item #1837223, was opened at 2007-11-23 19:29 Message generated for change (Settings changed) made by arianne_rpg You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101111&aid=1837223&group_id=1111 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed Resolution: Fixed Priority: 9 Private: No Submitted By: Hendrik (nhnb) Assigned to: Miguel Angel Blanch Lardin (arianne_rpg) Summary: Server Crash: thread NetworkServerManager because ArrayIndex Initial Comment: 443121459 ERROR marauroa.server.MarauroaUncaughtExceptionHandler - Exception in thread NetworkServerManager java.lang.ArrayIndexOutOfBoundsException: 3 at marauroa.common.net.Decoder.getSizeOfMessage(Decoder.java:166) at marauroa.common.net.Decoder.access$100(Decoder.java:21) at marauroa.common.net.Decoder$MessageParts.build(Decoder.java:100) at marauroa.common.net.Decoder.decode(Decoder.java:224) at marauroa.server.net.nio.NIONetworkServerManager.run(NIONetworkServerManager.java:319) ---------------------------------------------------------------------- Comment By: Miguel Angel Blanch Lardin (arianne_rpg) Date: 2007-11-23 19:45 Message: Logged In: YES user_id=3949 Originator: NO Fixed. I will close when I write a test case for it. ---------------------------------------------------------------------- Comment By: Hendrik (nhnb) Date: 2007-11-23 19:40 Message: Logged In: YES user_id=990499 Originator: YES Note there are other stacktraces like this one, which do NOT cause a crash of that thread: 276799796 ERROR marauroa.common.game.Attributes - error in getMessage java.io.IOException: Declared array size=4 is not equal to actually read bytes count(0)! at marauroa.common.net.InputSerializer.read255LongByteArray(InputSerializer.java:128) at marauroa.common.net.InputSerializer.read255LongString(InputSerializer.java:264) at marauroa.common.net.message.MessageC2SLoginRequestKey.readObject(MessageC2SLoginRequestKey.java:89) at marauroa.common.net.MessageFactory.getMessage(MessageFactory.java:196) at marauroa.common.net.Decoder$MessageParts.build(Decoder.java:119) at marauroa.common.net.Decoder.decode(Decoder.java:224) at marauroa.server.net.nio.NIONetworkServerManager.run(NIONetworkServerManager.java:319) 276799796 WARN marauroa.server.net.nio.NIONetworkServerManager - IOException while building message. java.io.IOException: Declared array size=4 is not equal to actually read bytes count(0)! at marauroa.common.net.MessageFactory.getMessage(MessageFactory.java:201) at marauroa.common.net.Decoder$MessageParts.build(Decoder.java:119) at marauroa.common.net.Decoder.decode(Decoder.java:224) at marauroa.server.net.nio.NIONetworkServerManager.run(NIONetworkServerManager.java:319) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101111&aid=1837223&group_id=1111 |