eolivelli opened a new issue #9340:
URL: https://github.com/apache/pulsar/issues/9340
**Describe the bug**
I ofter see this error while stopping a "localrun" of a sink with Ctrl-C
```
Exception in thread "main" java.lang.NullPointerException
at org.apache.pulsar.functions.LocalRunner.start(LocalRunner.java:360)
at org.apache.pulsar.functions.LocalRunner.main(LocalRunner.java:168)
```
**To Reproduce**
Steps to reproduce the behavior:
1. Run a sink with localrun and press ctrl-C
**Expected behavior**
No exception to be logged, as it may look quite scary for the user
----------------------------------------------------------------
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:
[email protected]