IBM Support

RS03485: ILLEGALARGUMENTEXCEPTION ERROR WHEN TRYING TO MERGE TWO BRANCHESIN THE BC

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The following stack trace is printed server side.
    10/8/19 0:11:56:997 PDT] 0000008f exception     E   Comparison
    method violates its general contract!
    
    java.lang.IllegalArgumentException: Comparison method violates
    its general contract!
            at java.util.TimSort.mergeLo(TimSort.java:763)
            at java.util.TimSort.mergeAt(TimSort.java:499)
            at
    java.util.TimSort.mergeForceCollapse(TimSort.java:442)
            at java.util.TimSort.sort(TimSort.java:239)
            at java.util.TimSort.sort(TimSort.java:189)
            at java.util.Arrays.sort(Arrays.java:867)
            at java.util.Collections.sort(Collections.java:229)
            at
    ilog.rules.teamserver.model.merge.MergeUtils.sortTree(MergeUtils
    .java:355)
            at
    ilog.rules.teamserver.model.merge.MergeUtils.sortTree(MergeUtils
    .java:352)
            at
    ilog.rules.teamserver.model.merge.MergeUtils.TreeifyDiffs(MergeU
    tils.java:190)
            at
    com.ibm.rules.decisioncenter.web.core.merge.MergeController.getD
    iffsToMerge(MergeController.java:310)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)
            at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:95)
            at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:56)
            at java.lang.reflect.Method.invoke(Method.java:620)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Decision Center users merging branches.                      *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Differences to merge not following contract of Comparable to *
    * avoid IllegalArgumentException                               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • The code was fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    RS03485

  • Reported component name

    WS DECISION CTR

  • Reported component ID

    5725B6900

  • Reported release

    892

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-10-09

  • Closed date

    2019-10-11

  • Last modified date

    2019-10-11

  • 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

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

Document Information

Modified date:
24 November 2021