lhotari commented on PR #22034:
URL: https://github.com/apache/pulsar/pull/22034#issuecomment-2068749934

   In branch-3.0 this change is making ClusterMigrationTest fail consistently 
with NPE.
   example: 
https://github.com/apache/pulsar/actions/runs/8778991470/job/24086503436#step:10:1557
   ```
     Error:  
org.apache.pulsar.broker.service.ClusterMigrationTest.testClusterMigration[true,
 Shared](4)  Time elapsed: 87.394 s  <<< FAILURE!
     
org.apache.pulsar.client.api.PulsarClientException$BrokerPersistenceException: 
{"errorMsg":"org.apache.bookkeeper.mledger.ManagedLedgerException$MetaStoreException:
 java.util.concurrent.CompletionException: java.lang.NullPointerException: 
Cannot invoke "org.apache.bookkeeper.client.LedgerHandle.getId()" because 
"this.currentLedger" is null","reqId":1758475176444131959, 
"remote":"localhost/127.0.0.1:43465", "local":"/127.0.0.1:35162"}
        at 
org.apache.pulsar.client.api.PulsarClientException.unwrap(PulsarClientException.java:1083)
        at 
org.apache.pulsar.client.impl.ProducerBuilderImpl.create(ProducerBuilderImpl.java:89)
        at 
org.apache.pulsar.broker.service.ClusterMigrationTest.testClusterMigration(ClusterMigrationTest.java:352)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at 
org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)
        at 
org.testng.internal.invokers.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:47)
        at 
org.testng.internal.invokers.InvokeMethodRunnable.call(InvokeMethodRunnable.java:76)
        at 
org.testng.internal.invokers.InvokeMethodRunnable.call(InvokeMethodRunnable.java:11)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:840)
   ```


-- 
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]

Reply via email to