question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NullPointerException while stopping "links localrun" with Ctrl-C

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
mattisonchaocommented, Nov 11, 2021

I can work on it. 😃

0reactions
eolivellicommented, Nov 20, 2021

Thank you @mattisonchao

Read more comments on GitHub >

github_iconTop Results From Across the Web

java - What is a NullPointerException, and how do I fix it?
The NullPointerException (NPE) typically occurs when you declare a variable but did not create an object and assign it to the variable before...
Read more >
How to Fix and Avoid NullPointerException in Java - Rollbar
NullPointerException in Java occurs when a variable is accessed which is not pointing to any object and refers to nothing or null.
Read more >
PH19003: NULLPOINTEREXCEPTION WHILE STOPPING AN ...
While stopping an applications, beneath error occurs w/o further effects on the application itself.
Read more >
Fusion Global HR: Null Pointer Exception While Performing ...
Fusion Global HR: Null Pointer Exception While Performing Change Assignment Through Deep Link To Other Workers Than Directs (Doc ID 2670313.1).
Read more >
NullPointerException When Trying to Configure Application links
When trying to add the Jira URL in 'Confluence Admin >> Application Links', Confluence throws a NullPointerException.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found