Decision Management & Intelligence (ODM, DI)

Decision Management & Intelligence (ODM, DI)

Connect with experts and peers to elevate technical expertise, solve problems and share insights

 View Only
Expand all | Collapse all

GBRSM0276E: An unexpected error occurred while generating ruleset archive

  • 1.  GBRSM0276E: An unexpected error occurred while generating ruleset archive

    Posted Mon October 24, 2022 07:32 PM
    Hello,
    We are trying to build-deploy a Decision Service that was originally running on IBM ODM v8.7.
    After migrating to IBM ODM v8.11 and when the project is built to debug the following message is generated:

    GBRSM0276E: An unexpected error occurred while generating the ruleset archive 'E:\.......\.metadata\.plugins\org.eclipse.core.resources\.projects\Project_Name\ilog.rules.studio.launching\ruleArchive22.dsar'

    com.ibm.rules.container.EngineOutlineSerializationException: During the transformation of the implementation of the method 'test4()'
    During the transformations for the implementations of the members of the Class
    'com.ibm.rules.generated.ruleflow.listados.asignarLimitePerfil.flujoLimitePerfil$003eactivo.CondExecEnv'
    : java.lang.ClassCastException: com.ibm.rules.engine.lang.semantics.SemAttributeValue incompatible with com.ibm.rules.engine.lang.semantics.SemConstant

    We have not found any useful information regarding this issue.

    This problem is happening mainly with some decision tables, but also with some action rules.
    If we remove the involved rules, the archive is generated with no issues.

    May somebody have faced this kind of behavior?
    any clue?

    Best regards!!

    ------------------------------
    Salvador Cadena Roa
    ------------------------------


  • 2.  RE: GBRSM0276E: An unexpected error occurred while generating ruleset archive

    Posted Wed October 26, 2022 09:57 AM
    Hello,

    Just in case somebody faces the same problem.

    We have found the cause:

    It was generated for an expression like this in a condition column of a decision table:

    [CDATA[{ 'is special customer' } contiene <un objeto>]]

    where 'is especial customer' pints to a boolean variable.

    We changed the expression for:

    [CDATA[ 'is special customer' is <un objeto>]]

    The same kind of expressions were found on Action Rules


    Regards!

    ------------------------------
    Salvador Cadena Roa
    ------------------------------



  • 3.  RE: GBRSM0276E: An unexpected error occurred while generating ruleset archive

    Posted Wed October 26, 2022 03:47 PM
    Thanks so much for updating in case someone else comes across this. We appreciate it!


    ------------------------------
    Stephanie Wilkerson
    IBM
    ------------------------------