IBM Support

RS02647: AGGREGATION COMPILATION NOT WORKING WHEN THERE IS ENGINE SHARING IN FASTPATH

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When exporting the solution as a ruleset archive inside rule
    designer and decision center the following exception is thrown
    Caused by: java.lang.NullPointerException
           at com.ibm.rules.engine.lang.semantics.transform.member.
    SemAttributeCopier.getBuiltInAttribute(SemAttributeCopier.java:
    283)
           at com.ibm.rules.engine.lang.semantics.transform.member.
    SemAttributeCopier.getTransformedOrBuiltInAttribute(
    SemAttributeCopier.java:275)
           at com.ibm.rules.engine.lang.semantics.transform.member.
    SemAttributeCopier.transformAttributeValue(SemAttributeCopier.
    java:139)
           at com.ibm.rules.engine.lang.semantics.transform.
    SemMainLangTransformer.transformAttributeValue(
    SemMainLangTransformer.java:399)
           at com.ibm.rules.engine.lang.semantics.transform.
    BaseTransformer.mainTransformAttributeValue(BaseTransformer.
    java:164)
           at com.ibm.rules.engine.lang.semantics.transform.value.
    SemValueCopier.visit(SemValueCopier.java:103)
           at com.ibm.rules.engine.lang.semantics.transform.value.
    SemValueCopier.visit(SemValueCopier.java:52)
           at com.ibm.rules.engine.lang.semantics.SemAttributeValue.
    accept(SemAttributeValue.java:97)
           at com.ibm.rules.engine.lang.semantics.transform.value.
    SemValueCopier.transformValue(SemValueCopier.java:68)
    Using the assertion check you will have another exception:
    java.lang.AssertionError
        at com.ibm.rules.engine.lang.semantics.SemAttributeValue.
    <init>(SemAttributeValue.java:38)
        at com.ibm.rules.engine.lang.semantics.
    SemLanguageFactoryImpl.attributeValue(SemLanguageFactoryImpl.
    java:71)
        at com.ibm.rules.engine.fastpath.compiler.
    SemAggregateCompiler.visit(SemAggregateCompiler.java:136)
        at com.ibm.rules.engine.fastpath.compiler.
    SemAggregateCompiler.visit(SemAggregateCompiler.java:244)
        at com.ibm.rules.engine.fastpath.semantics.SemStoreForeach.
    accept(SemStoreForeach.java:48)
        at com.ibm.rules.engine.fastpath.compiler.
    SemAggregateCompiler.visit(SemAggregateCompiler.java:281)
        at com.ibm.rules.engine.fastpath.semantics.SemAggregateNode.
    accept(SemAggregateNode.java:86)
        at com.ibm.rules.engine.fastpath.compiler.
    SemAggregateCompiler.compile(SemAggregateCompiler.java:315)
        at com.ibm.rules.engine.fastpath.compiler.
    SemFastpathCompiler.visit(SemFastpathCompiler.java:803)
        at com.ibm.rules.engine.fastpath.semantics.SemAggregateNode.
    accept(SemAggregateNode.java:86)
        at com.ibm.rules.engine.fastpath.compiler.
    SemFastpathCompiler.visit(SemFastpathCompiler.java:843)
        at com.ibm.rules.engine.fastpath.semantics.SemSeqNode.
    accept(SemSeqNode.java:67)
        at com.ibm.rules.engine.fastpath.compiler.
    SemSpecializedCompiler.visitTrueNode(SemSpecializedCompiler.
    java:535)
        at com.ibm.rules.engine.fastpath.compiler.
    SemFastpathCompiler.visit(SemFastpathCompiler.java:456)
        at com.ibm.rules.engine.fastpath.semantics.SemMemoryForeach.
    accept(SemMemoryForeach.java:60)
        at com.ibm.rules.engine.fastpath.compiler.
    SemSpecializedCompiler.visitTrueNode(SemSpecializedCompiler.
    java:535)
        at com.ibm.rules.engine.fastpath.compiler.
    SemFastpathCompiler.visit(SemFastpathCompiler.java:558)
        at com.ibm.rules.engine.fastpath.semantics.SemAddMemory.
    accept(SemAddMemory.java:67)
        at com.ibm.rules.engine.fastpath.compiler.
    SemFastpathCompiler.visit(SemFastpathCompiler.java:843)
        at com.ibm.rules.engine.fastpath.semantics.SemSeqNode.
    accept(SemSeqNode.java:67)
    

Local fix

  • To workaround the issue, you can duplicate the set of rules
    that is being used in multiple places into another package to
    prevent the engine sharing between the two tasks.
    You will then be able to perform the export.
    

Problem summary

  • Incorrect translation for working memory attributes using lead
    to this exception
    

Problem conclusion

  • the code is fixed
    

Temporary fix

Comments

APAR Information

  • APAR number

    RS02647

  • Reported component name

    WS DECISION CTR

  • Reported component ID

    5725B6900

  • Reported release

    881

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-02-16

  • Closed date

    2017-04-29

  • Last modified date

    2017-04-29

  • 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

    WS DECISION CTR

  • Fixed component ID

    5725B6900

Applicable component levels

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

Document Information

Modified date:
11 January 2022