If create a Class extending ProcessVariable, calling super() in the constructor and setting the Variable Value right after the super() call by using set(VALUE), the ApplicationContext isnt working afterwards. For every call to the ApplicationContext, a NPE is thrown.
Steps to reproduce
Create a Class extending ProcessVariable
Call super() in the overridden Constructor
Call set(0) rigth after the super() call
Try to startup the Application
Observed Behavior
On every (also implicit) call to the ApplicationContext, e.g. bean initialization, a NullPointerException is thrown. The ApplicationContext is unusable.
Expected behavior
A more thought thru ErrorHandling should be implemented to
prevent camunda from crashing the whole Spring ApplicationContext
give the user a more describing error, why this is not working.
Root Cause (Required on prioritization)
Solution Ideas
Hints
Links
Breakdown
### Pull Requests
Dev2QA handover
[ ] Does this ticket need a QA test and the testing goals are not clear from the description? Add a Dev2QA handover comment
Environment
Description
If create a Class extending ProcessVariable, calling super() in the constructor and setting the Variable Value right after the super() call by using set(VALUE), the ApplicationContext isnt working afterwards. For every call to the ApplicationContext, a NPE is thrown.
Steps to reproduce
Observed Behavior
On every (also implicit) call to the ApplicationContext, e.g. bean initialization, a NullPointerException is thrown. The ApplicationContext is unusable.
Expected behavior
A more thought thru ErrorHandling should be implemented to
Root Cause (Required on prioritization)
Solution Ideas
Hints
Links
Breakdown
Dev2QA handover