IBM Support

RS01912: DECISION ENGINE ILXJITBADCODEEXCEPTION ON COMPILE JAVA.LANG. BOOLEAN

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Caused by: ilog.jit.code.IlxJITBadCodeException: null in com.
    ibm.rules.generated.ruleflow.tarification.prev_bor.RF_010_PREV_
    BOR$003eprestation_delai.CondExecEnv.evaluateBooleanMethod2
        at ilog.jit.asm.IlxASMMethodTranslator.translateMethod(
    IlxASMMethodTranslator.java:68)
        at ilog.jit.asm.IlxASMClassTranslator.translate(
    IlxASMClassTranslator.java:133)
        at ilog.jit.asm.IlxASMClassBuilder.buildClass(
    IlxASMClassBuilder.java:61)
        at com.ibm.rules.engine.bytecode.SemJitter.compile(
    SemJitter.java:173)
        at com.ibm.rules.engine.bytecode.SemJitter.
    generateJarInStream(SemJitter.java:196)
        at com.ibm.rules.engine.outline.EngineOutlineImpl.
    writeJarInStream(EngineOutlineImpl.java:524)
        at com.ibm.rules.container.EnginePackageOpenXMLProducer.
    writeJar(EnginePackageOpenXMLProducer.java:232)
      public boolean evaluateBooleanMethod2(){
        fr.atom.interne.sante.prestationnature.xom.MCDORFacture `ma
    
    facture` = (fr.atom.interne.sante.prestationnature.xom.
    MCDORFacture)CondExecEnv.this.tupleRegister[0];
        return ((fr.atom.interne.sante.prestationnature.xom.
    MCDORFacture)CondExecEnv.this.tupleRegister[0]).contexteBOR &&
    `ma facture`.contexteBOR.booleanValue().booleanValue();
      }
     <b>contexteBOR </b>is a java.lang.Boolean and not a boolean
    But produces at compile time this exception :
    Caused by: ilog.jit.code.IlxJITBadCodeException: null in com.
    ibm.rules.generated.ruleflow.tarification.prev_bor.RF_010_PREV_
    BOR$003eprestation_delai.CondExecEnv.evaluateBooleanMethod2
        at ilog.jit.asm.IlxASMMethodTranslator.translateMethod(
    IlxASMMethodTranslator.java:68)
        at ilog.jit.asm.IlxASMClassTranslator.translate(
    IlxASMClassTranslator.java:133)
        at ilog.jit.asm.IlxASMClassBuilder.buildClass(
    IlxASMClassBuilder.java:61)
        at com.ibm.rules.engine.bytecode.SemJitter.compile(
    SemJitter.java:173)
        at com.ibm.rules.engine.bytecode.SemJitter.
    generateJarInStream(SemJitter.java:196)
        at com.ibm.rules.engine.outline.EngineOutlineImpl.
    writeJarInStream(EngineOutlineImpl.java:524)
        at com.ibm.rules.container.EnginePackageOpenXMLProducer.
    writeJar(EnginePackageOpenXMLProducer.java:232)
    

Local fix

Problem summary

  • Incorrect rule code generation  for Boolean not implcitely
    unwrapped to boolean.
    

Problem conclusion

  • The code is fixed
    

Temporary fix

Comments

APAR Information

  • APAR number

    RS01912

  • Reported component name

    WDS FOR RULES

  • Reported component ID

    5725B6903

  • Reported release

    870

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-02-25

  • Closed date

    2015-03-07

  • Last modified date

    2015-03-07

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

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

Modules/Macros

  • 999
    

Fix information

  • Fixed component name

    WDS FOR RULES

  • Fixed component ID

    5725B6903

Applicable component levels

  • R870 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":"870","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 February 2022