Prompt shown in ‘On change Reset’ list in a PromptSet allows prompt to be selected as 'On change Reset' causing a NullPointerException in ECC

Document ID : KB000085015
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
java.lang.NullPointerExceptioncom.uc4.ecc.backends.exceptions.AutomationEngineAPIException

Prompt is shown in the “On change Reset” list in a PromptSet.  This allows the prompt to be selected as “On change Reset” of the prompt itself.  If you do so, and start the PromptSet via the ECC you will receive a NullPointerException.

When a Workflow containing a single job calls PromptSet and the Workflow is executed via the Java UserInterface, the PromptSet appears.  If the same Workflow is executed via ECC the above error is displayed.

Dependencies:
The prompt only appears in the "On change Reset" list if you rename the "variable name" before opening the "On change Reset" list from the UserInterface, which causes the exception in the Java API and as a result in the ECC.
Cause:
Cause type:
Defect
Root Cause: The prompt itself is shown in the "On change Reset" list in a PromptSet. This allows that this prompt can be selected as "On change Reset" of the prompt itself. If you do so and start the PromptSet over ECC then you get a NullPointerException.
Resolution:
Update to a fix version listed below or a newer version if available.

Fix Status: Released

Fix Version(s):
Component(s): UserInterface Java, ECC

Automation Engine 12.0.0 - Available
Automation Engine 11.2.1 - Available
Automation Engine 11.1.3 - Available
Additional Information:
Workaround :
1) Remove affected prompt from PromptSet. 2) Save and reopen PromptSet. 3) Add prompt again.