Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If Job Handler throws a NPE, incident is not raised in Operate #2564

Closed
jwulf opened this issue May 31, 2019 · 0 comments

Comments

2 participants
@jwulf
Copy link
Collaborator

commented May 31, 2019

If a job handler using the Java client throws a Null Pointer Exception, no message is available to the fail command builder. If there are no retries left, no incident is raised.

See: https://forum.zeebe.io/t/if-nullpointer-error-happen-in-jobhandler-no-incident-send/453/3

jwulf added a commit that referenced this issue May 31, 2019

jwulf added a commit that referenced this issue May 31, 2019

zeebe-bors bot added a commit that referenced this issue Jun 5, 2019

Merge #2565 #2580
2565: Add default message for NPE case. Fixes #2564. r=menski a=jwulf

closes #2564 

* Add a default message if the job handler throws a Null Pointer Exception.


2580: Allow to enable debug exporter by environment variable r=Zelldon a=menski

- set environment variable `ZEEBE_DEBUG` to any value to enable the exporter
- set `ZEEBE_DEBUG=pretty` to enable pretty print
- the variable value is checked case insensitive


closes #2579 


Co-authored-by: Josh Wulf <josh@magikcraft.io>
Co-authored-by: Sebastian Menski <sebastian.menski@camunda.com>

@zeebe-bors zeebe-bors bot closed this in #2565 Jun 5, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.