jerrypeng opened a new pull request #3246: Fix: NPE in pulsar source close
URL: https://github.com/apache/pulsar/pull/3246
 
 
   ### Motivation
   
   The following NPE could happen in pulsar source:
   
   ```
   java.lang.NullPointerException: null
   at 
org.apache.pulsar.functions.source.PulsarSource.close(PulsarSource.java:145) 
~[org.apache.pulsar-pulsar-functions-instance-2.3.0-SNAPSHOT.jar:2.3.0-SNAPSHOT]
   at 
org.apache.pulsar.functions.instance.JavaInstanceRunnable.close(JavaInstanceRunnable.java:457)
 [org.apache.pulsar-pulsar-functions-instance-2.3.0-SNAPSHOT.jar:2.3.0-SNAPSHOT]
   at 
org.apache.pulsar.functions.instance.JavaInstanceRunnable.run(JavaInstanceRunnable.java:281)
 [org.apache.pulsar-pulsar-functions-instance-2.3.0-SNAPSHOT.jar:2.3.0-SNAPSHOT]
   at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to