Red Hat Bugzilla – Bug 878210
Unable to load vrapper plugin due to java.lang.NoClassDefFoundError: org/eclipse/core/runtime/IPluginDescriptor
Last modified: 2014-01-12 19:27:28 EST
This looks related to upstream bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=384873
eclipse-vrapper won't load, here is a snippit from the workspace log:
!ENTRY net.sourceforge.vrapper.eclipse 4 0 2012-11-19 12:58:02.439
!MESSAGE Unable to execute early startup code for an extension
at java.lang.Class.getDeclaredMethods0(Native Method)
Caused by: java.lang.ClassNotFoundException: org.eclipse.core.runtime.IPluginDescriptor
... 8 more
Thanks for the report :).
This of course a bug in my eclipse build, which I hope I will fix soon.
The other point is that none of plugins should use the compatibility bundle as it might be removed any time soon. Could you open a bug against upstream plugin to get rid of that ?
Filed upstream as https://github.com/vrapper/vrapper/issues/126
There are two related Eclipse bugs - the one that deals explicitly with the missing file and the other one concerning removing compatibility bundles at all (https://bugs.eclipse.org/bugs/show_bug.cgi?id=394739).
Jesse, I have pushed a build with a fix for that issue into rawhide. It wouldn't be bad if you could try it out http://koji.fedoraproject.org/koji/taskinfo?taskID=4715940.
(In reply to comment #4)
> Jesse, I have pushed a build with a fix for that issue into rawhide. It
> wouldn't be bad if you could try it out
I tried the -19 build that was in rawhide, on top of my F18 setup. That didn't work so hot as it was unable to load pydev:
!ENTRY org.eclipse.jface 4 0 2012-11-26 20:18:47.863
!MESSAGE Unable to resolve plug-in "platform:/plugin/org.python.pydev/icons/python_file.g
java.io.IOException: Unable to resolve plug-in "platform:/plugin/org.python.pydev/icons/p
Please run your eclipse with -clean and check if
/usr/lib64/eclipse/plugins/org.eclipse.core.runtime.compatibility.registry has an innern jar with IPluginDescriptor class - the one that was missing. This is the ultimate sign that the issue was fixed.
The exception that you got has nothing to do with this issue - it's rather an effect of Eclipse reinstallation. Also, there should be the -20 release which contains additional fix.
(In reply to comment #6)
> Please run your eclipse with -clean and check if
> has an innern jar with IPluginDescriptor class - the one that was missing.
> This is the ultimate sign that the issue was fixed.
Not sure how to check within a jar, but all I see there is:
$ ls /usr/lib64/eclipse/plugins/org.eclipse.core.runtime.compatibility.registry_3.5.100.v20121126-1150/
about.html fragment.properties META-INF runtime_registry_compatibility.jar
> The exception that you got has nothing to do with this issue - it's rather
> an effect of Eclipse reinstallation. Also, there should be the -20 release
> which contains additional fix.
Running: $ eclipse -clean
still doesn't fix the pydev issue.
You should be able to open a jar with archive manager, nautilus or by just unzipping it.
Please upload the entire .log that you can find in your workspace folder.
If you want to experiment, you may to rename ~/.eclipse into ~/.eclipse_old and check if pydev is loaded (note that it will delete are your settings, that's why having a backup copy of .eclipse is important to restore it later).
the missing class is there. pydev also works for me. marking as fixed.