Flex Builder Log in problems for Vault Plugin

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
krisPolaris
Posts: 6
Joined: Mon Aug 03, 2009 8:37 am

Flex Builder Log in problems for Vault Plugin

Post by krisPolaris » Mon Aug 03, 2009 8:44 am

We recently upgraded to Vault client & server to 4.1.4 version. I installed a vault plugin for FlexBulder and tried to login. Login failed with the following log:
==================================================================================================================
!ENTRY org.eclipse.ui 4 0 2009-08-03 09:35:37.703
!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:813)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:369)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
at org.eclipse.jface.window.Window.open(Window.java:796)
at org.eclipse.ui.actions.ImportResourcesAction.run(ImportResourcesAction.java:159)
at org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(BaseSelectionListenerAction.java:168)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at com.adobe.flexbuilder.standalone.FlexBuilderApplication.start(FlexBuilderApplication.java:112)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
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:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
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:113)
Caused by: System.Exception: The username or password supplied is invalid. ---> System.Web.Services.Protocols.SoapException: 1000 : FailNotValidLogin
at system.Web.Services.Protocols.SoapHttpClientProtocol.__CreateClass__0x0000000a(SoapHttpClientProtocol.cs)
at system.Web.Services.Protocols.SoapHttpClientProtocol.ReceiveResponse(SoapHttpClientProtocol.cs:295)
at system.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(SoapHttpClientProtocol.cs:346)
at VaultClientNetLib.ClientService.VaultService.Login(Unknown Source)
at VaultClientNetLib.VaultConnection.Login(Unknown Source)
at VaultClientOperationsLib.ClientInstance.Login(Unknown Source)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:2562)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:2668)
at com.sourcegear.vault.ui.commands.ConnectCommand.doRun(ConnectCommand.java:57)
at com.cdesg.core.command.Command.run(Command.java:77)
at com.cdesg.uihelper.command.RunnableWithProgressCommandAdapter.run(RunnableWithProgressCommandAdapter.java:67)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)

at system.Web.Services.Protocols.SoapHttpClientProtocol.__CreateClass__0x0000000a(SoapHttpClientProtocol.cs)
at system.Web.Services.Protocols.SoapHttpClientProtocol.ReceiveResponse(SoapHttpClientProtocol.cs:295)
at system.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(SoapHttpClientProtocol.cs:346)
at VaultClientNetLib.ClientService.VaultService.Login(Unknown Source)
at VaultClientNetLib.VaultConnection.Login(Unknown Source)
at VaultClientOperationsLib.ClientInstance.Login(Unknown Source)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:2562)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:2668)
at com.sourcegear.vault.ui.commands.ConnectCommand.doRun(ConnectCommand.java:57)
at com.cdesg.core.command.Command.run(Command.java:77)
at com.cdesg.uihelper.command.RunnableWithProgressCommandAdapter.run(RunnableWithProgressCommandAdapter.java:67)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
--- End of inner exception stack trace ---
at clr.System.ExceptionStaticWrapper.ExceptionCtor(Unknown Source)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:2573)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:2668)
at com.sourcegear.vault.ui.commands.ConnectCommand.doRun(ConnectCommand.java:57)
at com.cdesg.core.command.Command.run(Command.java:77)
at com.cdesg.uihelper.command.RunnableWithProgressCommandAdapter.run(RunnableWithProgressCommandAdapter.java:67)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)

at clr.System.ExceptionStaticWrapper.ExceptionCtor(Unknown Source)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:2573)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:2668)
at com.sourcegear.vault.ui.commands.ConnectCommand.doRun(ConnectCommand.java:57)
at com.cdesg.core.command.Command.run(Command.java:77)
at com.cdesg.uihelper.command.RunnableWithProgressCommandAdapter.run(RunnableWithProgressCommandAdapter.java:67)
... 1 more
==================================================================================================================

I have been using the same username, password & server that I use in Vault Client. Here are my version details:
Vault Client & Server: 4.1.4
Eclipse Vault Plugin version: 4.1.4.18429
FlexBuilder: 3.0.2


Its really important for us to get this up and running soon. We appreciate your quick response from SourceGear.

Thanks

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

Re: Flex Builder Log in problems for Vault Plugin

Post by Beth » Mon Aug 03, 2009 10:00 am

Are you Using SSL with the Eclipse Plugin or Java CLC? If so, check out the link and try those instructions.
Beth Kieler
SourceGear Technical Support

krisPolaris
Posts: 6
Joined: Mon Aug 03, 2009 8:37 am

Re: Flex Builder Log in problems for Vault Plugin

Post by krisPolaris » Mon Aug 03, 2009 11:55 am

Beth, I am not using SSL though.

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

Re: Flex Builder Log in problems for Vault Plugin

Post by Beth » Mon Aug 03, 2009 1:31 pm

Do you need to enter proxy information?
Beth Kieler
SourceGear Technical Support

krisPolaris
Posts: 6
Joined: Mon Aug 03, 2009 8:37 am

Re: Flex Builder Log in problems for Vault Plugin

Post by krisPolaris » Mon Aug 03, 2009 3:50 pm

Donnow what you mean. But when I try to import or share a project with Vault in Flex Builder, it just asks for username, password, vault server. Attaching that screen and also the screen of my vault client.

I am using the exact same credentials for both Vault Client and Flex Builder's Vault. Vault client works just fine and the plugin for Flex Builder throws me the log error and doesn't go any further. :x
Attachments
vault_client.jpg
Vault Client connect screen.
vault_client.jpg (11.43 KiB) Viewed 6302 times
flex_import.jpg
Import wizard in Flex Builder
flex_import.jpg (11.29 KiB) Viewed 6302 times

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

Re: Flex Builder Log in problems for Vault Plugin

Post by Beth » Tue Aug 04, 2009 9:30 am

In your Vault GUI client, under Tools - Options - Network Settings, do you have a proxy set there? Does it work if you set it for Do Not Use a Proxy?
Beth Kieler
SourceGear Technical Support

krisPolaris
Posts: 6
Joined: Mon Aug 03, 2009 8:37 am

Re: Flex Builder Log in problems for Vault Plugin

Post by krisPolaris » Tue Aug 04, 2009 10:11 am

Yup. It was set to use System Default proxy. I changed it to Do not use Proxy now. Vault GUI works with proxy set to Do Not use a Proxy. But the flex plugin is still at where it was.

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

Re: Flex Builder Log in problems for Vault Plugin

Post by Beth » Tue Aug 04, 2009 1:50 pm

In the very center of your error it says, "The username or password supplied is invalid. ---> System.Web.Services.Protocols.SoapException: 1000 : FailNotValidLogin." Could you try a different login to see if that works better?
Beth Kieler
SourceGear Technical Support

krisPolaris
Posts: 6
Joined: Mon Aug 03, 2009 8:37 am

Re: Flex Builder Log in problems for Vault Plugin

Post by krisPolaris » Tue Aug 04, 2009 2:39 pm

Yup. I noticed it and I even mentioned that in my previous thread that when I use the same credentials for my Vault GUI, it works. And it doesn't work only from Flex. I will take your advice and try it with some other username password to see if it works. Will post the results in a bit.

krisPolaris
Posts: 6
Joined: Mon Aug 03, 2009 8:37 am

Re: Flex Builder Log in problems for Vault Plugin

Post by krisPolaris » Tue Aug 04, 2009 4:06 pm

Beth, it worked with another username password and it seemed like a password cache issue, as per the network guy. After clearing it, it logs me in with my credentials from flex. Thanks :wink:

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

Re: Flex Builder Log in problems for Vault Plugin

Post by Beth » Wed Aug 05, 2009 8:04 am

Thanks for the update. I'm happy to hear you were able to get working again.
Beth Kieler
SourceGear Technical Support

Post Reply