Source Vault Eclipse

If you are having a problem using Vault, post a message here.
Post Reply
ryanmsusa
Posts: 5
Joined: Tue Nov 01, 2011 8:52 am

Source Vault Eclipse

Post by ryanmsusa » Tue Nov 01, 2011 8:56 am

Trying to install Source Vault for Eclipse Indigo. I have JRE 7/JDK 1.7. When I try to share with team I receive an "Unhandled event loop exception" and I'll post the details of the error log below. Also when I go to Vault preferences I see red text that says "You must be connected to use this page"

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:240)
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:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.team.internal.ui.wizards.ConfigureProjectWizard.openWizard(ConfigureProjectWizard.java:224)
at org.eclipse.team.internal.ui.wizards.ConfigureProjectWizard.shareProjects(ConfigureProjectWizard.java:124)
at org.eclipse.team.internal.ui.actions.ConfigureProjectAction$1.run(ConfigureProjectAction.java:39)
at org.eclipse.team.internal.ui.actions.TeamAction$3.run(TeamAction.java:266)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.team.internal.ui.actions.TeamAction.run(TeamAction.java:263)
at org.eclipse.team.internal.ui.actions.ConfigureProjectAction.execute(ConfigureProjectAction.java:33)
at org.eclipse.team.internal.ui.actions.TeamAction.run(TeamAction.java:515)
at org.eclipse.team.internal.ui.actions.TeamAction.runWithEvent(TeamAction.java:549)
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:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
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:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
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.IO.IOException: Fail creating the directory: \\vmware-host\Shared Folders\Local Settings
at system.IO.DirectoryInfo.__CreateClass__0x00000003(Unknown Source)
at system.IO.DirectoryInfo.Create(Unknown Source)
at system.IO.Directory.CreateDirectory(Unknown Source)
at VaultClientOperationsLib.LocalSettings$VaultClientConfigReader.MakeAllDirectories(Unknown Source)
at VaultClientOperationsLib.LocalSettings$VaultClientConfigReader.MakeAllDirectories(Unknown Source)
at VaultClientOperationsLib.LocalSettings$VaultClientConfigReader.MakeAllDirectories(Unknown Source)
at VaultClientOperationsLib.LocalSettings$VaultClientConfigReader.MakeAllDirectories(Unknown Source)
at VaultClientOperationsLib.LocalSettings$VaultClientConfigReader.<init>(Unknown Source)
at VaultClientOperationsLib.LocalSettings.__CreateClass__0x00000000(Unknown Source)
at VaultClientOperationsLib.LocalSettings.Init(Unknown Source)
at VaultClientOperationsLib.LocalSettings.Init(Unknown Source)
at com.sourcegear.vault.ui.commands.ConnectCommand.doRun(ConnectCommand.java:40)
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.IO.DirectoryInfo.__CreateClass__0x00000003(Unknown Source)
at system.IO.DirectoryInfo.Create(Unknown Source)
at system.IO.Directory.CreateDirectory(Unknown Source)
at VaultClientOperationsLib.LocalSettings$VaultClientConfigReader.MakeAllDirectories(Unknown Source)
at VaultClientOperationsLib.LocalSettings$VaultClientConfigReader.MakeAllDirectories(Unknown Source)
at VaultClientOperationsLib.LocalSettings$VaultClientConfigReader.MakeAllDirectories(Unknown Source)
at VaultClientOperationsLib.LocalSettings$VaultClientConfigReader.MakeAllDirectories(Unknown Source)
at VaultClientOperationsLib.LocalSettings$VaultClientConfigReader.<init>(Unknown Source)
at VaultClientOperationsLib.LocalSettings.__CreateClass__0x00000000(Unknown Source)
at VaultClientOperationsLib.LocalSettings.Init(Unknown Source)
at VaultClientOperationsLib.LocalSettings.Init(Unknown Source)
at com.sourcegear.vault.ui.commands.ConnectCommand.doRun(ConnectCommand.java:40)
at com.cdesg.core.command.Command.run(Command.java:80)
at com.cdesg.uihelper.command.RunnableWithProgressCommandAdapter.run(RunnableWithProgressCommandAdapter.java:67)
... 1 more

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Source Vault Eclipse

Post by Beth » Tue Nov 01, 2011 10:37 am

Which method did you use for installing the plugin?

What is your OS?

I just recently placed Eclipse Indigo on my machine as well, and I know I have JRE 7, but I've only tried it on XP so far.
Beth Kieler
SourceGear Technical Support

ryanmsusa
Posts: 5
Joined: Tue Nov 01, 2011 8:52 am

Re: Source Vault Eclipse

Post by ryanmsusa » Tue Nov 01, 2011 11:54 am

Trying on both a virtual of Windows 7 and Mac OSX Lion

I installed thru Eclipse's native way of installing plugins (menu->install new software->add the proper link)

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Source Vault Eclipse

Post by Beth » Tue Nov 01, 2011 12:43 pm

It looks like the error to look at is "Fail creating the directory: \\vmware-host\Shared Folders\Local Settings."

Try running Eclipse as administrator and see if you get the same results.

Check to see if the path \\vmware-host\Shared Folders\Local Settings exists.
Beth Kieler
SourceGear Technical Support

ryanmsusa
Posts: 5
Joined: Tue Nov 01, 2011 8:52 am

Re: Source Vault Eclipse

Post by ryanmsusa » Wed Nov 02, 2011 9:14 am

Ok yes you were right about the folder permissions but now I have a new problem.

The version of vault on the server is: Version 4.1.1 (18060)

So I go to this url: http://download.sourcegear.com/Vault/4.1.1.18060/ and download/install the Eclipse plugin manually. Then I am prompted with the errors in the image attached

Also, FYI I'm able to successfully use vault with Visual Studio 2010 on the same computer
You do not have the required permissions to view the files attached to this post.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Source Vault Eclipse

Post by Beth » Wed Nov 02, 2011 1:00 pm

Did you uninstall the previous version of the Vault Eclipse plugin before installing the 4.1.1. Vault Eclipse plugin.
Beth Kieler
SourceGear Technical Support

ryanmsusa
Posts: 5
Joined: Tue Nov 01, 2011 8:52 am

Re: Source Vault Eclipse

Post by ryanmsusa » Wed Nov 02, 2011 2:34 pm

Yes, I tried starting with a fresh Eclipse too.

I tried other versions of the Vault plugins and they do not give the same instantiate errors (although they give other errors when I go to actually use the features). This leads me to believe there is an issue with Version 4.1.1 (18060) jar files. Are you aware of such a problem?

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Source Vault Eclipse

Post by Beth » Wed Nov 02, 2011 3:07 pm

I tried other versions of the Vault plugins
Which versions? If you tried anything from 4.1.2 to 4.1.4, those can connect to a Vault 4.1.1 server without any problem and you can continue using any of those. There were some changes to the Eclipse plugin in Vault 4.1.3 and Vault 4.1.4 that might be beneficial.

I'm not sure yet if the issue you are having is specifically tied to any of the bugs at that time, so this will take more investigation.
Beth Kieler
SourceGear Technical Support

ryanmsusa
Posts: 5
Joined: Tue Nov 01, 2011 8:52 am

Re: Source Vault Eclipse

Post by ryanmsusa » Tue Nov 08, 2011 9:25 am

Nothing works...jar files corrupted

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Source Vault Eclipse

Post by Beth » Tue Nov 08, 2011 10:52 am

Could you send an email to support at sourcegear.com (attn: Beth) with a link to this forum thread?
Beth Kieler
SourceGear Technical Support

Post Reply