"Index was outside the bounds of the array" right before connecting to bootnodes on chiado
kamilchodola opened this issue · comments
On chiado very early at startup (right before log with info about connection to bootnodeds/trusted nodes) I got below exception:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Array.Clear(Array array, Int32 index, Int32 length)
at Nethermind.Core.Collections.ArrayPoolList`1.ReduceCount(Int32 count) in /_/src/Nethermind/Nethermind.Core/Collections/ArrayPoolList.cs:line 148
at Nethermind.Network.Discovery.RoutingTable.NodeTable.ClosestNodesFromNodeEnumerator..ctor(NodeBucket[] buckets, Byte[] targetNodeId, INodeDistanceCalculator calculator, Int32 bucketSize) in /_/src/Nethermind/Nethermind.Network.Discovery/RoutingTable/NodeTable.cs:line 184
at Nethermind.Network.Discovery.RoutingTable.NodeTable.GetClosestNodes(Byte[] nodeId, Int32 bucketSize) in /_/src/Nethermind/Nethermind.Network.Discovery/RoutingTable/NodeTable.cs:line 158
at Nethermind.Network.Discovery.Lifecycle.NodeLifecycleManager.ProcessFindNodeMsg(FindNodeMsg msg) in /_/src/Nethermind/Nethermind.Network.Discovery/Lifecycle/NodeLifecycleManager.cs:line 215
at Nethermind.Network.Discovery.DiscoveryManager.OnIncomingMsg(DiscoveryMsg msg) in /_/src/Nethermind/Nethermind.Network.Discovery/DiscoveryManager.cs:line 81