Details
-
Task
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
-
None
Description
Currently you get a NPE without any clue what the problem is. If the camunda_source is not present a proper exception indicating the problem should be thrown.
–
Existing NPE:
java.lang.NullPointerException
at org.camunda.commons.utils.IoUtil.stringAsInputStream(IoUtil.java:58)
at org.camunda.bpm.extension.xslt.XsltScriptEngine.evaluate(XsltScriptEngine.java:106)
at org.camunda.bpm.extension.xslt.XsltCompiledScript.eval(XsltCompiledScript.java:41)
at javax.script.CompiledScript.eval(CompiledScript.java:92)
at org.camunda.bpm.engine.impl.scripting.SourceExecutableScript.evaluateScript(SourceExecutableScript.java:82)
at org.camunda.bpm.engine.impl.scripting.SourceExecutableScript.execute(SourceExecutableScript.java:54)
at org.camunda.bpm.engine.impl.scripting.env.ScriptingEnvironment.execute(ScriptingEnvironment.java:84)
at org.camunda.bpm.engine.impl.scripting.ScriptValueProvider.getValue(ScriptValueProvider.java:35)