Integration with Eclipse

If you are having a problem using Vault, post a message here.
Post Reply
hondotbt
Posts: 2
Joined: Wed Dec 18, 2013 2:48 pm

Integration with Eclipse

Post by hondotbt » Tue Dec 31, 2013 9:31 am

We just installed Vault Professional 6.1 and when trying to import a project from the repository in Eclipse Juno we receive the following error.
"An unknown error occurred during the login process. Please check the Eclipse error log for exceptions"

Here's the log entry:

!ENTRY org.eclipse.ui 4 0 2013-12-31 10:18:06.104
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at com.sourcegear.vault.team.wizards.LoginWizardPage.AttemptLogin(LoginWizardPage.java:45)
at com.sourcegear.vault.team.wizards.LoginWizardPage.onPageFinished(LoginWizardPage.java:74)
at com.cdesg.uihelper.wizard.ExtendedWizardPage.getNextPage(ExtendedWizardPage.java:123)
at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:908)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:428)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
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:4169)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.ui.internal.handlers.WizardHandler$Import.executeHandler(WizardHandler.java:152)
at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:279)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:290)
at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:76)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:231)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:212)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:131)
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:171)
at org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand(LegacyHandlerService.java:515)
at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
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:4169)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1053)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:942)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
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:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
Caused by: java.lang.reflect.InvocationTargetException
at com.cdesg.uihelper.command.RunnableWithProgressCommandAdapter.run(RunnableWithProgressCommandAdapter.java:75)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: System.Exception: The server uses a protocol that is not supported by this client. ---> System.Web.Services.Protocols.SoapException: 1021 : FailServiceVersionNotSupported
at system.Web.Services.Protocols.SoapHttpClientProtocol.ReceiveResponse(SoapHttpClientProtocol.cs:351)
at system.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(SoapHttpClientProtocol.cs:379)
at VaultClientNetLib.ClientService.VaultService.ValidateServiceVersions(Unknown Source)
at VaultClientNetLib.VaultConnection.Login(Unknown Source)
at VaultClientOperationsLib.ClientInstance.Login(Unknown Source)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:3904)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:4038)
at com.sourcegear.vault.ui.commands.ConnectCommand.doRun(ConnectCommand.java:59)
at com.cdesg.core.command.Command.run(Command.java:80)
at com.cdesg.uihelper.command.RunnableWithProgressCommandAdapter.run(RunnableWithProgressCommandAdapter.java:67)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

at system.Web.Services.Protocols.SoapHttpClientProtocol.ReceiveResponse(SoapHttpClientProtocol.cs:351)
at system.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(SoapHttpClientProtocol.cs:379)
at VaultClientNetLib.ClientService.VaultService.ValidateServiceVersions(Unknown Source)
at VaultClientNetLib.VaultConnection.Login(Unknown Source)
at VaultClientOperationsLib.ClientInstance.Login(Unknown Source)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:3904)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:4038)
at com.sourcegear.vault.ui.commands.ConnectCommand.doRun(ConnectCommand.java:59)
at com.cdesg.core.command.Command.run(Command.java:80)
at com.cdesg.uihelper.command.RunnableWithProgressCommandAdapter.run(RunnableWithProgressCommandAdapter.java:67)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
--- End of inner exception stack trace ---
at clr.System.ExceptionStaticWrapper.ExceptionCtor(Exception.jvm.cs:45)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:3915)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:4038)
at com.sourcegear.vault.ui.commands.ConnectCommand.doRun(ConnectCommand.java:59)
at com.cdesg.core.command.Command.run(Command.java:80)
at com.cdesg.uihelper.command.RunnableWithProgressCommandAdapter.run(RunnableWithProgressCommandAdapter.java:67)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

at clr.System.ExceptionStaticWrapper.access$100(Exception.jvm.cs:61422)
at clr.System.ExceptionStaticWrapper.ExceptionCtor(Exception.jvm.cs:45)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:3915)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:4038)
at com.sourcegear.vault.ui.commands.ConnectCommand.doRun(ConnectCommand.java:59)
at com.cdesg.core.command.Command.run(Command.java:80)
at com.cdesg.uihelper.command.RunnableWithProgressCommandAdapter.run(RunnableWithProgressCommandAdapter.java:67)
... 1 more
Caused by: System.Web.Services.Protocols.SoapException: 1021 : FailServiceVersionNotSupported
at system.Web.Services.Protocols.SoapHttpClientProtocol.ReceiveResponse(SoapHttpClientProtocol.cs:351)
at system.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(SoapHttpClientProtocol.cs:379)
at VaultClientNetLib.ClientService.VaultService.ValidateServiceVersions(Unknown Source)
at VaultClientNetLib.VaultConnection.Login(Unknown Source)
at VaultClientOperationsLib.ClientInstance.Login(Unknown Source)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:3904)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:4038)
at com.sourcegear.vault.ui.commands.ConnectCommand.doRun(ConnectCommand.java:59)
at com.cdesg.core.command.Command.run(Command.java:80)
at com.cdesg.uihelper.command.RunnableWithProgressCommandAdapter.run(RunnableWithProgressCommandAdapter.java:67)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

at system.Web.Services.Protocols.SoapHttpClientProtocol.ReceiveResponse(SoapHttpClientProtocol.cs:351)
at system.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(SoapHttpClientProtocol.cs:379)
at VaultClientNetLib.ClientService.VaultService.ValidateServiceVersions(Unknown Source)
at VaultClientNetLib.VaultConnection.Login(Unknown Source)
at VaultClientOperationsLib.ClientInstance.Login(Unknown Source)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:3904)
... 5 more

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Integration with Eclipse

Post by lbauer » Tue Dec 31, 2013 1:27 pm

Code: Select all

Caused by: System.Web.Services.Protocols.SoapException: 1021 : FailServiceVersionNotSupported
What version of the Eclipse Plugin did you install?

If you installed the latest update, that update is for Vault 7.1, and not compatible with Vault 6.1.

You can download the Vault Pro 6.1 Eclipse plugin from this page:

http://www.sourcegear.com/vault/download-plugin.html

Is there a reason you're using Vault Pro 6.1 instead of the latest version?
Linda Bauer
SourceGear
Technical Support Manager

hondotbt
Posts: 2
Joined: Wed Dec 18, 2013 2:48 pm

Re: Integration with Eclipse

Post by hondotbt » Thu Jan 02, 2014 8:13 am

Thank you for the help. I had to uninstall the 7 plugin and then used the 6.1 plugin and now everything is working fine. We purchased the 6.1 software before 7 was released. Many Thanks.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Integration with Eclipse

Post by lbauer » Thu Jan 02, 2014 8:47 am

Glad that the problem has been resolved. Thanks for using Vault!
Linda Bauer
SourceGear
Technical Support Manager

Post Reply