Highlighted
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor
133 views

Comparison Method Violates the general contract

hi Team,

We came across this issue few days before . Whenever we try to access few flows , it pops this error "Comparison Method Violates it's general contract" message . We are using Operations Orchestration 2018.11 studio connected to Git repo .When we package the flows deploy them in central, it's working fine. All other flows are accessible and working as is. Has anyone come across this issue before ? 

 

here is the error log :

com.iconclude.dharma.commons.exception.DharmaException: java.lang.IllegalArgumentException: Comparison method violates its general contract!

              at com.iconclude.dharma.app.editors.flow.FlowEditor.<init>(FlowEditor.java:290)

              at com.iconclude.dharma.app.SetupEditors$13$1.<init>(SetupEditors.java:223)

              at com.iconclude.dharma.app.SetupEditors$13.createEditor(SetupEditors.java:223)

              at com.iconclude.dharma.app.JIDEDesktopManager.displayEditorForSubject(JIDEDesktopManager.java:495)

              at com.iconclude.dharma.app.OperationStudio._editObject(OperationStudio.java:3399)

              at com.iconclude.dharma.app.OperationStudio$19.doExecute(OperationStudio.java:3357)

              at com.iconclude.dharma.app.actions.AbstractSecureApplicationAction.execute(AbstractSecureApplicationAction.java:22)

              at com.iconclude.dharma.app.OperationStudio.editObject(OperationStudio.java:3360)

              at com.iconclude.dharma.app.OperationStudio.editObject(OperationStudio.java:3347)

              at com.iconclude.dharma.app.libraryTreeView.ProjectContainerTreeView$3.mousePressed(ProjectContainerTreeView.java:210)

              at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:280)

              at java.awt.Component.processMouseEvent(Component.java:6530)

              at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)

              at java.awt.Component.processEvent(Component.java:6298)

              at java.awt.Container.processEvent(Container.java:2237)

              at java.awt.Component.dispatchEventImpl(Component.java:4889)

              at java.awt.Container.dispatchEventImpl(Container.java:2295)

              at java.awt.Component.dispatchEvent(Component.java:4711)

              at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4889)

              at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4523)

              at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4467)

              at java.awt.Container.dispatchEventImpl(Container.java:2281)

              at java.awt.Window.dispatchEventImpl(Window.java:2746)

              at java.awt.Component.dispatchEvent(Component.java:4711)

              at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)

              at java.awt.EventQueue.access$500(EventQueue.java:97)

              at java.awt.EventQueue$3.run(EventQueue.java:709)

              at java.awt.EventQueue$3.run(EventQueue.java:703)

              at java.security.AccessController.doPrivileged(Native Method)

              at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)

              at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)

              at java.awt.EventQueue$4.run(EventQueue.java:733)

              at java.awt.EventQueue$4.run(EventQueue.java:731)

              at java.security.AccessController.doPrivileged(Native Method)

              at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)

              at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)

              at com.iconclude.dharma.app.util.DharmaEventQueue.dispatchEvent(DharmaEventQueue.java:124)

              at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)

              at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)

              at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)

              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)

              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)

              at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Caused by: java.lang.IllegalArgumentException: Comparison method violates its general contract!

              at java.util.TimSort.mergeLo(TimSort.java:777)

              at java.util.TimSort.mergeAt(TimSort.java:514)

              at java.util.TimSort.mergeCollapse(TimSort.java:441)

              at java.util.TimSort.sort(TimSort.java:245)

              at java.util.Arrays.sort(Arrays.java:1512)

              at java.util.ArrayList.sort(ArrayList.java:1462)

              at java.util.Collections.sort(Collections.java:175)

              at com.iconclude.dharma.view.flow.graph.RCGraphModel.sortLayers(RCGraphModel.java:414)

              at com.iconclude.dharma.view.flow.graph.RCGraphModelBuilder._fleshOutFlow(RCGraphModelBuilder.java:179)

              at com.iconclude.dharma.view.flow.graph.RCGraphModelBuilder.buildCells(RCGraphModelBuilder.java:93)

              at com.iconclude.dharma.view.flow.graph.RCGraphModel.<init>(RCGraphModel.java:93)

              at com.iconclude.dharma.view.flow.graph.RCGraphModel.<init>(RCGraphModel.java:84)

              at com.iconclude.dharma.app.view.flow.graph.GraphView._initModel(GraphView.java:747)

              at com.iconclude.dharma.app.view.flow.graph.GraphView.<init>(GraphView.java:219)

              at com.iconclude.dharma.app.editors.flow.FlowEditor._initGraph(FlowEditor.java:724)

              at com.iconclude.dharma.app.editors.flow.FlowEditor.<init>(FlowEditor.java:211)

              ... 42 more

0 Likes
2 Replies
Highlighted
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

Re: Comparison Method Violates the general contract

Can you please share more info on what kind of flows are you using and what are their dependent OOTB CPs/operations?

0 Likes
Highlighted
Honored Contributor.
Honored Contributor.

Comparison Method Violates the general contract

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.