Business Process Script (BPS) Context Point: Null Pointer Exception

Business Process Script (BPS) Context Point: Null Pointer Exception


Scenario:

A new EXTOL Ruleset and new EXTOL Outbound Collaboration Business Process Script has been created. When the AARS (Application Analysis Ruleset) Launcher BPS is launched, we receive the error: unrecoverable error during the transformation step

Issue:

In the EXTOL Outbound Collaboration Business Process Script we are setting the value in a Context Point. The variable name value (glb.var.PNID_constant) does not match the actual variable name in the ruleset.


EXTOL EBI Outbound Collaboration Business Process Script context point screenshot

EXTOL error message:


In the EXTOL Auditor we see the error "unrecoverable error during the transformation step"

JBoss server.log
2013-12-17 10:28:18,487 FATAL [com.extol.processcontrol.engine2.tasks.TransformTask] There was an unrecoverable error during the transformation step.
Exception detail:
java.lang.NullPointerException
at com.extol.transformationrules.ContextPoint2.a(ContextPoint2.java:179)
at com.extol.transformationrules.ContextPoint2.toExternalFormat(ContextPoint2.java:178)
at com.extol.processcontrol.engine2.tasks.TransformTask.i(TransformTask.java:396)



Resolution:

Review the ruleset and the BPS to ensure that the CONTEXT POINT-SET VALUE match the ruleset value.



By: on
load('http://www.extol.com/extolnews.rss'); $feed = array(); foreach ($rss->getElementsByTagName('item') as $node) { $item = array ( 'title' => $node->getElementsByTagName('title')->item(0)->nodeValue, 'desc' => $node->getElementsByTagName('description')->item(0)->nodeValue, 'link' => $node->getElementsByTagName('link')->item(0)->nodeValue, 'date' => $node->getElementsByTagName('pubDate')->item(0)->nodeValue, ); array_push($feed, $item); } $limit = 4; echo ' A free web counter provided by GoStats.