Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Unable to up Check for Updates (Error occurs when attempting to update)
Unable to up Check for Updates [message #1053843] Tue, 07 May 2013 15:56 Go to next message
Jason Anderson is currently offline Jason Anderson
Messages: 3
Registered: May 2013
Junior Member
Eclipse IDE for Java Developers

Version: Helios Release
Build id: 20100617-1415

Windows 7 64 bit PC

I am using v3.6 32 bit because I need this version for a particular plugin.

When I attempt to Check for Updates from the Help menu I get the error below. I get the same error when I use Install New Software from the same menu.

What I have done so far is some searching and it seems the forums are suggesting to use JRE 1.6 to get around this bug. So, I have downloaded JRE 1.6 64 bit, changed my Java preferences to use this JRE, and I get the same error.

So then I think well maybe since I have the 32 bit version of Eclipse I should install JRE 1.6 32 bit into Program Files (x86) and change it to use that and I get the same error.

I'm new to this forum so I apologize if I have not found something that is already out there.



eclipse.buildId=I20100608-0911
java.version=1.7.0_21
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.java.product

!ENTRY org.eclipse.core.jobs 4 2 2013-05-07 15:36:02.830
!MESSAGE An internal error occurred during: "Install download0".
!STACK 0
java.lang.IllegalArgumentException: Comparison method violates its general contract!
at java.util.ComparableTimSort.mergeHi(Unknown Source)
at java.util.ComparableTimSort.mergeAt(Unknown Source)
at java.util.ComparableTimSort.mergeForceCollapse(Unknown Source)
at java.util.ComparableTimSort.sort(Unknown Source)
at java.util.ComparableTimSort.sort(Unknown Source)
at java.util.Arrays.sort(Unknown Source)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorSelector.hasValidMirror(MirrorSelector.java:317)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.downloadArtifact(SimpleArtifactRepository.java:517)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:576)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.getArtifact(MirrorRequest.java:248)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transferSingle(MirrorRequest.java:223)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transfer(MirrorRequest.java:179)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.perform(MirrorRequest.java:115)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:565)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.DownloadJob.run(DownloadJob.java:63)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Re: Unable to up Check for Updates [message #1057741 is a reply to message #1053843] Wed, 08 May 2013 10:07 Go to previous message
Jason Anderson is currently offline Jason Anderson
Messages: 3
Registered: May 2013
Junior Member
I was finally able to fix this by adding this line:

-Djava.util.Arrays.useLegacyMergeSort=true-Xms40m


to the eclipse.ini file after -vmargs



Previous Topic:Plugin project creation using Maven?
Next Topic:Cannot start eclipse juno (No java virtual machine error)
Goto Forum:
  


Current Time: Sat Aug 23 03:36:13 EDT 2014

Powered by FUDForum. Page generated in 0.01850 seconds