IBM Support

RS01870: DECISION ENGINE : RUNTIME: NPE ON CONDITION EVALUATION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Some test in the definition part linked by AND are re-ordered,
    leadiing to Null evaluation:
    Caused by: com.ibm.rules.engine.util.EngineExecutionException:
    java.lang.NullPointerException
        at com.ibm.rules.engine.rete.runtime.state.
    AbstractConditionExecEnv.evaluateBooleanMethod(
    AbstractConditionExecEnv.java:78)
        at com.ibm.rules.engine.rete.runtime.network.impl.
    IlrAbstractGeneratorJoinNode.evaluateDiscTest(
    IlrAbstractGeneratorJoinNode.java:471)
        at com.ibm.rules.engine.rete.runtime.network.impl.
    IlrGeneratorCollectionJoinNode.initMemory(
    IlrGeneratorCollectionJoinNode.java:102)
        at com.ibm.rules.engine.rete.runtime.network.impl.
    IlrAbstractGeneratorJoinNode.activate(
    IlrAbstractGeneratorJoinNode.java:100)
        at com.ibm.rules.engine.rete.runtime.network.impl.
    IlrAbstractGeneratorJoinNode.activate(
    IlrAbstractGeneratorJoinNode.java:94)
        at com.ibm.rules.engine.rete.runtime.network.impl.
    IlrAbstractLogicTupleJoinNode.activate(
    IlrAbstractLogicTupleJoinNode.java:125)
        at com.ibm.rules.engine.rete.runtime.network.impl.
    IlrAbstractLogicTupleJoinNode.activate(
    IlrAbstractLogicTupleJoinNode.java:125)
        at com.ibm.rules.engine.rete.runtime.network.impl.
    IlrDynamicRuleActionNode.activate(IlrDynamicRuleActionNode.java:
    
    249)
        at com.ibm.rules.engine.rete.runtime.network.impl.
    IlrStandardNetwork.activateRulesGeneralGroup(IlrStandardNetwork.
    
    java:181)
        at com.ibm.rules.engine.rete.runtime.network.impl.
    IlrStandardNetwork.activateRules(IlrStandardNetwork.java:152)
        at com.ibm.rules.engine.rete.runtime.AbstractReteEngine.
    transiteHardToOngoingState(AbstractReteEngine.java:490)
        at com.ibm.rules.engine.rete.runtime.AbstractReteEngine.
    execute(AbstractReteEngine.java:436)
        at com.ibm.rules.engine.rete.runtime.AbstractReteEngine.
    execute(AbstractReteEngine.java:418)
        at com.ibm.rules.generated.ruleflow.RF_000_Controler$003ecf_
    
    general.Task.run(Unknown Source)
        at com.ibm.rules.generated.ruleflow.RF_000_Controler.Task.
    labelSwitch(Unknown Source)
        at com.ibm.rules.generated.ruleflow.RF_000_Controler.Task.
    body(Unknown Source)
        at com.ibm.rules.generated.ruleflow.RF_000_Controler.Task.
    run(Unknown Source)
        at com.ibm.rules.generated.ruleflow.
    AbstractGeneratedRuleflowEngine.execute(Unknown Source)
        at com.ibm.rules.generated.ruleflow.
    AbstractGeneratedRuleflowEngine.execute(Unknown Source)
        at com.ibm.rules.res.xu.engine.de.internal.DEManager.
    performExecute(DEManager.java:168)
        ... 252 more
    Caused by: java.lang.NullPointerException
        at com.ibm.rules.generated.ruleflow.RF_000_Controler$003ecf_
    
    general.CondExecEnv.evaluateBooleanMethod158(Unknown Source)
        at com.ibm.rules.generated.ruleflow.RF_000_Controler$003ecf_
    
    general.CondExecEnv.$sMethod$12(Unknown Source)
        at com.ibm.rules.generated.ruleflow.RF_000_Controler$003ecf_
    
    general.CondExecEnv.$sMethod$2(Unknown Source)
        at com.ibm.rules.generated.ruleflow.RF_000_Controler$003ecf_
    
    general.CondExecEnv.evaluateBooleanMethodHook(Unknown Source)
        at com.ibm.rules.engine.rete.runtime.state.
    AbstractConditionExecEnv.evaluateBooleanMethod(
    AbstractConditionExecEnv.java:72)
        ... 271 more
    

Local fix

Problem summary

  • when tests are rearranged for optimization some conditions
    becomes  not longer valid
    

Problem conclusion

  • the code generation is fixed
    

Temporary fix

Comments

APAR Information

  • APAR number

    RS01870

  • 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-01-21

  • Closed date

    2015-01-21

  • Last modified date

    2015-01-21

  • 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