Error when try install plugin

user3855547 picture user3855547 · Aug 2, 2014 · Viewed 60k times · Source

I'm trying to install a plugin in Eclipse Luna. I installed Papyrus and am trying to install SWT designer, but before the download/installation is completed I get an error:

An error occurred during the
org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase.
session context was:(profile=epp.package.standard,
phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust,
operand=, action=). Error reading signed content. error in opening zip
file

After this error I can't install anything and the install manager does not work anymore and shows me the same error all the time only one way I delete the current Eclipse directory and extract it again.

This time I install Papyrus, SWT designer and some other, but I get the error between install another plugin again. This is wrong if I get an error on install any of plugin reinstalling Eclipse and the other plugin again.

Is this a bug or a problem?

Answer

user3855547 picture user3855547 · Aug 2, 2014

OK finally i found the solution for solve this problem. I don't know why Eclipse is showing me this error and i don't know if this is the best solution. I solve my problem with delete the artifacts.xml file in Eclipse root directory.

After deleting this file try to install that plugin again but this time after few second everything completes and works perfectly.

UPDATE: If you get that error again then just go to Eclipses' root directory and search for "artifacts.xml" and delete all the files is in the result ;)