Forum Discussion

bluedino's avatar
14 years ago

Eclipse P4 and CodeCollaborator plugins Error

Hi,



I am currently using Windows &, Eclipse 3.6,  Perforce plug-in version 2010.1.275861 and Code Collaboration plug-in version 4.0.864.While trying to add a Perforce
change list to Code, I am experiencing the following error stack:


 

!ENTRY
com.smartbear.collaborator.ui 4 0 2011-07-20 16:10:51.516



!MESSAGE
com.perforce.team.core.p4java.IP4Connection.getServer()Lcom/perforce/p4java/server/P4JServer;


!STACK
0


java.lang.NoSuchMethodError:
com.perforce.team.core.p4java.IP4Connection.getServer()Lcom/perforce/p4java/server/P4JServer;


       
at
com.smartbear.collaborator.ui.perforce.PerforcePluginUtils.getClientConfig(Unknown
Source)


       
at
com.smartbear.collaborator.ui.perforce.actions.AddPendingChangelistToReviewAction.getWizard(Unknown
Source)


       
at com.smartbear.collaborator.ui.ide.actions.AddToReviewAction.run(Unknown
Source)


       
at org.eclipse.ui.actions.ActionDelegate.runWithEvent(ActionDelegate.java:70)


       
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:241)


       
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)


       
at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)


       
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)


       
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)


       
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)


       
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)


       
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)


       
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)


       
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)


       
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)


       
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)


       
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)


       
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)


       
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)


       
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)


       
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)


       
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)


       
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)


       
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)


       
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)


       
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


       
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)


       
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


       
at java.lang.reflect.Method.invoke(Method.java:597)


       
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)


       
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)


       
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)


Thanks for your help!

  • Hannah's avatar
    Hannah
    SmartBear Alumni (Retired)
    Hello,



    Since you're running an older version of the CodeCollaborator plugin, I suspect you might be running into a version compatability issue with the Perforce plugin.



    Would it be possible for you to upgrade your CodeCollaborator plugin? If that does not resolve the issue, please send us your Eclipse and configuration details.  To get this information, go to "Help" -> "About ..." -> "Configuration Details"





    Select all of the text in the "Configuration Details" box and save it in a file.  Then click "View Error log" and save that information in a file as well.



    You can send those files to us at codecollab@smartbear.com.



    Thanks,