Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » SOLVED: Test Case Browser view broken: Comparison method violates its general contract(Error )
SOLVED: Test Case Browser view broken: Comparison method violates its general contract [message #1404441] Fri, 01 August 2014 12:20 Go to next message
Chris Champion is currently offline Chris ChampionFriend
Messages: 49
Registered: February 2014
Member
Greetings,

Have any of you seen these errors in the Test Case Browser before? (screenshots attached)

This is occuring when I delete Test Cases. After deleting a few, at one point a Test Case will remain after I confirm it to be deleted. If I delete my text filter in the browser after that I get the "Refresh Filter has encountered a problem." error.
[problem-occurred.jpg]

I have a recent backup of my project so I haven't lost a lot of work but I can't continue working with it because this keeps reoccuring. Sometimes the Test Case Browser will show up completely empty without a filter. When I filter for Test Cases that do exist, only then do they show up.
[test-case-browser-empty.jpg]

In both cases, if I close the view and reopen it, it is completely unusable: "Could not creat the view: Comparison method violates its general contract!"
[test-case-browser-error.jpg]


I'm using the Jubula 2.3.0 plugin in Eclipse 3.8.2. I tried reinstalling Eclipse, creating a new workspace, and reinstalling Jubula but that hasn't saved my project from this error.

Would greatly appreciate any help if anyone has some experience with this.

Best,

Chris

[Updated on: Fri, 01 August 2014 13:19]

Report message to a moderator

Re: SOLVED: Test Case Browser view broken: Comparison method violates its general contract [message #1404449 is a reply to message #1404441] Fri, 01 August 2014 13:21 Go to previous message
Chris Champion is currently offline Chris ChampionFriend
Messages: 49
Registered: February 2014
Member
Fixed by adding the paramter java.util.Arrays.useLegacyMergeSort=true after vmargs in .ini file.

Workaround for comparator violation:
- set system property java.util.Arrays.useLegacyMergeSort=true
- use a 1.6 JRE
message: Comparison method violates its general contract!
this: org.eclipse.jubula.client.ui.rcp.sorter.NodeNameViewerSorter
Previous Topic:Database connection
Next Topic:Does ub_app_waitForWindow_matches support Swing JInternalFrame?
Goto Forum:
  


Current Time: Thu Apr 18 14:47:59 GMT 2024

Powered by FUDForum. Page generated in 0.02166 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top