eolivelli opened a new issue, #15375: URL: https://github.com/apache/pulsar/issues/15375
**Describe the bug** I have seen this error, using 2.10.0 Java client, and the Java Client fails to create ``` 2022-04-28T16:52:57.1236246Z [javatest.batch] Caused by: org.apache.pulsar.client.api.PulsarClientException: org.apache.pulsar.client.api.transaction.TransactionCoordinatorClientException: org.apache.pulsar.clien t.api.PulsarClientException: java.util.concurrent.CompletionException: java.lang.NullPointerException 2022-04-28T16:52:57.1237108Z [javatest.batch] at org.apache.pulsar.client.impl.PulsarClientImpl.<init>(PulsarClientImpl.java:208) 2022-04-28T16:52:57.1237597Z [javatest.batch] at org.apache.pulsar.client.impl.PulsarClientImpl.<init>(PulsarClientImpl.java:141) 2022-04-28T16:52:57.1238075Z [javatest.batch] at org.apache.pulsar.client.impl.ClientBuilderImpl.build(ClientBuilderImpl.java:67) 2022-04-28T16:52:57.1238655Z [javatest.batch] at com.datastax.oss.pulsar.jms.PulsarConnectionFactory.ensureInitialized(PulsarConnectionFactory.java:360) 2022-04-28T16:52:57.1239075Z [javatest.batch] ... 17 more 2022-04-28T16:52:57.1239709Z [javatest.batch] Caused by: org.apache.pulsar.client.api.transaction.TransactionCoordinatorClientException: org.apache.pulsar.client.api.PulsarClientException: java.util.concurrent.Co mpletionException: java.lang.NullPointerException 2022-04-28T16:52:57.1240649Z [javatest.batch] at org.apache.pulsar.client.api.transaction.TransactionCoordinatorClientException.unwrap(TransactionCoordinatorClientException.java:131) 2022-04-28T16:52:57.1241483Z [javatest.batch] at org.apache.pulsar.client.api.transaction.TransactionCoordinatorClientException.unwrap(TransactionCoordinatorClientException.java:129) 2022-04-28T16:52:57.1242286Z [javatest.batch] at org.apache.pulsar.client.impl.transaction.TransactionCoordinatorClientImpl.start(TransactionCoordinatorClientImpl.java:70) 2022-04-28T16:52:57.1242913Z [javatest.batch] at org.apache.pulsar.client.impl.PulsarClientImpl.<init>(PulsarClientImpl.java:205) 2022-04-28T16:52:57.1243238Z [javatest.batch] ... 20 more 2022-04-28T16:52:57.1243686Z [javatest.batch] Caused by: org.apache.pulsar.client.api.PulsarClientException: java.util.concurrent.CompletionException: java.lang.NullPointerException 2022-04-28T16:52:57.1244326Z [javatest.batch] at org.apache.pulsar.client.impl.ConnectionHandler.handleConnectionError(ConnectionHandler.java:89) 2022-04-28T16:52:57.1244919Z [javatest.batch] at java.util.concurrent.CompletableFuture.uniExceptionally(CompletableFuture.java:884) 2022-04-28T16:52:57.1245444Z [javatest.batch] at java.util.concurrent.CompletableFuture.uniExceptionallyStage(CompletableFuture.java:898) 2022-04-28T16:52:57.1245976Z [javatest.batch] at java.util.concurrent.CompletableFuture.exceptionally(CompletableFuture.java:2209) 2022-04-28T16:52:57.1246490Z [javatest.batch] at org.apache.pulsar.client.impl.ConnectionHandler.grabCnx(ConnectionHandler.java:74) 2022-04-28T16:52:57.1247091Z [javatest.batch] at org.apache.pulsar.client.impl.TransactionMetaStoreHandler.<init>(TransactionMetaStoreHandler.java:105) 2022-04-28T16:52:57.1247794Z [javatest.batch] at org.apache.pulsar.client.impl.transaction.TransactionCoordinatorClientImpl.lambda$startAsync$0(TransactionCoordinatorClientImpl.java:89) 2022-04-28T16:52:57.1248456Z [javatest.batch] at java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:995) 2022-04-28T16:52:57.1248959Z [javatest.batch] at java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2137) 2022-04-28T16:52:57.1249595Z [javatest.batch] at org.apache.pulsar.client.impl.transaction.TransactionCoordinatorClientImpl.startAsync(TransactionCoordinatorClientImpl.java:78) 2022-04-28T16:52:57.1250441Z [javatest.batch] at org.apache.pulsar.client.impl.transaction.TransactionCoordinatorClientImpl.start(TransactionCoordinatorClientImpl.java:68) 2022-04-28T16:52:57.1250917Z [javatest.batch] ... 21 more 2022-04-28T16:52:57.1251269Z [javatest.batch] Caused by: java.util.concurrent.CompletionException: java.lang.NullPointerException 2022-04-28T16:52:57.1251779Z [javatest.batch] at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273) 2022-04-28T16:52:57.1252302Z [javatest.batch] at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280) 2022-04-28T16:52:57.1252795Z [javatest.batch] at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:673) 2022-04-28T16:52:57.1253287Z [javatest.batch] at java.util.concurrent.CompletableFuture.uniAcceptStage(CompletableFuture.java:683) 2022-04-28T16:52:57.1253768Z [javatest.batch] at java.util.concurrent.CompletableFuture.thenAccept(CompletableFuture.java:2010) 2022-04-28T16:52:57.1254270Z [javatest.batch] at org.apache.pulsar.client.impl.ConnectionHandler.grabCnx(ConnectionHandler.java:73) 2022-04-28T16:52:57.1254624Z [javatest.batch] ... 27 more 2022-04-28T16:52:57.1254894Z [javatest.batch] Caused by: java.lang.NullPointerException 2022-04-28T16:52:57.1255399Z [javatest.batch] at org.apache.pulsar.client.impl.TransactionMetaStoreHandler.connectionOpened(TransactionMetaStoreHandler.java:121) 2022-04-28T16:52:57.1256010Z [javatest.batch] at org.apache.pulsar.client.impl.ConnectionHandler.lambda$grabCnx$0(ConnectionHandler.java:73) 2022-04-28T16:52:57.1256510Z [javatest.batch] at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:670) 2022-04-28T16:52:57.1256835Z [javatest.batch] ... 30 more ``` **To Reproduce** I am not able to reproduce it consistently **Expected behavior** No error -- 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]
