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 2019/07/28 08:38:05 UTC

[GitHub] [pulsar] sijie opened a new issue #4838: NPE is thrown when a consumer consumes a partitioned topic with struct schema

sijie opened a new issue #4838: NPE is thrown when a consumer consumes a partitioned topic with struct schema
URL: https://github.com/apache/pulsar/issues/4838
 
 
   **Describe the bug**
   
   NPE is thrown when a consumer consumes a partitioned topic (which doesn't have any registered schema) with struct schema.
   
   ```
   Caused by: java.util.concurrent.ExecutionException: java.lang.NullPointerException
   	at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
   	at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1895)
   	at org.apache.pulsar.client.impl.ConsumerBuilderImpl.subscribe(ConsumerBuilderImpl.java:89)
   	... 29 more
   Caused by: java.lang.NullPointerException
   	at org.apache.pulsar.client.impl.PulsarClientImpl.preProcessSchemaBeforeSubscribe(PulsarClientImpl.java:749)
   	at org.apache.pulsar.client.impl.PulsarClientImpl.singleTopicSubscribeAsync(PulsarClientImpl.java:332)
   	at org.apache.pulsar.client.impl.PulsarClientImpl.subscribeAsync(PulsarClientImpl.java:324)
   	at org.apache.pulsar.client.impl.ConsumerBuilderImpl.subscribeAsync(ConsumerBuilderImpl.java:107)
   	... 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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services