Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An unexpected exception occured during ReceiveMessageAsync() #321

Closed
longfin opened this issue Jul 1, 2019 · 1 comment · Fixed by #327
Closed

An unexpected exception occured during ReceiveMessageAsync() #321

longfin opened this issue Jul 1, 2019 · 1 comment · Fixed by #327
Assignees
Labels
bug Something isn't working
Milestone

Comments

@longfin
Copy link
Member

longfin commented Jul 1, 2019

miner1_1  | 06/27/2019 07:28:35 +00:00: An unexpected exception occured during ReceiveMessageAsync()
miner1_1  | System.NullReferenceException: Object reference not set to an instance of an object
miner1_1  |   at NetMQ.Core.SocketBase.ProcessCommands (System.Int32 timeout, System.Boolean throttle) [0x0005c] in <21696b85a92a4a0eb8332ff57aebfd69>:0
miner1_1  |   at NetMQ.Core.SocketBase.TryRecv (NetMQ.Msg& msg, System.TimeSpan timeout) [0x0005c] in <21696b85a92a4a0eb8332ff57aebfd69>:0
miner1_1  |   at NetMQ.NetMQSocket.TryReceive (NetMQ.Msg& msg, System.TimeSpan timeout) [0x00000] in <21696b85a92a4a0eb8332ff57aebfd69>:0
miner1_1  |   at NetMQ.ReceivingSocketExtensions.TryReceiveMultipartMessage (NetMQ.IReceivingSocket socket, System.TimeSpan timeout, NetMQ.NetMQMessage& message, System.Int32 expectedFrameCount) [0x0000f] in <21696b85a92a4a0eb8332ff57aebfd69>:0
miner1_1  |   at NetMQ.ReceivingSocketExtensions.TryReceiveMultipartMessage (NetMQ.IReceivingSocket socket, NetMQ.NetMQMessage& message, System.Int32 expectedFrameCount) [0x00000] in <21696b85a92a4a0eb8332ff57aebfd69>:0
miner1_1  |   at Libplanet.Net.NetMQSocketExtension+<ReceiveMultipartMessageAsync>d__2.MoveNext () [0x00135] in <db72946a132647dbbfa2cd71f397b1ea>:0
miner1_1  | --- End of stack trace from previous location where exception was thrown ---
miner1_1  |   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
miner1_1  |   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
miner1_1  |   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
miner1_1  |   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
miner1_1  |   at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
miner1_1  |   at Libplanet.Net.Swarm+<ReceiveMessageAsync>d__94`1[T].MoveNext () [0x0010f] in <db72946a132647dbbfa2cd71f397b1ea>:0
miner1_1  | 06/27/2019 07:28:35 +00:00: An unexpected exception occured during StartAsync()
miner1_1  | System.NullReferenceException: Object reference not set to an instance of an object
miner1_1  |   at NetMQ.Core.SocketBase.ProcessCommands (System.Int32 timeout, System.Boolean throttle) [0x0005c] in <21696b85a92a4a0eb8332ff57aebfd69>:0
miner1_1  |   at NetMQ.Core.SocketBase.TryRecv (NetMQ.Msg& msg, System.TimeSpan timeout) [0x0005c] in <21696b85a92a4a0eb8332ff57aebfd69>:0
miner1_1  |   at NetMQ.NetMQSocket.TryReceive (NetMQ.Msg& msg, System.TimeSpan timeout) [0x00000] in <21696b85a92a4a0eb8332ff57aebfd69>:0
miner1_1  |   at NetMQ.ReceivingSocketExtensions.TryReceiveMultipartMessage (NetMQ.IReceivingSocket socket, System.TimeSpan timeout, NetMQ.NetMQMessage& message, System.Int32 expectedFrameCount) [0x0000f] in <21696b85a92a4a0eb8332ff57aebfd69>:0
miner1_1  |   at NetMQ.ReceivingSocketExtensions.TryReceiveMultipartMessage (NetMQ.IReceivingSocket socket, NetMQ.NetMQMessage& message, System.Int32 expectedFrameCount) [0x00000] in <21696b85a92a4a0eb8332ff57aebfd69>:0
miner1_1  |   at Libplanet.Net.NetMQSocketExtension+<ReceiveMultipartMessageAsync>d__2.MoveNext () [0x00135] in <db72946a132647dbbfa2cd71f397b1ea>:0
miner1_1  | --- End of stack trace from previous location where exception was thrown ---
miner1_1  |   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
miner1_1  |   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
miner1_1  |   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
miner1_1  |   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
miner1_1  |   at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
miner1_1  |   at Libplanet.Net.Swarm+<ReceiveMessageAsync>d__94`1[T].MoveNext () [0x0024a] in <db72946a132647dbbfa2cd71f397b1ea>:0
miner1_1  | --- End of stack trace from previous location where exception was thrown ---
miner1_1  |   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
miner1_1  |   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
miner1_1  |   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
miner1_1  |   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
miner1_1  |   at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
miner1_1  |   at Libplanet.Net.Swarm+<StartAsync>d__81`1[T].MoveNext () [0x0075f] in <db72946a132647dbbfa2cd71f397b1ea>:0
@longfin longfin added the bug Something isn't working label Jul 1, 2019
@longfin longfin added this to the 0.4.0 milestone Jul 1, 2019
@longfin
Copy link
Member Author

longfin commented Jul 1, 2019

miner1_1  | System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
miner1_1  | Parameter name: index
miner1_1  |   at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
miner1_1  |   at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
miner1_1  |   at System.Collections.Generic.List`1[T].get_Item (System.Int32 index) [0x00009] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
miner1_1  |   at NetMQ.Core.Patterns.Utils.ArrayExtensions.Swap[T] (System.Collections.Generic.List`1[T] items, System.Int32 index1, System.Int32 index2) [0x0000d] in <21696b85a92a4a0eb8332ff57aebfd69>:0
miner1_1  |   at NetMQ.Core.Patterns.Utils.FairQueueing.RecvPipe (NetMQ.Core.Pipe[] pipe, NetMQ.Msg& msg) [0x00074] in <21696b85a92a4a0eb8332ff57aebfd69>:0
miner1_1  |   at NetMQ.Core.Patterns.Router.XRecv (NetMQ.Msg& msg) [0x00077] in <21696b85a92a4a0eb8332ff57aebfd69>:0
miner1_1  |   at NetMQ.Core.SocketBase.TryRecv (NetMQ.Msg& msg, System.TimeSpan timeout) [0x0006b] in <21696b85a92a4a0eb8332ff57aebfd69>:0
miner1_1  |   at NetMQ.NetMQSocket.TryReceive (NetMQ.Msg& msg, System.TimeSpan timeout) [0x00000] in <21696b85a92a4a0eb8332ff57aebfd69>:0
miner1_1  |   at NetMQ.ReceivingSocketExtensions.TryReceiveMultipartMessage (NetMQ.IReceivingSocket socket, System.TimeSpan timeout, NetMQ.NetMQMessage& message, System.Int32 expectedFrameCount) [0x0000f] in <21696b85a92a4a0eb8332ff57aebfd69>:0
miner1_1  |   at NetMQ.ReceivingSocketExtensions.TryReceiveMultipartMessage (NetMQ.IReceivingSocket socket, NetMQ.NetMQMessage& message, System.Int32 expectedFrameCount) [0x00000] in <21696b85a92a4a0eb8332ff57aebfd69>:0
miner1_1  |   at Libplanet.Net.NetMQSocketExtension+<ReceiveMultipartMessageAsync>d__2.MoveNext () [0x00135] in <d32ff1cc50f44e0aabab4d50f386b7bf>:0
miner1_1  | --- End of stack trace from previous location where exception was thrown ---
miner1_1  |   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
miner1_1  |   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
miner1_1  |   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
miner1_1  |   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
miner1_1  |   at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
miner1_1  |   at Libplanet.Net.Swarm+<ReceiveMessageAsync>d__94`1[T].MoveNext () [0x0010f] in <d32ff1cc50f44e0aabab4d50f386b7bf>:0
miner1_1  | 06/27/2019 09:21:52 +00:00: An unexpected exception occured during StartAsync()
miner1_1  | System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
miner1_1  | Parameter name: index
miner1_1  |   at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
miner1_1  |   at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
miner1_1  |   at System.Collections.Generic.List`1[T].get_Item (System.Int32 index) [0x00009] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
miner1_1  |   at NetMQ.Core.Patterns.Utils.ArrayExtensions.Swap[T] (System.Collections.Generic.List`1[T] items, System.Int32 index1, System.Int32 index2) [0x0000d] in <21696b85a92a4a0eb8332ff57aebfd69>:0
miner1_1  |   at NetMQ.Core.Patterns.Utils.FairQueueing.RecvPipe (NetMQ.Core.Pipe[] pipe, NetMQ.Msg& msg) [0x00074] in <21696b85a92a4a0eb8332ff57aebfd69>:0
miner1_1  |   at NetMQ.Core.Patterns.Router.XRecv (NetMQ.Msg& msg) [0x00077] in <21696b85a92a4a0eb8332ff57aebfd69>:0
miner1_1  |   at NetMQ.Core.SocketBase.TryRecv (NetMQ.Msg& msg, System.TimeSpan timeout) [0x0006b] in <21696b85a92a4a0eb8332ff57aebfd69>:0
miner1_1  |   at NetMQ.NetMQSocket.TryReceive (NetMQ.Msg& msg, System.TimeSpan timeout) [0x00000] in <21696b85a92a4a0eb8332ff57aebfd69>:0
miner1_1  |   at NetMQ.ReceivingSocketExtensions.TryReceiveMultipartMessage (NetMQ.IReceivingSocket socket, System.TimeSpan timeout, NetMQ.NetMQMessage& message, System.Int32 expectedFrameCount) [0x0000f] in <21696b85a92a4a0eb8332ff57aebfd69>:0
miner1_1  |   at NetMQ.ReceivingSocketExtensions.TryReceiveMultipartMessage (NetMQ.IReceivingSocket socket, NetMQ.NetMQMessage& message, System.Int32 expectedFrameCount) [0x00000] in <21696b85a92a4a0eb8332ff57aebfd69>:0
miner1_1  |   at Libplanet.Net.NetMQSocketExtension+<ReceiveMultipartMessageAsync>d__2.MoveNext () [0x00135] in <d32ff1cc50f44e0aabab4d50f386b7bf>:0
miner1_1  | --- End of stack trace from previous location where exception was thrown ---
miner1_1  |   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
miner1_1  |   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
miner1_1  |   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
miner1_1  |   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
miner1_1  |   at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
miner1_1  |   at Libplanet.Net.Swarm+<ReceiveMessageAsync>d__94`1[T].MoveNext () [0x0024a] in <d32ff1cc50f44e0aabab4d50f386b7bf>:0
miner1_1  | --- End of stack trace from previous location where exception was thrown ---
miner1_1  |   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
miner1_1  |   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
miner1_1  |   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
miner1_1  |   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
miner1_1  |   at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
miner1_1  |   at Libplanet.Net.Swarm+<StartAsync>d__81`1[T].MoveNext () [0x0075f] in <d32ff1cc50f44e0aabab4d50f386b7bf>:0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants