Support Article

Unexpected error when creating new application

SA-23385

Summary



With the Application Wizard, user created a new application on top of the custom framework
After clicking “Create” user witnesses error.


Error Messages


There was an error generating the application.
A RULE-APPLICATION could not be saved due to 2 errors on it: pyRuleSetList(6): the ruleset YourRuleSet:01-01 has already been specified .pyRuleSetList(7): the ruleset YourRuleSet:01-01 has already been specified


Steps to Reproduce

  1. Launch the New Application Wizard (Application > New Application).
  2. Click on the "Create new application" button.
  3. Select the custom framework in the "Built on application" drop-down list.
  4. Fill other fields of the form with values appropriate for your case.
  5. Follow the wizard till the last step then click  "Create".


Root Cause



An issue in the custom application code or rules: The new application ruleset stack failed to validate due to the presence of a duplicated ruleset in the generated stack. 
The ruleset YourRuleSet  was present with two versions (01-01 and 01-02) in the generated stack. Version 01-02 was the latest version available and the only one to be expected in the stack.

Resolution



Perform the following local-change:
 
  1. Inspect the built on application rulesets prerequisites and their descendants to ensure that only one version of ruleset YourRuleSet is referenced.
  2. Update any reference to other versions of the ruleset to the expected version.

 

Suggest Edit

Published May 25, 2016 - Updated October 8, 2020

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.