tags:

views:

886

answers:

4

hello all, trying to install groovy plugin in eclipse 3.5, i am using the update site [http://dist.codehaus.org/groovy/distributions/greclipse/snapshot/e3.5/%5D%5B1%5D it does install but when it tries to restart i get an exception.

!SESSION Sat Aug 29 15:47:17 PDT 2009 ------------------------------------------ 
!ENTRY org.eclipse.equinox.launcher 4 0 2009-08-29 15:47:17.287
!MESSAGE Exception launching the Eclipse Platform: 
!STACK java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter 
  at java.net.URLClassLoader$1.run(URLClassLoader.java:200) 
  at java.security.AccessController.doPrivileged(Native Method)

I tried to start using -clean options,deleted workspace no luck

Did anyone get this too??

+1  A: 

It looks like you're missing a class or a jar required by the plugin; I'm not sure which one though, since the stacktrace does not indicate any such plugin specific class. You could attempt the following:

  1. Examine the .log file of the workspace to view any additional details of the exception.
  2. Verify if all the Groovy Eclipse plugin jars are present in the plugins and features directory of the Eclipse installation.
  3. Start Eclipse with the consolelog and debug switches, and pipe the output to a debug log file. Examine for anything indicative of the problem in the logfile; if needed post the log file. The command to start Eclipse in this mode would be
    $eclipse -consolelog -debug | tee debugfile.log
  4. Install the plugin on a clean installation of Eclipse.
Vineet Reynolds
thanks Vineet, my bad i am using mac so i tried to install galileo for 32-bit, mine is 64 bit hope now the problem should not be there
narup
narup, I've updated the answer. You can check if the consolelog and debug switches on the Eclipse runtime will provide more info about the failure, in case you haven't managed to resolve it.
Vineet Reynolds
cool let me try again, even with the 64-bit version i got the error.
narup
i am getting lot of failures on equinox and osgi jars not sure why, but after i tried to install more plugin from galileo update site i got few more exception
narup
Is the exception stack too big to paste here? If so, you can put it up at http://paste-it.net/
Vineet Reynolds
A: 

My exception is this it happens at the end of the installation...Not sure why it is looking for org.eclipse.osgi_3.5.0.v20090520.jar at /Applications/galileo/Eclipse.app/Contents/MacOS/plugins folder, that jar is at /Applications/galileo/plugins

java.lang.RuntimeException: Unable to locate bundle manifest: file:/Applications/galileo/Eclipse.app/Contents/MacOS/plugins/org.eclipse.osgi_3.5.0.v20090520.jar
    at org.eclipse.equinox.internal.frameworkadmin.utils.Utils.getManifestMainAttributes(Utils.java:210)
    at org.eclipse.equinox.internal.frameworkadmin.utils.Utils.getClausesManifestMainAttributes(Utils.java:204)
    at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.isSystemBundle(EquinoxBundlesState.java:149)
    at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.getSystemBundleFromBundleInfos(EquinoxBundlesState.java:115)
    at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.getSystemBundleFromBundleInfos(EquinoxBundlesState.java:124)
    at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.composeNewState(EquinoxBundlesState.java:288)
    at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.composeNewState(EquinoxBundlesState.java:273)
    at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.initialize(EquinoxBundlesState.java:549)
    at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.<init>(EquinoxBundlesState.java:237)
    at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.load(EquinoxManipulatorImpl.java:335)
    at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.loadDelegate(LazyManipulator.java:50)
    at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.getConfigData(LazyManipulator.java:108)
    at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.UninstallBundleAction.uninstallBundle(UninstallBundleAction.java:74)
    at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.UninstallBundleAction.execute(UninstallBundleAction.java:29)
    at org.eclipse.equinox.internal.p2.engine.ParameterizedProvisioningAction.execute(ParameterizedProvisioningAction.java:35)
    at org.eclipse.equinox.internal.provisional.p2.engine.Phase.mainPerform(Phase.java:129)
    at org.eclipse.equinox.internal.provisional.p2.engine.Phase.perform(Phase.java:72)
    at org.eclipse.equinox.internal.provisional.p2.engine.PhaseSet.perform(PhaseSet.java:44)
    at org.eclipse.equinox.internal.provisional.p2.engine.Engine.perform(Engine.java:54)
    at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProvisioningUtil.performProvisioningPlan(ProvisioningUtil.java:389)
    at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProfileModificationOperation.doExecute(ProfileModificationOperation.java:61)
    at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProvisioningOperation.execute(ProvisioningOperation.java:37)
    at org.eclipse.equinox.internal.provisional.p2.ui.ProvisioningOperationRunner$1.run(ProvisioningOperationRunner.java:94)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
java.lang.RuntimeException: Unable to locate bundle manifest: file:/Applications/galileo/Eclipse.app/Contents/MacOS/plugins/org.eclipse.equinox.simpleconfigurator_1.0.100.v20090520-1905.jar
    at org.eclipse.equinox.internal.frameworkadmin.utils.Utils.getManifestMainAttributes(Utils.java:210)
    at org.eclipse.equinox.internal.frameworkadmin.utils.Utils.getClausesManifestMainAttributes(Utils.java:204)
    at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.isSystemBundle(EquinoxBundlesState.java:149)
    at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.getSystemBundleFromBundleInfos(EquinoxBundlesState.java:115)
    at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.getSystemBundleFromBundleInfos(EquinoxBundlesState.java:124)
    at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.composeNewState(EquinoxBundlesState.java:288)
    at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.composeNewState(EquinoxBundlesState.java:273)
    at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.initialize(EquinoxBundlesState.java:549)
    at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.<init>(EquinoxBundlesState.java:237)
    at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.load(EquinoxManipulatorImpl.java:335)
    at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.loadDelegate(LazyManipulator.java:50)
    at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.getConfigData(LazyManipulator.java:108)
    at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.UninstallBundleAction.uninstallBundle(UninstallBundleAction.java:74)
    at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.UninstallBundleAction.execute(UninstallBundleAction.java:29)
    at org.eclipse.equinox.internal.p2.engine.ParameterizedProvisioningAction.execute(ParameterizedProvisioningAction.java:35)
    at org.eclipse.equinox.internal.provisional.p2.engine.Phase.mainPerform(Phase.java:129)
    at org.eclipse.equinox.internal.provisional.p2.engine.Phase.perform(Phase.java:72)
    at org.eclipse.equinox.internal.provisional.p2.engine.PhaseSet.perform(PhaseSet.java:44)
    at org.eclipse.equinox.internal.provisional.p2.engine.Engine.perform(Engine.java:54)
    at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProvisioningUtil.performProvisioningPlan(ProvisioningUtil.java:389)
    at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProfileModificationOperation.doExecute(ProfileModificationOperation.java:61)
    at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProvisioningOperation.execute(ProvisioningOperation.java:37)
    at org.eclipse.equinox.internal.provisional.p2.ui.ProvisioningOperationRunner$1.run(ProvisioningOperationRunner.java:94)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
java.lang.RuntimeException: Unable to locate bundle manifest: file:/Applications/galileo/Eclipse.app/Contents/MacOS/plugins/org.eclipse.osgi_3.5.0.v20090520.jar
    at org.eclipse.equinox.internal.frameworkadmin.utils.Utils.getManifestMainAttributes(Utils.java:210)
    at org.eclipse.equinox.internal.frameworkadmin.utils.Utils.getClausesManifestMainAttributes(Utils.java:204)
    at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.isSystemBundle(EquinoxBundlesState.java:149)
    at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.composeState(EquinoxBundlesState.java:340)
    at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.composeNewState(EquinoxBundlesState.java:291)
    at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.composeNewState(EquinoxBundlesState.java:273)
    at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.initialize(EquinoxBundlesState.java:549)
    at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.<init>(EquinoxBundlesState.java:237)
    at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.load(EquinoxManipulatorImpl.java:335)
    at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.loadDelegate(LazyManipulator.java:50)
    at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.getConfigData(LazyManipulator.java:108)
    at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.UninstallBundleAction.uninstallBundle(UninstallBundleAction.java:74)
    at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.UninstallBundleAction.execute(UninstallBundleAction.java:29)
    at org.eclipse.equinox.internal.p2.engine.ParameterizedProvisioningAction.execute(ParameterizedProvisioningAction.java:35)
    at org.eclipse.equinox.internal.provisional.p2.engine.Phase.mainPerform(Phase.java:129)
    at org.eclipse.equinox.internal.provisional.p2.engine.Phase.perform(Phase.java:72)
    at org.eclipse.equinox.internal.provisional.p2.engine.PhaseSet.perform(PhaseSet.java:44)
    at org.eclipse.equinox.internal.provisional.p2.engine.Engine.perform(Engine.java:54)
    at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProvisioningUtil.performProvisioningPlan(ProvisioningUtil.java:389)
    at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProfileModificationOperation.doExecute(ProfileModificationOperation.java:61)
    at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProvisioningOperation.execute(ProvisioningOperation.java:37)
    at org.eclipse.equinox.internal.provisional.p2.ui.ProvisioningOperationRunner$1.run(ProvisioningOperationRunner.java:94)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
java.lang.RuntimeException: Unable to locate bundle manifest: file:/Applications/galileo/Eclipse.app/Contents/MacOS/plugins/org.eclipse.equinox.simpleconfigurator_1.0.100.v20090520-1905.jar
    at org.eclipse.equinox.internal.frameworkadmin.utils.Utils.getManifestMainAttributes(Utils.java:210)
    at org.eclipse.equinox.internal.frameworkadmin.utils.Utils.getClausesManifestMainAttributes(Utils.java:204)
    at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.isSystemBundle(EquinoxBundlesState.java:149)
    at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.composeState(EquinoxBundlesState.java:340)
    at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.composeNewState(EquinoxBundlesState.java:291)
    at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.composeNewState(EquinoxBundlesState.java:273)
    at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.initialize(EquinoxBundlesState.java:549)
    at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.<init>(EquinoxBundlesState.java:237)
    at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.load(EquinoxManipulatorImpl.java:335)
    at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.loadDelegate(LazyManipulator.java:50)
    at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.getConfigData(LazyManipulator.java:108)
    at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.UninstallBundleAction.uninstallBundle(UninstallBundleAction.java:74)
    at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.UninstallBundleAction.execute(UninstallBundleAction.java:29)
    at org.eclipse.equinox.internal.p2.engine.ParameterizedProvisioningAction.execute(ParameterizedProvisioningAction.java:35)
    at org.eclipse.equinox.internal.provisional.p2.engine.Phase.mainPerform(Phase.java:129)
    at org.eclipse.equinox.internal.provisional.p2.engine.Phase.perform(Phase.java:72)
    at org.eclipse.equinox.internal.provisional.p2.engine.PhaseSet.perform(PhaseSet.java:44)
    at org.eclipse.equinox.internal.provisional.p2.engine.Engine.perform(Engine.java:54)
    at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProvisioningUtil.performProvisioningPlan(ProvisioningUtil.java:389)
    at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProfileModificationOperation.doExecute(ProfileModificationOperation.java:61)
    at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProvisioningOperation.execute(ProvisioningOperation.java:37)
narup
A: 

OK now finally i fixed it after 2 days of war with eclipse, so for some reason when groovy plugin was installed eclipse modified config.ini file inside configuration folder so i have to modify config.ini file to replace 'osgi.bundles' value with

osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.100.v20090520-1905.jar@1\:start,reference\:file\:plugins/org.eclipse.jdt.core_3.5.0.xx-20090828-1900-e35.jar@4,reference\:file\:/Applications/galileo/plugins/org.apache.commons.collections_3.2.1.jar@4,reference\:file\:/Applications/galileo/plugins/org.apache.commons.lang_2.3.0.v200803061910.jar@4,reference\:file\:/Applications/galileo/plugins/org.codehaus.groovy_1.7.0.xx-20090828-1900-e35/@4,reference\:file\:/Applications/galileo/plugins/org.codehaus.groovy.eclipse.ant_2.0.0.xx-20090828-1900-e35/@4,reference\:file\:/Applications/galileo/plugins/org.codehaus.groovy.eclipse.codeassist.completion_2.0.0.xx-20090828-1900-e35.jar@4,reference\:file\:/Applications/galileo/plugins/org.codehaus.groovy.eclipse.codebrowsing_2.0.0.xx-20090828-1900-e35.jar@4,reference\:file\:/Applications/galileo/plugins/org.codehaus.groovy.eclipse.core_2.0.0.xx-20090828-1900-e35.jar@4,reference\:file\:/Applications/galileo/plugins/org.codehaus.groovy.eclipse.core.help_2.0.0.xx-20090828-1900-e35/@4,reference\:file\:/Applications/galileo/plugins/org.codehaus.groovy.eclipse.cstviewer_2.0.0.xx-20090828-1900-e35.jar@4,reference\:file\:/Applications/galileo/plugins/org.codehaus.groovy.eclipse.refactoring_2.0.0.xx-20090828-1900-e35.jar@4,reference\:file\:/Applications/galileo/plugins/org.codehaus.groovy.eclipse.ui_2.0.0.xx-20090828-1900-e35.jar@4,reference\:file\:/Applications/galileo/plugins/org.eclipse.jdt.groovy.core_1.0.0.xx-20090828-1900-e35.jar@4

By default osgi.bundles value is osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.100.v20090520-1905.jar@1\:start but as soon as i installed groovy plugin i had a modified value which caused eclipse fali to start.

now my eclipse starts and i see the groovy features too..

narup
Great, good to know that it works now. In fact, you could re-word it as an answer to your own question, and accept it :)
Vineet Reynolds
A: 

I had the same problem with installing the CVS plugin on a Eclipse Platform installation running TeXlipse. Turns out, after installing CVS, the installer had modified not the osgi.bundles, but the osgi.framework...

/Applications/TeXlipse/configuration/config.ini said:

 osgi.framework=file\:/Applications/TeXlipse/Eclipse.app/Contents/MacOS/plugins/org.eclipse.osgi_3.5.2.R35x_v20100126.jar

and it was supposed to say

 osgi.framework=file\:/Applications/TeXlipse/plugins/org.eclipse.osgi_3.5.2.R35x_v20100126.jar
Miguel Andrés Yáñez Barreto