2

After starting Eclipe I see the following error message in the workspace/.metadata/.log

!ENTRY org.eclipse.core.runtime 4 0 2017-09-18 09:38:48.275 
!MESSAGE Invalid input url:platform:/plugin/com.mountainminds.eclemma.ui/icons/full/eview16/coverage.gif 
!STACK 0 
java.io.IOException: Unable to resolve plug-in "platform:/plugin/com.mountainminds.eclemma.ui/icons/full/eview16/coverage.gif".

The message does not go away even after uninstalling or reinstalling the plugin. Any ideas on how to resolve this?

Eclipse: Oxygen 4.7.0
EclEmma: 3.0.0

coconut
  • 494
  • 2
  • 5
  • 13
  • Did you install Eclipse Oxygen from scratch or update an older Eclipse version to Oxygen? EclEmma are now an Eclipse project and part of the Eclipse Java download packages. Because of this names of plug-ins and packages changed (EclEmma 3.0.0 does not contain a plug-in `com.mountainminds.eclemma.ui`, but the plug-in `org.eclipse.eclemma.ui`) – howlger Sep 18 '17 at 08:13
  • I did install Oxygen from scratch - I do have the org.eclipse.eclemma.ui jarfile. - I use a workspace I set up with an older version of eclipse though ... – coconut Sep 18 '17 at 08:19
  • Does starting Eclipse with the option "-clean" solve the issue? – howlger Sep 18 '17 at 08:28
  • No, starting with "-clean" does not solve it. – coconut Sep 18 '17 at 08:31
  • Yeah, the workspace seems to be the issue, probably something in the ./metadata ... when I start a new workspace there is no such message – coconut Sep 18 '17 at 08:40
  • 1
    Maybe the stored window layout contains an invalid reference to the icon. Does a reset of the perspective fix the issue? – howlger Sep 18 '17 at 08:48
  • Yes, that did indeed remove the error - thanks a bunch! – coconut Sep 18 '17 at 09:03

2 Answers2

2

EclEmma became an Eclipse project and is now part of the Eclipse Java download packages. Due to the move, the plug-ins have been rename: com.mountainminds.eclemma.ui become org.eclipse.eclemma.ui.

If you use a workspace that have been used with EclEmma < 3.0.0 before,

  • start Eclipse with the option -clean and
  • reset all Java perspectives (coverage.gif is the icon of the Coverage view and could be referenced in the stored window/perspective layout).
howlger
  • 31,050
  • 11
  • 59
  • 99
0

This is the image the error is referring to.

Put it in the proper installation path on your machine and you'd be fine.

P3trur0
  • 3,155
  • 1
  • 13
  • 27
  • I installed the plugin via the eclipse marketplace - what I have is a com.eclipse.eclemma.ui - jarfile ... I am not sure where to put the .gif. Is this not supposed to come with the plugin? – coconut Sep 18 '17 at 08:14
  • AFAIK, looking at this [PR](https://github.com/eclipse/eclemma/pull/12/files) on their Github repo, the file your installation is referring to has been removed. However try to take a look here: `/dropins/eclemma-x.y.z/plugins/` – P3trur0 Sep 18 '17 at 08:20
  • I see - thanks for the info/suggestion - my dropins folder is empty though – coconut Sep 18 '17 at 08:25