NullPointerException on simple script task

Posted on

Good day!

I would like to discuss such strange exception that has been show up recently. I have simple business process asset with only one script task in it, code :

kcontext.setVariable("Request", Request);
Request.setName("Test");

this code isn't working in ONE business process but works in fresh created SECOND one, how is that possible? I compared business process imports/process variables and so one, both are identical.

Responses