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

NullReference during discovery process when syncing #6995

Closed
kamilchodola opened this issue May 8, 2024 · 1 comment · Fixed by #7070
Closed

NullReference during discovery process when syncing #6995

kamilchodola opened this issue May 8, 2024 · 1 comment · Fixed by #7070
Assignees

Comments

@kamilchodola
Copy link
Contributor

During a SnapSync I noticed this Exception appears on mainnet

Error during discovery process: System.NullReferenceException: Object reference not set to an instance of an object.
   at Nethermind.Network.Discovery.RoutingTable.NodeTable.ClosestNodesEnumerator.MoveNext() in /_/src/Nethermind/Nethermind.Network.Discovery/RoutingTable/NodeTable.cs:line 112
   at Nethermind.Network.Discovery.NodesLocator.LocateNodesAsync(Byte[] searchedNodeId, CancellationToken cancellationToken) in /_/src/Nethermind/Nethermind.Network.Discovery/NodesLocator.cs:line 81
   at Nethermind.Network.Discovery.DiscoveryApp.RunDiscoveryProcess() in /_/src/Nethermind/Nethermind.Network.Discovery/DiscoveryApp.cs:line 459

Seems like it does not affect sync but not sure how it would affect peers pool.

@kamilchodola
Copy link
Contributor Author

@benaadams Any fix for that? Still happens on master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants