Forum Discussion

kash22's avatar
kash22
New Contributor
9 years ago

eclipse plugin exception

Hi All,

 

I'm just getting started here. While trying to "add to review" from Eclipse STS (ver 3.8.1) with following plugins:

collaborator 10.0, Subversive 4.0 I'm getting the following exception:

 

java.lang.NoClassDefFoundError: Could not initialize class com.smartbear.collaborator.subversive.SVNConnectorSubversionClient$SvnDepth
	at com.smartbear.collaborator.subversive.SVNConnectorSubversionClient$2.run(SVNConnectorSubversionClient.java:305)
	at com.smartbear.collaborator.subversive.SVNConnectorSubversionClient$2.run(SVNConnectorSubversionClient.java:302)
	at com.smartbear.collaborator.subversive.SVNConnectorSubversionClient.run(SVNConnectorSubversionClient.java:672)
	at com.smartbear.collaborator.subversive.SVNConnectorSubversionClient.info(SVNConnectorSubversionClient.java:301)
	at com.smartbear.collaborator.subversive.SVNConnectorSubversionClient.info(SVNConnectorSubversionClient.java:286)
	at com.smartbear.scm.impl.subversion.SubversionClientConfiguration.create(SubversionClientConfiguration.java:523)
	at com.smartbear.scm.impl.subversion.SubversionSystem.getClientConfiguration(SubversionSystem.java:151)
	at com.smartbear.collaborator.ui.subversive.SubversiveClientConfigurationFactory.getClientConfiguration(SubversiveClientConfigurationFactory.java:42)
	at com.smartbear.collaborator.ui.subversive.SubversiveClientConfigurationFactory.getClientConfiguration(SubversiveClientConfigurationFactory.java:33)
	at com.smartbear.collaborator.team.ClientConfigurationManager.getClientConfigFor(ClientConfigurationManager.java:90)
	at com.smartbear.collaborator.team.ClientConfigurationManager.isSupportedSCM(ClientConfigurationManager.java:135)
	at com.smartbear.collaborator.ui.ide.actions.AddResourcesToReviewHandler.execute(AddResourcesToReviewHandler.java:128)
	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:295)
	at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
	at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:252)
	at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:234)
	at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
	at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)
	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:493)
	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:486)
	at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
	at org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommandInContext(LegacyHandlerService.java:396)
	at com.smartbear.collaborator.ui.util.PlatformUIUtils.executeCommand(PlatformUIUtils.java:145)
	at com.smartbear.collaborator.ui.util.CommandActionDelegate.run(CommandActionDelegate.java:112)
	at org.eclipse.ui.actions.ActionDelegate.runWithEvent(ActionDelegate.java:75)
	at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:237)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4180)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3769)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1488)

thanks in advance for any help.

 

Kash

  • kash22's avatar
    kash22
    New Contributor

    Well, looks like either I'm the only one with this issue or the developers of the product do not have a solution as of yet. Does anyone have configuration that actually works i.e. with eclipse, svn plugin, collaborator plugin?

     

    thanks

     

    Kash

    • OlegB's avatar
      OlegB
      SmartBear Alumni (Retired)

      Hi Kash22,

       

      Most probably, you have faced a known issue. Currently, our Eclipse implementation for SVN only works for the SVN 1.0 and 2.0 plugins, the new ones cause a problem due to the fact that the API and classes were changed. To avoid this problem, uninstall both Subversive 3.0/4.0 and SVN Kit Connector plugins and install Subversive 2.0.4 with its connector from here:
      http://download.eclipse.org/technology/subversive/2.0/update-site/

      Does this help?

      • EclipseUser's avatar
        EclipseUser
        New Contributor

        Just faced the same issue using Eclipse 4.7.3a (Subversive 4.0.5 - Collaborator 11.0.11000.001).

        java.lang.NoClassDefFoundError: Could not initialize class com.smartbear.collaborator.subversive.SVNConnectorSubversionClient$SvnDepth
        	at com.smartbear.collaborator.subversive.SVNConnectorSubversionClient$2.run(SVNConnectorSubversionClient.java:305)
        	at com.smartbear.collaborator.subversive.SVNConnectorSubversionClient$2.run(SVNConnectorSubversionClient.java:302)
        	at com.smartbear.collaborator.subversive.SVNConnectorSubversionClient.run(SVNConnectorSubversionClient.java:672)
        	at com.smartbear.collaborator.subversive.SVNConnectorSubversionClient.info(SVNConnectorSubversionClient.java:301)
        	at com.smartbear.collaborator.subversive.SVNConnectorSubversionClient.info(SVNConnectorSubversionClient.java:286)

         

        Which plugin versions are compatible?