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

[BUG] NullPointerException when trying to return variables #73

Open
pmanu93 opened this issue Feb 5, 2020 · 1 comment
Open

[BUG] NullPointerException when trying to return variables #73

pmanu93 opened this issue Feb 5, 2020 · 1 comment

Comments

@pmanu93
Copy link

pmanu93 commented Feb 5, 2020

Hi,

When we try to get variables and one of them are of type List with null value(s), the engine throws a NullPointerException, leading to the impossibility of returning any variable.

The problem is happening in the following line:

This happens every time we save some variable with the value [null].

Could you guys add the validation to check if object is null before trying to get its class type?
Or instead add some validation to prevent persisting variables in that situation?

Thanks in advance,
Pedro Silva

@niekname
Copy link

related to: https://jira.camunda.com/browse/CAM-14331

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants