IBM Support

RS00167: ISSUE WITH USING HASHERS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Using hashers may lead to the following type of exception:
    
    
    java.lang.IllegalArgumentException:
    java.lang.ClassCastException@2717b157
          at sun.reflect.GeneratedMethodAccessor268.invoke(Unknown
    Source)
          at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:597)
          at
    ilog.rules.inset.IlrExecComponentPropertyValue.getValue(Unknown
    Source)
          at
    ilog.rules.engine.IlrHashingJoinMem.calculateTailMemoryKey(Unkno
    wn Source)
          at ilog.rules.engine.IlrHashingEqualJoinMem.b(Unknown
    Source)
          at ilog.rules.engine.IlrHashingJoinMem.goto(Unknown
    Source)
          at ilog.rules.engine.IlrBetaMem.new(Unknown Source)
          at ilog.rules.engine.IlrHashingJoinMem.goto(Unknown
    Source)
          at ilog.rules.engine.IlrBetaMem.new(Unknown Source)
          at ilog.rules.engine.IlrRuleMem.T(Unknown Source)
    

Local fix

  • Option1: Remove hasher declarations
    Option2: Prevent Rulesets from being shared by several
    contexts ( through the ruleset property ruleset.shareable=false
    in RES for example )
    

Problem summary

  • Using hashers such as :
      hasher(Product p) = ?p.productSpecId;
      hasher(ProductInstance pi) = ?pi.productSpecId;
    
    certain rules may provoke a class cast exception (in
    particular under multi threaded execution).
    

Problem conclusion

  • Code has been modified to prevent this exception from being
    raised
    

Temporary fix

Comments

APAR Information

  • APAR number

    RS00167

  • Reported component name

    WS ILOG JRULES

  • Reported component ID

    5724X9800

  • Reported release

    670

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-03-19

  • Closed date

    2010-06-28

  • Last modified date

    2010-06-28

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

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

Fix information

  • Fixed component name

    WS ILOG JRULES

  • Fixed component ID

    5724X9800

Applicable component levels

  • R710 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS6MTS","label":"WebSphere ILOG JRules"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.7","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 June 2010