Decision Management (ODM,ADS)

 View Only
  • 1.  Error exporting ruleset archive

    Posted Mon April 18, 2022 12:26 PM
    We have switch the rule engine from Classic Rule Engine to Decision Engine. We have done all required IRL to ARL changes and we have the Decision Service without any error. 
    However when we are trying to export the ruleset archive we are getting the following Cast to long error.

    An error occurred during the export of the ruleset archive.
    com.ibm.rules.engine.bytecode.asm.coding.ErrorCodingException: Could not cast ((com.ibm.rules.generated.EngineDataClass)this#com.ibm.rules.generated.ruleflow.HPS003eHachlat3S0020Sofit.SEQEngine#.getEngineD3taO).iLcoJsracard_meah_business_domain_TzevaDomain_getJavan() to long((long)

    Any suggestion how to solve this issue ?

    Thanks.

    ------------------------------
    Sandro Nora
    ------------------------------


  • 2.  RE: Error exporting ruleset archive

    Posted Mon April 18, 2022 01:44 PM
    Hi,

    This is most likely coming from code in B2X not written as expected. 
    What is the type of the method meah.business.domain.TzevaDomain.getJavan() ; is there an expression somewhere in B2X that tries to convert its return to a long?
    It is difficult to be specific  on this type of issue without seeing the code, you might have to contact the ODM Support Team if you can't find the problem in the b2x code.

    ------------------------------
    Alain Robert
    ------------------------------