IBM Support

RS03953: IF THERE IS A VALUE IN EXPECTEDVALUE THE ACTUAL VALUE CANNOT BE NULL

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • When executing a Test Suite, if there is a value in
    expectedValue the actual value cannot be null.
    
    java.lang.reflect.InvocationTargetException
    java.lang.RuntimeException:
    java.lang.reflect.InvocationTargetException at com.ibm.rules.cd
    i.testing.CollectionUtils.objectEquals(CollectionUtils.java:225)
    llectionUtils.java:100)at com.ibm.rules.cdi.testing.CollectionUt
    ordered(CollectionUtils.java:199)at
    com.ibm.rules.generated.EngineDataClass.expectedResult_0(Unknown
    Source) at com.ibm.rules.generated.EngineDataClass.com_ibm_rule
    s_cdi_evaluateTests(UnknownSource) at sun.reflect.NativeMethodAc
    Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMe
    thodAccessorImpl.java:90)at sun.reflect.DelegatingMethodAccessor
    thodAccessorImpl.java:55)at java.lang.reflect.Method.invoke(Meth
    rules.res.xu.engine.de.internal.DEManager.invokeFunction(DEMana
    ger.java:658)at ilog.rules.res.xu.spi.IlrManagedXUConnection.eng
    ction(IlrManagedXUConnection.java:1084)at ilog.rules.res.xu.cci.
    lrXUConnection.java:702)
    

Local fix

  • Remove the test or put a value only when one will be generated
    by the rules
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users running Test Suite.                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When executing a Test Suite, if there is a value in          *
    * expectedValue the actual value cannot be null.               *
    *                                                              *
    * java.lang.reflect.InvocationTargetException                  *
    * java.lang.RuntimeException:                                  *
    * java.lang.reflect.InvocationTargetException at               *
    * com.ibm.rules.cdi.testing.CollectionUtils.objectEquals(Colle *
    * ctionUtils.java:225)                                         *
    * at                                                           *
    * com.ibm.rules.cdi.testing.CollectionUtils.collectionMatch(Co *
    * llectionUtils.java:100) at                                   *
    * com.ibm.rules.cdi.testing.CollectionUtils.collectionEqualsUn *
    * ordered(CollectionUtils.java:199)                            *
    * at                                                           *
    * com.ibm.rules.generated.EngineDataClass.expectedResult_0(Unk *
    * nown Source) at                                              *
    * com.ibm.rules.generated.EngineDataClass.com_ibm_rules_cdi_ev *
    * aluateTests(Unknown Source)                                  *
    * at sun.reflect.NativeMethodAccessorImpl.invoke0(Native       *
    * Method) at                                                   *
    * sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce *
    * ssorImpl.java:90)                                            *
    * at                                                           *
    * sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe *
    * thodAccessorImpl.java:55) at                                 *
    * java.lang.reflect.Method.invoke(Method.java:508)             *
    * at                                                           *
    * com.ibm.rules.res.xu.engine.de.internal.DEManager.invokeFunc *
    * tion(DEManager.java:658)                                     *
    * at                                                           *
    * ilog.rules.res.xu.spi.IlrManagedXUConnection.engineInvokeFun *
    * ction(IlrManagedXUConnection.java:1084)                      *
    * at                                                           *
    * ilog.rules.res.xu.cci.IlrXUConnection.engineInvokeFunction(I *
    * lrXUConnection.java:702)                                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • The problem occurs only for boxed type with a value of 'null'
    that are compared to a non-null expected value, the code is
    fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    RS03953

  • Reported component name

    WS DECISION CTR

  • Reported component ID

    5725B6900

  • Reported release

    8A0

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-08-22

  • Closed date

    2023-02-15

  • Last modified date

    2023-02-15

  • 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 DECISION CTR

  • Fixed component ID

    5725B6900

Applicable component levels

[{"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":"8A0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 February 2023