You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/06/07 05:55:32 UTC

[GitHub] [pulsar] eolivelli commented on issue #15375: [Transactions] NullPointerException during Java Client bootstrap

eolivelli commented on issue #15375:
URL: https://github.com/apache/pulsar/issues/15375#issuecomment-1148227341

   new stacktrace, based on 2.10
   
   > 2022-06-06T20:05:07.6976550Z [javatest.batch] 06-06-2022 20:05:07:  ERROR: javax.jms.JMSException: org.apache.pulsar.client.api.PulsarClientException: org.apache.pulsar.client.api.transaction.TransactionCoordinatorClientException: org.apache.pulsar.client.api.PulsarClientException: java.util.concurrent.CompletionException: java.lang.NullPointerException
   > 2022-06-06T20:05:07.6977572Z [javatest.batch] 	at com.datastax.oss.pulsar.jms.Utils.handleException(Utils.java:63)
   > 2022-06-06T20:05:07.6978201Z [javatest.batch] 	at com.datastax.oss.pulsar.jms.PulsarConnectionFactory.ensureInitialized(PulsarConnectionFactory.java:395)
   > 2022-06-06T20:05:07.6978935Z [javatest.batch] 	at com.datastax.oss.pulsar.jms.PulsarConnectionFactory.createConnection(PulsarConnectionFactory.java:472)
   > 2022-06-06T20:05:07.6979736Z [javatest.batch] 	at com.datastax.oss.pulsar.jms.PulsarConnectionFactory.createConnection(PulsarConnectionFactory.java:58)
   > 2022-06-06T20:05:07.6980360Z [javatest.batch] 	at com.sun.ts.tests.jms.common.JmsTool.createCommonQSetup(JmsTool.java:754)
   > 2022-06-06T20:05:07.6980842Z [javatest.batch] 	at com.sun.ts.tests.jms.common.JmsTool.<init>(JmsTool.java:288)
   > 2022-06-06T20:05:07.6981392Z [javatest.batch] 	at com.sun.ts.tests.jms.core20.appclient.jmscontextqueuetests.Client.setup(Client.java:153)
   > 2022-06-06T20:05:07.6981952Z [javatest.batch] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   > 2022-06-06T20:05:07.6982473Z [javatest.batch] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   > 2022-06-06T20:05:07.6983059Z [javatest.batch] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   > 2022-06-06T20:05:07.6983555Z [javatest.batch] 	at java.lang.reflect.Method.invoke(Method.java:498)
   > 2022-06-06T20:05:07.6983955Z [javatest.batch] 	at com.sun.ts.lib.harness.EETest.run(EETest.java:569)
   > 2022-06-06T20:05:07.6984443Z [javatest.batch] 	at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:115)
   > 2022-06-06T20:05:07.6984974Z [javatest.batch] 	at com.sun.ts.tests.common.vehicle.EmptyVehicleRunner.run(EmptyVehicleRunner.java:40)
   > 2022-06-06T20:05:07.6985493Z [javatest.batch] 	at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:105)
   > 2022-06-06T20:05:07.6985953Z [javatest.batch] 	at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:486)
   > 2022-06-06T20:05:07.6986400Z [javatest.batch] 	at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:209)
   > 2022-06-06T20:05:07.6986833Z [javatest.batch] 	at com.sun.ts.lib.harness.EETest.run(EETest.java:285)
   > 2022-06-06T20:05:07.6987298Z [javatest.batch] 	at com.sun.ts.tests.common.vehicle.VehicleClient.main(VehicleClient.java:38)
   > 2022-06-06T20:05:07.6988304Z [javatest.batch] Caused by: org.apache.pulsar.client.api.PulsarClientException: org.apache.pulsar.client.api.transaction.TransactionCoordinatorClientException: org.apache.pulsar.client.api.PulsarClientException: java.util.concurrent.CompletionException: java.lang.NullPointerException
   > 2022-06-06T20:05:07.6989304Z [javatest.batch] 	at org.apache.pulsar.client.impl.PulsarClientImpl.<init>(PulsarClientImpl.java:212)
   > 2022-06-06T20:05:07.6989856Z [javatest.batch] 	at org.apache.pulsar.client.impl.PulsarClientImpl.<init>(PulsarClientImpl.java:145)
   > 2022-06-06T20:05:07.6990425Z [javatest.batch] 	at org.apache.pulsar.client.impl.ClientBuilderImpl.build(ClientBuilderImpl.java:67)
   > 2022-06-06T20:05:07.6991107Z [javatest.batch] 	at com.datastax.oss.pulsar.jms.PulsarConnectionFactory.ensureInitialized(PulsarConnectionFactory.java:380)
   > 2022-06-06T20:05:07.6991572Z [javatest.batch] 	... 17 more
   > 2022-06-06T20:05:07.6992324Z [javatest.batch] Caused by: org.apache.pulsar.client.api.transaction.TransactionCoordinatorClientException: org.apache.pulsar.client.api.PulsarClientException: java.util.concurrent.CompletionException: java.lang.NullPointerException
   > 2022-06-06T20:05:07.6993420Z [javatest.batch] 	at org.apache.pulsar.client.api.transaction.TransactionCoordinatorClientException.unwrap(TransactionCoordinatorClientException.java:131)
   > 2022-06-06T20:05:07.6994384Z [javatest.batch] 	at org.apache.pulsar.client.api.transaction.TransactionCoordinatorClientException.unwrap(TransactionCoordinatorClientException.java:129)
   > 2022-06-06T20:05:07.6995299Z [javatest.batch] 	at org.apache.pulsar.client.impl.transaction.TransactionCoordinatorClientImpl.start(TransactionCoordinatorClientImpl.java:74)
   > 2022-06-06T20:05:07.6996013Z [javatest.batch] 	at org.apache.pulsar.client.impl.PulsarClientImpl.<init>(PulsarClientImpl.java:209)
   > 2022-06-06T20:05:07.6996404Z [javatest.batch] 	... 20 more
   > 2022-06-06T20:05:07.6996925Z [javatest.batch] Caused by: org.apache.pulsar.client.api.PulsarClientException: java.util.concurrent.CompletionException: java.lang.NullPointerException
   > 2022-06-06T20:05:07.6997815Z [javatest.batch] 	at org.apache.pulsar.client.impl.ConnectionHandler.handleConnectionError(ConnectionHandler.java:89)
   > 2022-06-06T20:05:07.6998472Z [javatest.batch] 	at java.util.concurrent.CompletableFuture.uniExceptionally(CompletableFuture.java:884)
   > 2022-06-06T20:05:07.6999098Z [javatest.batch] 	at java.util.concurrent.CompletableFuture.uniExceptionallyStage(CompletableFuture.java:898)
   > 2022-06-06T20:05:07.6999711Z [javatest.batch] 	at java.util.concurrent.CompletableFuture.exceptionally(CompletableFuture.java:2209)
   > 2022-06-06T20:05:07.7000300Z [javatest.batch] 	at org.apache.pulsar.client.impl.ConnectionHandler.grabCnx(ConnectionHandler.java:74)
   > 2022-06-06T20:05:07.7000946Z [javatest.batch] 	at org.apache.pulsar.client.impl.TransactionMetaStoreHandler.<init>(TransactionMetaStoreHandler.java:108)
   > 2022-06-06T20:05:07.7001755Z [javatest.batch] 	at org.apache.pulsar.client.impl.transaction.TransactionCoordinatorClientImpl.lambda$startAsync$0(TransactionCoordinatorClientImpl.java:93)
   > 2022-06-06T20:05:07.7012540Z [javatest.batch] 	at java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:995)
   > 2022-06-06T20:05:07.7013354Z [javatest.batch] 	at java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2137)
   > 2022-06-06T20:05:07.7014134Z [javatest.batch] 	at org.apache.pulsar.client.impl.transaction.TransactionCoordinatorClientImpl.startAsync(TransactionCoordinatorClientImpl.java:82)
   > 2022-06-06T20:05:07.7015046Z [javatest.batch] 	at org.apache.pulsar.client.impl.transaction.TransactionCoordinatorClientImpl.start(TransactionCoordinatorClientImpl.java:72)
   > 2022-06-06T20:05:07.7015588Z [javatest.batch] 	... 21 more
   > 2022-06-06T20:05:07.7016001Z [javatest.batch] Caused by: java.util.concurrent.CompletionException: java.lang.NullPointerException
   > 2022-06-06T20:05:07.7016580Z [javatest.batch] 	at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
   > 2022-06-06T20:05:07.7017182Z [javatest.batch] 	at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
   > 2022-06-06T20:05:07.7017775Z [javatest.batch] 	at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:673)
   > 2022-06-06T20:05:07.7018349Z [javatest.batch] 	at java.util.concurrent.CompletableFuture.uniAcceptStage(CompletableFuture.java:683)
   > 2022-06-06T20:05:07.7018926Z [javatest.batch] 	at java.util.concurrent.CompletableFuture.thenAccept(CompletableFuture.java:2010)
   > 2022-06-06T20:05:07.7019490Z [javatest.batch] 	at org.apache.pulsar.client.impl.ConnectionHandler.grabCnx(ConnectionHandler.java:73)
   > 2022-06-06T20:05:07.7019901Z [javatest.batch] 	... 27 more
   > 2022-06-06T20:05:07.7020215Z [javatest.batch] Caused by: java.lang.NullPointerException
   > 2022-06-06T20:05:07.7020807Z [javatest.batch] 	at org.apache.pulsar.client.impl.TransactionMetaStoreHandler.connectionOpened(TransactionMetaStoreHandler.java:124)
   > 2022-06-06T20:05:07.7021510Z [javatest.batch] 	at org.apache.pulsar.client.impl.ConnectionHandler.lambda$grabCnx$0(ConnectionHandler.java:73)
   > 2022-06-06T20:05:07.7022091Z [javatest.batch] 	at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:670)
   > 2022-06-06T20:05:07.7022467Z [javatest.batch] 	... 30 more


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org