Community
Participate
Working Groups
Build Identifier: 20110615-0604 The updater fails with: 'Updating Software' has encountered a problem. An error occurred while collecting items to be installed session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). Comparison method violates its general contract! Comparison method violates its general contract! Reproducible: Always Steps to Reproduce: 1. Ran "Check for available updates" 2. Selected both updates choices, i.e. "Eclipse IDE for Java EE Developers (1.4.1.20110909-1818)" & "m2e Maven Integration for Eclipse (1.0.100.20110804-1717)" 3.Selected Finish and error occurrs during update process
I got the same exception when i used jdk 7 and it went away by going back to my jdk-6 install.
If you don't want to fallback to JRE 6 you can also use the following VM argument: -Djava.util.Arrays.useLegacyMergeSort=true *** This bug has been marked as a duplicate of bug 317785 ***
Thanks, Dani that worked! I was a bit confused when I saw the original bug report was closed and marked as fixed but the issue still occurred. Using your workaround, I was able to upgrade to a version that includes the fix (hopefully).
Hi Dani Megert . I am having the same problem.and because i am new with ecplipse, could you tell me , please, where exactly to put (-Djava.util.Arrays.useLegacyMergeSort=true) ? I´ve tried the command: "eclipse -Djava.util.Arrays.useLegacyMergeSort=true" but the issue persist. Thanks and best regards. Traca
Try: eclipse -vmargs -Djava.util.Arrays.useLegacyMergeSort=true
Thanks Thomas. it did not work. thanks anyway. (In reply to comment #5) > Try: > > eclipse -vmargs -Djava.util.Arrays.useLegacyMergeSort=true