Error "Comparison method violates its general contract!" when installing any Eclipse plugin -
(i've read this question, answer doesn't solve problem, don't mark 1 duplicate)
i have fresh installation of eclipse (eclipse php developers / helios release / build id: 20100617-1415 on windows 7 x86
) can't install plugin or addition. neither official plugins repository, nor user-provided urls.
installation, of tiny plugins takes "years" (starting @ 10-20 minutes, ending on over hour) though i'm on quite fast internet connection (around 2 mb/s), strange itself. , ends same error message:
an error occurred while collecting items installed session context was:(profile=epp.package.php, phase=org.eclipse.equinox.internal.p2.engine.phases.collect, operand=, action=). comparison method violates general contract! comparison method violates general contract!
error message same, mentioning epp.package.php
, no matter, plugin i'm trying install. assume, eclipse-related, not plugin-related problem.
i did reasearch on stackexchange (many similar topics programming question, related errors in java or javascript code) , in internet in genereal. thing directly related eclipse, found this forum topic saying know bug in eclipse. though bug marked resolved fixed
, tried adapt 1 of proposed quick solutions of starting eclipse with:
eclipse.exe -djava.util.arrays.uselegacymergesort=true
(other, similar sources unclear, whether there should space between -d
, java.*
or not)
but has brought no effect. again, installing small plugin official repository takes very, wrong , upon progress bar reaching around 20% (after 20-30 minutes) entire installation process ends above error.
i have newest available stable versions of eclipse php , jre.
i've read this question, brought me no closer solution. saw no difference, when starting eclipse java.util.arrays.uselegacymergesort=true
switch , wasn't able update core eclipse newest version, because process failed same error.
and not explains, why installing takes incredibly long on fast connection?
is downgrading jre 6 option have?
the -djava.util.arrays.uselegacymergesort=true
must come after -vmargs
switch, changes command line specifying eclipse launch arguments arguments jvm, -d
be.
use solution or upgrade @ least indigo sr2
.
Comments
Post a Comment