Skip to content
New issue

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

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

Already on GitHub? # to your account

Unhandled exception - PeerDiscoveryController #7733

Closed
siladu opened this issue Oct 5, 2024 · 0 comments · Fixed by #7743
Closed

Unhandled exception - PeerDiscoveryController #7733

siladu opened this issue Oct 5, 2024 · 0 comments · Fixed by #7743
Labels
bug Something isn't working

Comments

@siladu
Copy link
Contributor

siladu commented Oct 5, 2024

This error has started appearing regularly on our canaries running recent main branch code...

ERROR","thread":"vert.x-eventloop-thread-3","class":"ContextImpl","message":"Unhandled exception","throwable":" java.util.NoSuchElementException
at org.apache.commons.collections4.queue.CircularFifoQueue$1.next(CircularFifoQueue.java:385)
at java.base/java.util.AbstractCollection.contains(AbstractCollection.java:112)
at org.hyperledger.besu.ethereum.p2p.discovery.internal.PeerTable.isIpAddressInvalid(PeerTable.java:217)
at org.hyperledger.besu.ethereum.p2p.discovery.internal.PeerDiscoveryController.checkBeforeAddingToPeerTable(PeerDiscoveryController.java:410)
at org.hyperledger.besu.ethereum.p2p.discovery.internal.PeerDiscoveryController.lambda$onMessage$3(PeerDiscoveryController.java:342)
at java.base/java.util.Optional.ifPresent(Optional.java:178)
at org.hyperledger.besu.ethereum.p2p.discovery.internal.PeerDiscoveryController.onMessage(PeerDiscoveryController.java:336)
at org.hyperledger.besu.ethereum.p2p.discovery.PeerDiscoveryAgent.lambda$handleIncomingPacket$5(PeerDiscoveryAgent.java:306)
at java.base/java.util.Optional.ifPresent(Optional.java:178)
at org.hyperledger.besu.ethereum.p2p.discovery.PeerDiscoveryAgent.handleIncomingPacket(PeerDiscoveryAgent.java:306)
at org.hyperledger.besu.ethereum.p2p.discovery.VertxPeerDiscoveryAgent.lambda$handlePacket$10(VertxPeerDiscoveryAgent.java:303)
at io.vertx.core.impl.future.FutureImpl$4.onSuccess(FutureImpl.java:176)
at io.vertx.core.impl.future.FutureBase.lambda$emitSuccess$0(FutureBase.java:60)
at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:166)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:469)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:405)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:994)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:1583)\n"}

@pinges could it be related to #7626 ?

@siladu siladu added the bug Something isn't working label Oct 5, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant