You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I searched in the issues and found nothing similar.
Read release policy
I understand that unsupported versions don't get bug fixes. I will attempt to reproduce the issue on a supported version of Pulsar client and Pulsar broker.
Version
4.0.1
Minimal reproduce step
/
What did you expect to see?
Nothing
What did you see instead?
Dec 16 11:25:35 yo-pulsar-broker-c3-n4 pulsar[3729204]: 2024-12-16T11:25:35,145+0000 [pulsar-backlog-quota-checker-OrderedScheduler-0-0] ERROR org.apache.pulsar.broker.service.persistent.PersistentTopic - [persistent://orga_2b5d63f2-610f-4f14-8d4e-7ede8fb3a77a/logs/__change_events-partition-0][java.lang.NullPointerException] Error reading entry for update old position
Dec 16 11:25:35 yo-pulsar-broker-c3-n4 pulsar[3729204]: 2024-12-16T11:25:35,145+0000 [pulsar-backlog-quota-checker-OrderedScheduler-0-0] ERROR org.apache.pulsar.broker.service.BrokerService - Error when checkBacklogQuota(persistent://orga_2b5d63f2-610f-4f14-8d4e-7ede8fb3a77a/logs/__change_events-partition-0) in monitorBacklogQuota
Dec 16 11:25:35 yo-pulsar-broker-c3-n4 pulsar[3729204]: java.util.concurrent.CompletionException: java.lang.NullPointerException
Dec 16 11:25:35 yo-pulsar-broker-c3-n4 pulsar[3729204]: at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:332) ~[?:?]
Dec 16 11:25:35 yo-pulsar-broker-c3-n4 pulsar[3729204]: at java.base/java.util.concurrent.CompletableFuture.uniAcceptNow(CompletableFuture.java:747) ~[?:?]
Dec 16 11:25:35 yo-pulsar-broker-c3-n4 pulsar[3729204]: at java.base/java.util.concurrent.CompletableFuture.uniAcceptStage(CompletableFuture.java:735) ~[?:?]
Dec 16 11:25:35 yo-pulsar-broker-c3-n4 pulsar[3729204]: at java.base/java.util.concurrent.CompletableFuture.thenAccept(CompletableFuture.java:2214) ~[?:?]
Dec 16 11:25:35 yo-pulsar-broker-c3-n4 pulsar[3729204]: at org.apache.pulsar.broker.service.BrokerService.lambda$monitorBacklogQuota$111(BrokerService.java:2248) ~[org.apache.pulsar-pulsar-broker-4.0.1.jar:4.0.1]
Dec 16 11:25:35 yo-pulsar-broker-c3-n4 pulsar[3729204]: at org.apache.pulsar.broker.service.BrokerService.lambda$forEachPersistentTopic$106(BrokerService.java:2238) ~[org.apache.pulsar-pulsar-broker-4.0.1.jar:4.0.1]
Dec 16 11:25:35 yo-pulsar-broker-c3-n4 pulsar[3729204]: at java.base/java.util.Optional.ifPresent(Optional.java:178) ~[?:?]
Dec 16 11:25:35 yo-pulsar-broker-c3-n4 pulsar[3729204]: at org.apache.pulsar.broker.service.BrokerService.lambda$forEachPersistentTopic$107(BrokerService.java:2238) ~[org.apache.pulsar-pulsar-broker-4.0.1.jar:4.0.1]
Dec 16 11:25:35 yo-pulsar-broker-c3-n4 pulsar[3729204]: at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) ~[?:?]
Dec 16 11:25:35 yo-pulsar-broker-c3-n4 pulsar[3729204]: at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) ~[?:?]
Dec 16 11:25:35 yo-pulsar-broker-c3-n4 pulsar[3729204]: at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) ~[?:?]
Dec 16 11:25:35 yo-pulsar-broker-c3-n4 pulsar[3729204]: at java.base/java.util.concurrent.ConcurrentHashMap$ValueSpliterator.forEachRemaining(ConcurrentHashMap.java:3612) ~[?:?]
Dec 16 11:25:35 yo-pulsar-broker-c3-n4 pulsar[3729204]: at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?]
Dec 16 11:25:35 yo-pulsar-broker-c3-n4 pulsar[3729204]: at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]
Dec 16 11:25:35 yo-pulsar-broker-c3-n4 pulsar[3729204]: at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) ~[?:?]
Dec 16 11:25:35 yo-pulsar-broker-c3-n4 pulsar[3729204]: at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) ~[?:?]
Dec 16 11:25:35 yo-pulsar-broker-c3-n4 pulsar[3729204]: at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
Dec 16 11:25:35 yo-pulsar-broker-c3-n4 pulsar[3729204]: at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) ~[?:?]
Dec 16 11:25:35 yo-pulsar-broker-c3-n4 pulsar[3729204]: at org.apache.pulsar.broker.service.BrokerService.forEachPersistentTopic(BrokerService.java:2238) ~[org.apache.pulsar-pulsar-broker-4.0.1.jar:4.0.1]
Dec 16 11:25:35 yo-pulsar-broker-c3-n4 pulsar[3729204]: at org.apache.pulsar.broker.service.BrokerService.monitorBacklogQuota(BrokerService.java:2247) ~[org.apache.pulsar-pulsar-broker-4.0.1.jar:4.0.1]
Dec 16 11:25:35 yo-pulsar-broker-c3-n4 pulsar[3729204]: at com.google.common.util.concurrent.MoreExecutors$ScheduledListeningDecorator$NeverSuccessfulListenableFutureTask.run(MoreExecutors.java:741) ~[com.google.guava-guava-32.1.2-jre.jar:?]
Dec 16 11:25:35 yo-pulsar-broker-c3-n4 pulsar[3729204]: at org.apache.bookkeeper.common.util.SingleThreadSafeScheduledExecutorService$SafeRunnable.run(SingleThreadSafeScheduledExecutorService.java:46) ~[org.apache.bookkeeper-bookkeeper-common-4.17.1.jar:4.17.1]
Dec 16 11:25:35 yo-pulsar-broker-c3-n4 pulsar[3729204]: at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572) ~[?:?]
Dec 16 11:25:35 yo-pulsar-broker-c3-n4 pulsar[3729204]: at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:358) ~[?:?]
Dec 16 11:25:35 yo-pulsar-broker-c3-n4 pulsar[3729204]: at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) ~[?:?]
Dec 16 11:25:35 yo-pulsar-broker-c3-n4 pulsar[3729204]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
Dec 16 11:25:35 yo-pulsar-broker-c3-n4 pulsar[3729204]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
Dec 16 11:25:35 yo-pulsar-broker-c3-n4 pulsar[3729204]: at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[io.netty-netty-common-4.1.115.Final.jar:4.1.115.Final]
Dec 16 11:25:35 yo-pulsar-broker-c3-n4 pulsar[3729204]: at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]
Dec 16 11:25:35 yo-pulsar-broker-c3-n4 pulsar[3729204]: Caused by: java.lang.NullPointerException
Anything else?
No response
Are you willing to submit a PR?
I'm willing to submit a PR!
The text was updated successfully, but these errors were encountered:
Search before asking
Read release policy
Version
4.0.1
Minimal reproduce step
/
What did you expect to see?
Nothing
What did you see instead?
Anything else?
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: