IBM Support

RS03731: CANNOT CLOSE A CHANGE ACTIVITY IF A RULE PACKAGE HAS BEEN MOVED AND ITS PARENT RULE PACKAGE HAS BEEN DELETED

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If you move a rule package and delete its previous parent rule
    package in the same change activity, then trying to complete
    the change activity results in the following error for the end
    user:
    
    "Unable to load /decisioncenter/s/applyOperation?branchId
    =brm.ChangeAct:183:183&operationName=CompleteChanges status:
    500"
    
    and the logs contains an exception ilog.rules.teamserver.m
    odel.IlrInternalException$ShouldNeverHappen
    

Local fix

  • A possible workaround consists in breaking the 2 modifications
    down in 2 different change activities :
    1) move the rule
    package in a new parent rule pachage in a first change activity
    
    2) delete the previous parent rule package in another change
    activity
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users working with governance framework.                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * If you move a rule package and delete its previous parent    *
    * rule package in the same change activity, then trying to     *
    * complete the change activity results in the following error  *
    * for the end user:                                            *
    *                                                              *
    * "Unable to load                                              *
    * /decisioncenter/s/applyOperation?branchId=brm.ChangeAct:183: *
    * 183&operationName=CompleteChanges status: 500"               *
    *                                                              *
    * and the following exceptions in the server log:              *
    *                                                              *
    * [12/23/20 3:41:12:877 PST] 000020f9                          *
    * ilog.rules.teamserver.ejb.service.IlrSessionFacadeImpl       *
    * E parentKeyNotFound                                          *
    * ilog.rules.teamserver.model.IlrInvalidElementException:      *
    * parentKeyNotFound                                            *
    *     at                                                       *
    * ilog.rules.teamserver.ejb.service.dao.IlrElementDAOJDBC.comp *
    * uteLeftAndRight(IlrElementDAOJDBC.java:6231)                 *
    *     at                                                       *
    * ilog.rules.teamserver.ejb.service.dao.IlrElementDAOJDBC.inse *
    * rtAggregatedElement(IlrElementDAOJDBC.java:6040)             *
    *     at                                                       *
    * ilog.rules.teamserver.ejb.service.dao.IlrElementDAOJDBC.inse *
    * rtElement(IlrElementDAOJDBC.java:5177)                       *
    *     at                                                       *
    * ilog.rules.teamserver.ejb.service.dao.IlrElementDAOJDBC.upda *
    * teElement(IlrElementDAOJDBC.java:8140)                       *
    *     at                                                       *
    * ilog.rules.teamserver.ejb.service.IlrSessionFacadeImpl.updat *
    * eElementDetails(IlrSessionFacadeImpl.java:3016)              *
    *     at                                                       *
    * ilog.rules.teamserver.ejb.service.IlrSessionFacadeImpl.commi *
    * tElementDetails(IlrSessionFacadeImpl.java:734)               *
    *     at                                                       *
    * ilog.rules.teamserver.ejb.service.IlrSessionFacadeImpl.commi *
    * t(IlrSessionFacadeImpl.java:1457)                            *
    *     at                                                       *
    * ilog.rules.teamserver.ejb.service.IlrSessionFacadeImpl.commi *
    * t(IlrSessionFacadeImpl.java:1132)                            *
    *     at                                                       *
    * ilog.rules.teamserver.ejb.service.IlrSessionFacadeImpl.commi *
    * t(IlrSessionFacadeImpl.java:9909)                            *
    *     at                                                       *
    * ilog.rules.teamserver.ejb.service.IlrSessionFacadeImpl.copyE *
    * lementToTargetBranchWithoutFrozenCheck(IlrSessionFacadeImpl. *
    * java:8586)                                                   *
    *     at                                                       *
    * ilog.rules.teamserver.ejb.service.IlrSessionFacadeImpl.check *
    * ElementDefinedInBranch(IlrSessionFacadeImpl.java:1110)       *
    *     at                                                       *
    * ilog.rules.teamserver.ejb.service.IlrSessionFacadeImpl.acces *
    * s$5(IlrSessionFacadeImpl.java:1097)                          *
    *     at                                                       *
    * ilog.rules.teamserver.ejb.service.IlrSessionFacadeImpl$35.ru *
    * n(IlrSessionFacadeImpl.java:11863)                           *
    *     at                                                       *
    * ilog.rules.teamserver.ejb.service.IlrSessionFacadeImpl.run(I *
    * lrSessionFacadeImpl.java:9676)                               *
    *     ...                                                      *
    *    at                                                        *
    * ilog.rules.teamserver.ejb.service.IlrSessionFacadeImpl.commi *
    * tBranchMergeToWorkingBaseline(IlrSessionFacadeImpl.java:1197 *
    * 9)                                                           *
    *     at                                                       *
    * ilog.rules.teamserver.ejb.service.IlrSessionFacadeImpl.commi *
    * tBranchMerge(IlrSessionFacadeImpl.java:11720)                *
    *     at                                                       *
    * ilog.rules.teamserver.ejb.service.IlrSessionFacadeImpl.commi *
    * tBranchMerge(IlrSessionFacadeImpl.java:11599)                *
    *     ...                                                      *
    *                                                              *
    * [12/18/20 17:29:19:987 PST] 000b3c2a                         *
    * com.ibm.rules.decisioncenter.exception                       *
    * E null                                                       *
    * ilog.rules.teamserver.model.IlrInternalException$ShouldNever *
    * Happen                                                       *
    *     at                                                       *
    * ilog.rules.teamserver.ejb.service.IlrSessionFacadeImpl.copyE *
    * lementToTargetBranchWithoutFrozenCheck(IlrSessionFacadeImpl. *
    * java:8588)                                                   *
    *     at                                                       *
    * ilog.rules.teamserver.ejb.service.IlrSessionFacadeImpl.check *
    * ElementDefinedInBranch(IlrSessionFacadeImpl.java:1110)       *
    *     at                                                       *
    * ilog.rules.teamserver.ejb.service.IlrSessionFacadeImpl.acces *
    * s$300(IlrSessionFacadeImpl.java:195)                         *
    *     at                                                       *
    * ilog.rules.teamserver.ejb.service.IlrSessionFacadeImpl$35.ru *
    * n(IlrSessionFacadeImpl.java:11862)                           *
    *     at                                                       *
    * ilog.rules.teamserver.ejb.service.IlrSessionFacadeImpl.run(I *
    * lrSessionFacadeImpl.java:9675)                               *
    *     ...                                                      *
    *     at                                                       *
    * ilog.rules.teamserver.model.impl.IlrAbstractSession.run(IlrA *
    * bstractSession.java:2612)                                    *
    *     at                                                       *
    * ilog.rules.teamserver.ejb.service.IlrSessionFacadeImpl.commi *
    * tBranchMergeToWorkingBaseline(IlrSessionFacadeImpl.java:1197 *
    * 8)                                                           *
    *     at                                                       *
    * ilog.rules.teamserver.ejb.service.IlrSessionFacadeImpl.commi *
    * tBranchMerge(IlrSessionFacadeImpl.java:11719)                *
    *     at                                                       *
    * ilog.rules.teamserver.ejb.service.IlrSessionFacadeImpl.commi *
    * tBranchMerge(IlrSessionFacadeImpl.java:11598)                *
    *     ...                                                      *
    *     at                                                       *
    * ilog.rules.teamserver.model.impl.IlrAbstractSession.commitBr *
    * anchMerge(IlrAbstractSession.java:3599)                      *
    *     at                                                       *
    * ilog.rules.teamserver.model.dataaccess.RTSBranchDataProvider *
    * .commitBranchMerge(RTSBranchDataProvider.java:293)           *
    *     at                                                       *
    * ilog.rules.teamserver.model.impl.ApplyMergeRunner.run(ApplyM *
    * ergeRunner.java:60)                                          *
    *     at                                                       *
    * ilog.rules.teamserver.model.BranchHelper.applyMerge(BranchHe *
    * lper.java:207)                                               *
    *     at                                                       *
    * ilog.rules.teamserver.model.governance.commands.CompleteChan *
    * geActivity.apply(CompleteChangeActivity.java:112)            *
    *     at                                                       *
    * ilog.rules.teamserver.model.commands.ConcreteCommand.execute *
    * (ConcreteCommand.java:92)                                    *
    *     at                                                       *
    * ilog.rules.teamserver.model.governance.GovernanceCommand.exe *
    * cute(GovernanceCommand.java:72)                              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • The code is fixed.
    

Temporary fix

  • A possible workaround consists in breaking the 2 modifications
    down in 2 different change activities :
    1) move the rule package in a new parent rule package in a first
    change activity
    2) delete the previous parent rule package in another change
    activity
    

Comments

APAR Information

  • APAR number

    RS03731

  • Reported component name

    WS DECISION CTR

  • Reported component ID

    5725B6900

  • Reported release

    8A0

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-12-24

  • Closed date

    2020-12-29

  • Last modified date

    2020-12-29

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WS DECISION CTR

  • Fixed component ID

    5725B6900

Applicable component levels

  • R8A0 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSQP76","label":"IBM Operational Decision Manager"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8A0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
06 December 2021