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

Null pointer Exception warning in the logs #8104

Open
pgeorgiadis opened this issue Jan 10, 2025 · 0 comments
Open

Null pointer Exception warning in the logs #8104

pgeorgiadis opened this issue Jan 10, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@pgeorgiadis
Copy link

Steps to Reproduce

  1. Install besu in a fresh installation of ubuntu 24.04 LTS
  2. Start the besu service and let it start syncing
  3. Check the logs

Expected behavior: Warning appears in the logs

Actual behavior: Warning about NPE appears in the logs

Frequency: Every 10 minutes

Logs

2025-01-10 17:39:44.429+01:00 | vert.x-eventloop-thread-3 | WARN  | DefaultChannelPipeline | An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.
java.lang.NullPointerException: Cannot invoke "io.netty.handler.codec.dns.DefaultDnsQuestion.name()" because "question" is null
        at io.vertx.core.dns.impl.DnsClientImpl$1.channelRead0(DnsClientImpl.java:88)
        at io.vertx.core.dns.impl.DnsClientImpl$1.channelRead0(DnsClientImpl.java:84)
        at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
        at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:107)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
        at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1357)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
        at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:868)
        at io.netty.channel.epoll.EpollDatagramChannel.processPacket(EpollDatagramChannel.java:662)
        at io.netty.channel.epoll.EpollDatagramChannel.recvmsg(EpollDatagramChannel.java:697)
        at io.netty.channel.epoll.EpollDatagramChannel.access$300(EpollDatagramChannel.java:56)
        at io.netty.channel.epoll.EpollDatagramChannel$EpollDatagramChannelUnsafe.epollInReady(EpollDatagramChannel.java:536)
        at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:501)
        at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:399)
        at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
        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)

Versions (Add all that apply)

  • Software version: besu/v24.12.2/linux-aarch_64/openjdk-java-21
  • Java version: openjdk version "21.0.5" 2024-10-15
  • OS Name & Version: Ubuntu 24.04.1 LTS
  • Kernel Version: 6.8.0-51-generic
  • Virtual Machine software & version: -
  • Docker Version: -
  • Cloud VM, type, size: -
  • Consensus Client & Version if using Proof of Stake: -
@pgeorgiadis pgeorgiadis added the bug Something isn't working label Jan 10, 2025
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

No branches or pull requests

1 participant