Error when try install plugin

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?


Solution 1:

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 ;)

Solution 2:

  1. Remove the artifacts.xml from the folder.

  2. Keep a copy of it in some other location (preferably external devices such as pendrive or hard disks etc).

  3. Restart Eclipse.

  4. Install the software plugin you want to install (it will ask for permission again).

  5. After installation paste the artifacts.xml file back into the eclipse folder.

  6. Restart eclipse and set the SDK location.

  7. Code to death!!! ;p

Solution 3:

Run Eclipse as an administrator, then try to install the plugin again via help->Install New Software. it worked for me

Solution 4:

I installed E4 RCP Patch(bugzillas 445122)(Install new software -> Eclipse 4.4.1 Patches for bug 445122) and this helped me.