bharanic-dev opened a new issue #11521:
URL: https://github.com/apache/pulsar/issues/11521
**Describe the bug**
Under some scenarios, the following NPE exception is seen in Pulsar broker
logs.
{"instant":{"epochSecond":1626050179,"nanoOfSecond":804217000},"thread":"bookkeeper-ml-workers-OrderedExecutor-7-0","level":"ERROR","loggerName":"org.apache.bookkeeper.common.util.SafeRunnable","message":"Unexpected
throwable caught
","thrown":{"commonElementCount":0,"name":"java.lang.NullPointerException","extendedStackTrace":"java.lang.NullPointerException:
null\n\tat
org.apache.bookkeeper.mledger.impl.OpReadEntry.lambda$readEntriesFailed$0(OpReadEntry.java:94)
~[org.apache.pulsar-managed-ledger-2.7.0.SPLK.13655131.jar:2.7.0.SPLK.13655131]\n\tat
org.apache.bookkeeper.mledger.util.SafeRun$1.safeRun(SafeRun.java:32)
~[org.apache.pulsar-managed-ledger-2.7.0.SPLK.13655131.jar:2.7.0.SPLK.13655131]\n\tat
org.apache.bookkeeper.common.util.SafeRunnable.run(SafeRunnable.java:36)
[org.apache.bookkeeper-bookkeeper-common-4.11.0.SPLK.12804275.jar:?]\n\tat
org.apache.bookkeeper.common.util.OrderedExecutor$TimedRunnable.run(OrderedExecutor.java:203)
[org.apache.bookkeeper-bookkeeper-common-4.
11.0.SPLK.12804275.jar:?]\n\tat
org.apache.bookkeeper.common.util.OrderedExecutor$TimedRunnable.run(OrderedExecutor.java:203)
[org.apache.bookkeeper-bookkeeper-common-4.11.0.SPLK.12804275.jar:?]\n\tat
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
[?:?]\n\tat
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[?:?]\n\tat
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
[io.netty-netty-common-4.1.60.Final.jar:4.1.60.Final]\n\tat
java.lang.Thread.run(Thread.java:834)
[?:?]\n"},"endOfBatch":false,"loggerFqcn":"org.apache.logging.slf4j.Log4jLogger","contextMap":{},"threadId":99,"threadPriority":5,"time":"2021-07-12T00:02:30Z","service":"pulsar","hostname":"broker-2"}
**To Reproduce**
Currently, I don't have a reliable way to reproduce the problem.
**Expected behavior**
No NPE
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]