Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 359654

Summary: Multiple internal errors during update: IllegalArgumentException: Comparison method violates its general contract!
Product: [Eclipse Project] Equinox Reporter: Dominik äger <dominikjaeger>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P3 CC: pascal
Version: 3.7.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
The .log file containing the errors none

Description Dominik äger CLA 2011-10-02 05:25:45 EDT
Build Identifier: 20110615-0604

Internal errors occur in org.eclipse.equinox.internal.p2.artifact.repository during the update process started by Help -> Check for Updates. The update is "Eclipse IDE for C/C++ Developers version 1.4.1.20110909-1818". The errors cause the update to fail. The .log file shows a different buildId (20110613-1736) than the About Eclipse dialog (20110615-0604) which I find strange. I was able to reproduce everything with a freshly downloaded installation and empty workspace, also making sure that I had the right .log file. The buildId of the About Eclipse dialog was the same before and after the failed update.
The .log file is attached for details.

Reproducible: Always

Steps to Reproduce:
1. Get the current Eclipse IDE for C/C++ Developers (includes Incubating components) Indigo Package (20110615-0604)
2. Start eclipse in new empty workspace
3. Select Help -> Check for Updates
4. Try to install the Eclipse IDE for C/C++ Developers version 1.4.1.20110909-1818 update.
5. Wait for errors to occur.
Comment 1 Dominik äger CLA 2011-10-02 05:27:10 EDT
Created attachment 204423 [details]
The .log file containing the errors
Comment 2 Dominik äger CLA 2011-10-02 05:37:45 EDT
The plug-in version of "Equinox Provisioning Artifact Repository Support"
(org.eclipse.equinox.p2.artifact.repository) is 1.1.100.v20110519.
Comment 3 Pascal Rapicault CLA 2011-10-02 10:25:36 EDT
This is an issue with Java 7. This has been addressed in SR1