planetarium / libplanet

Blockchain in C#/.NET for on-chain, decentralized gaming
https://docs.libplanet.io/
GNU Lesser General Public License v2.1
510 stars 144 forks source link

Raised ArgumentOutOfRangeException when Swarm.ReceiveMessageAsync() is running #200

Closed longfin closed 1 year ago

longfin commented 5 years ago
The raw message[NetMQMessage[
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
  at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <862932ae85bb4091ba21600446565e23>:0 
  at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <862932ae85bb4091ba21600446565e23>:0 
  at Libplanet.Net.Messages.Message.Parse (NetMQ.NetMQMessage raw, System.Boolean reply) [0x0017f] in <c3ab21de55c548b2941897ae0c2fadeb>:0 
  at Libplanet.Net.Swarm+<ReceiveMessageAsync>d__89`1[T].MoveNext () [0x00124] in <c3ab21de55c548b2941897ae0c2fadeb>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
Nekoyume.Serilog.UnityDebugSink:Emit(LogEvent) (at C:\Users\Swen Mun\Documents\nekoyume-unity\nekoyume\Assets\_Scripts\Serilog\UnityDebugSink.cs:12)
Serilog.Core.Sinks.SafeAggregateSink:Emit(LogEvent)
Serilog.Core.Logger:Dispatch(LogEvent)
Serilog.Core.Logger:Serilog.Core.ILogEventSink.Emit(LogEvent)
Serilog.Core.Logger:Dispatch(LogEvent)
Serilog.Core.Logger:Serilog.Core.ILogEventSink.Emit(LogEvent)
Serilog.Core.Logger:Dispatch(LogEvent)
Serilog.Core.Logger:Write(LogEventLevel, Exception, String, Object[])
Serilog.Core.Logger:Error(Exception, String)
Libplanet.Net.<ReceiveMessageAsync>d__89`1:MoveNext()
System.Runtime.CompilerServices.MoveNextRunner:InvokeMoveNext(Object)
System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean)
System.Runtime.CompilerServices.MoveNextRunner:Run()
System.Threading.Tasks.AwaitTaskContinuation:RunOrScheduleAction(Action, Boolean, Task&)
System.Threading.Tasks.Task:FinishContinuations()
System.Threading.Tasks.Task:FinishStageThree()
System.Threading.Tasks.Task`1:TrySetResult(NetMQMessage)
System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:SetResult(NetMQMessage)
Libplanet.Net.<ReceiveMultipartMessageAsync>d__2:MoveNext()
System.Runtime.CompilerServices.MoveNextRunner:InvokeMoveNext(Object)
System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean)
System.Runtime.CompilerServices.MoveNextRunner:Run()
System.Threading.Tasks.AwaitTaskContinuation:RunOrScheduleAction(Action, Boolean, Task&)
System.Threading.Tasks.Task:FinishContinuations()
System.Threading.Tasks.Task:FinishStageThree()
System.Threading.Tasks.Task`1:TrySetResult(VoidTaskResult)
System.Threading.Tasks.DelayPromise:Complete()
System.Threading.Tasks.<>c:<Delay>b__276_1(Object)
System.Threading.Scheduler:TimerCB(Object)
System.Threading.QueueUserWorkItemCallback:System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
System.Threading.ThreadPoolWorkQueue:Dispatch()
System.Threading._ThreadPoolWaitCallback:PerformWaitCallback()
stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.