Error when logging in to SG from eclipse vault plugin
Moderator: SourceGear
Error when logging in to SG from eclipse vault plugin
Hi,
I want to use vault plugin for eclipse. I installed the plugin by adding source gear update site as remote site in eclipse. installation running well.
after restart eclipse, i try to import vault project. after i fill username, password, and server and click the button, then i got error message that ask me to see the detail in <workspace>/.metadata/.log
When i open that file and sorted out the content, i got error message that you can see at the end of my post.
I'm running eclipse 3.2.2 on ubuntu 8.04 amd64 bit version.
Hope you can help me solve this problem.
Thanks and best regards,
Tiono
Error message generated when error happen :
===============================================
!ENTRY org.eclipse.ui 4 4 2008-07-02 08:21:00.753
!MESSAGE Unhandled event loop exception
!ENTRY org.eclipse.ui 4 0 2008-07-02 08:21:00.754
!MESSAGE java.lang.reflect.InvocationTargetException
!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:751)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:351)
at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3180)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2856)
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:539)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3180)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2856)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at java.lang.reflect.Method.invoke(libgcj.so.81)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Caused by: java.lang.reflect.InvocationTargetException
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:350)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:851)
at com.sourcegear.vault.team.wizards.LoginWizardPage.AttemptLogin(LoginWizardPage.java:42)
...36 more
Caused by: java.lang.NoClassDefFoundError: system.Net.WebRequest
at java.lang.Class.initializeClass(libgcj.so.81)
at java.lang.Class.forName(libgcj.so.81)
at system.TypeResolver.loadClass(TypeResolver.java:341)
at system.TypeResolver.resolve(TypeResolver.java:69)
at system.Type.GetType(Type.java:538)
at clr.compiler.TypeInfo.createParameterInfo(TypeInfo.java:488)
at system.Web.Services.Protocols.SoapHttpClientProtocol$SoapHttpClientProtocolAttrib.createMethodData(Unknown Source)
at clr.compiler.TypeInfo.getMethods(TypeInfo.java:576)
at clr.compiler.TypeInfo.getMethodCash(TypeInfo.java:994)
at system.Reflection.Cash.MethodCash.initInheritedMethods(MethodCash.java:234)
at system.Reflection.Cash.MethodCash.<init>(MethodCash.java:52)
at clr.compiler.TypeInfo.getMethodCash(TypeInfo.java:994)
at system.Type.GetMethods(Type.java:1006)
at system.Web.Services.Protocols.LogicalTypeInfo.<init>(TypeStubManager.cs:303)
at system.Web.Services.Protocols.TypeStubManager.__CreateClass__0x00000001(TypeStubManager.cs)
at system.Web.Services.Protocols.TypeStubManager.GetLogicalTypeInfo(TypeStubManager.cs:423)
at system.Web.Services.Protocols.TypeStubManager.GetTypeStub(TypeStubManager.cs:409)
at system.Web.Services.Protocols.SoapHttpClientProtocol.<init>(SoapHttpClientProtocol.cs:78)
at VaultClientNetLib.ClientService.VaultService.<init>(Unknown Source)
at VaultClientNetLib.VaultConnection.__CreateClass__0x00000005(Unknown Source)
at VaultClientNetLib.VaultConnection.InitService(Unknown Source)
at VaultClientOperationsLib.ClientInstance.Init(Unknown Source)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:2435)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:2586)
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)
I want to use vault plugin for eclipse. I installed the plugin by adding source gear update site as remote site in eclipse. installation running well.
after restart eclipse, i try to import vault project. after i fill username, password, and server and click the button, then i got error message that ask me to see the detail in <workspace>/.metadata/.log
When i open that file and sorted out the content, i got error message that you can see at the end of my post.
I'm running eclipse 3.2.2 on ubuntu 8.04 amd64 bit version.
Hope you can help me solve this problem.
Thanks and best regards,
Tiono
Error message generated when error happen :
===============================================
!ENTRY org.eclipse.ui 4 4 2008-07-02 08:21:00.753
!MESSAGE Unhandled event loop exception
!ENTRY org.eclipse.ui 4 0 2008-07-02 08:21:00.754
!MESSAGE java.lang.reflect.InvocationTargetException
!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:751)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:351)
at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3180)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2856)
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:539)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3180)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2856)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at java.lang.reflect.Method.invoke(libgcj.so.81)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Caused by: java.lang.reflect.InvocationTargetException
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:350)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:851)
at com.sourcegear.vault.team.wizards.LoginWizardPage.AttemptLogin(LoginWizardPage.java:42)
...36 more
Caused by: java.lang.NoClassDefFoundError: system.Net.WebRequest
at java.lang.Class.initializeClass(libgcj.so.81)
at java.lang.Class.forName(libgcj.so.81)
at system.TypeResolver.loadClass(TypeResolver.java:341)
at system.TypeResolver.resolve(TypeResolver.java:69)
at system.Type.GetType(Type.java:538)
at clr.compiler.TypeInfo.createParameterInfo(TypeInfo.java:488)
at system.Web.Services.Protocols.SoapHttpClientProtocol$SoapHttpClientProtocolAttrib.createMethodData(Unknown Source)
at clr.compiler.TypeInfo.getMethods(TypeInfo.java:576)
at clr.compiler.TypeInfo.getMethodCash(TypeInfo.java:994)
at system.Reflection.Cash.MethodCash.initInheritedMethods(MethodCash.java:234)
at system.Reflection.Cash.MethodCash.<init>(MethodCash.java:52)
at clr.compiler.TypeInfo.getMethodCash(TypeInfo.java:994)
at system.Type.GetMethods(Type.java:1006)
at system.Web.Services.Protocols.LogicalTypeInfo.<init>(TypeStubManager.cs:303)
at system.Web.Services.Protocols.TypeStubManager.__CreateClass__0x00000001(TypeStubManager.cs)
at system.Web.Services.Protocols.TypeStubManager.GetLogicalTypeInfo(TypeStubManager.cs:423)
at system.Web.Services.Protocols.TypeStubManager.GetTypeStub(TypeStubManager.cs:409)
at system.Web.Services.Protocols.SoapHttpClientProtocol.<init>(SoapHttpClientProtocol.cs:78)
at VaultClientNetLib.ClientService.VaultService.<init>(Unknown Source)
at VaultClientNetLib.VaultConnection.__CreateClass__0x00000005(Unknown Source)
at VaultClientNetLib.VaultConnection.InitService(Unknown Source)
at VaultClientOperationsLib.ClientInstance.Init(Unknown Source)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:2435)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:2586)
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)
Same Problem for me
I am using JDK 1.6 jdk1.6.0_05, Valut plugin and server latest version.
Whenever i try to log on i get the same error. Help me out.
My Os is Windows Xp SP3
Whenever i try to log on i get the same error. Help me out.
My Os is Windows Xp SP3
Re: Error when logging in to SG from eclipse vault plugin
Sorry for the time delay from my last post.
I've update my ubuntu java to java 1.6.0_06 ( i run command java -version at terminal prompt ), then i clear log file in <workspace>/metadata/ directory. then try to import project from vault again. Enter username, password and server, then click next button, and error alert show up.
I check log file again and here is the content log file content. What should i do next?
=====================================================================
!ENTRY org.eclipse.ui 4 4 2008-08-20 16:05:53.888
!MESSAGE Unhandled event loop exception
!ENTRY org.eclipse.ui 4 0 2008-08-20 16:05:53.888
!MESSAGE java.lang.reflect.InvocationTargetException
!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:751)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:351)
at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3180)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2856)
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:539)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3180)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2856)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at java.lang.reflect.Method.invoke(libgcj.so.81)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Caused by: java.lang.reflect.InvocationTargetException
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:350)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:851)
at com.sourcegear.vault.team.wizards.LoginWizardPage.AttemptLogin(LoginWizardPage.java:42)
...36 more
Caused by: java.lang.NoClassDefFoundError: system.Net.WebRequest
at java.lang.Class.initializeClass(libgcj.so.81)
at java.lang.Class.forName(libgcj.so.81)
at system.TypeResolver.loadClass(TypeResolver.java:341)
at system.TypeResolver.resolve(TypeResolver.java:69)
at system.Type.GetType(Type.java:538)
at clr.compiler.TypeInfo.createParameterInfo(TypeInfo.java:488)
at system.Web.Services.Protocols.SoapHttpClientProtocol$SoapHttpClientProtocolAttrib.createMethodData(Unknown Source)
at clr.compiler.TypeInfo.getMethods(TypeInfo.java:576)
at clr.compiler.TypeInfo.getMethodCash(TypeInfo.java:994)
at system.Reflection.Cash.MethodCash.initInheritedMethods(MethodCash.java:234)
at system.Reflection.Cash.MethodCash.<init>(MethodCash.java:52)
at clr.compiler.TypeInfo.getMethodCash(TypeInfo.java:994)
at system.Type.GetMethods(Type.java:1006)
at system.Web.Services.Protocols.LogicalTypeInfo.<init>(TypeStubManager.cs:303)
at system.Web.Services.Protocols.TypeStubManager.__CreateClass__0x00000001(TypeStubManager.cs)
at system.Web.Services.Protocols.TypeStubManager.GetLogicalTypeInfo(TypeStubManager.cs:423)
at system.Web.Services.Protocols.TypeStubManager.GetTypeStub(TypeStubManager.cs:409)
at system.Web.Services.Protocols.SoapHttpClientProtocol.<init>(SoapHttpClientProtocol.cs:78)
at VaultClientNetLib.ClientService.VaultService.<init>(Unknown Source)
at VaultClientNetLib.VaultConnection.__CreateClass__0x00000005(Unknown Source)
at VaultClientNetLib.VaultConnection.InitService(Unknown Source)
at VaultClientOperationsLib.ClientInstance.Init(Unknown Source)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:2435)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:2586)
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)
I've update my ubuntu java to java 1.6.0_06 ( i run command java -version at terminal prompt ), then i clear log file in <workspace>/metadata/ directory. then try to import project from vault again. Enter username, password and server, then click next button, and error alert show up.
I check log file again and here is the content log file content. What should i do next?
=====================================================================
!ENTRY org.eclipse.ui 4 4 2008-08-20 16:05:53.888
!MESSAGE Unhandled event loop exception
!ENTRY org.eclipse.ui 4 0 2008-08-20 16:05:53.888
!MESSAGE java.lang.reflect.InvocationTargetException
!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:751)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:351)
at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3180)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2856)
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:539)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3180)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2856)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at java.lang.reflect.Method.invoke(libgcj.so.81)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Caused by: java.lang.reflect.InvocationTargetException
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:350)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:851)
at com.sourcegear.vault.team.wizards.LoginWizardPage.AttemptLogin(LoginWizardPage.java:42)
...36 more
Caused by: java.lang.NoClassDefFoundError: system.Net.WebRequest
at java.lang.Class.initializeClass(libgcj.so.81)
at java.lang.Class.forName(libgcj.so.81)
at system.TypeResolver.loadClass(TypeResolver.java:341)
at system.TypeResolver.resolve(TypeResolver.java:69)
at system.Type.GetType(Type.java:538)
at clr.compiler.TypeInfo.createParameterInfo(TypeInfo.java:488)
at system.Web.Services.Protocols.SoapHttpClientProtocol$SoapHttpClientProtocolAttrib.createMethodData(Unknown Source)
at clr.compiler.TypeInfo.getMethods(TypeInfo.java:576)
at clr.compiler.TypeInfo.getMethodCash(TypeInfo.java:994)
at system.Reflection.Cash.MethodCash.initInheritedMethods(MethodCash.java:234)
at system.Reflection.Cash.MethodCash.<init>(MethodCash.java:52)
at clr.compiler.TypeInfo.getMethodCash(TypeInfo.java:994)
at system.Type.GetMethods(Type.java:1006)
at system.Web.Services.Protocols.LogicalTypeInfo.<init>(TypeStubManager.cs:303)
at system.Web.Services.Protocols.TypeStubManager.__CreateClass__0x00000001(TypeStubManager.cs)
at system.Web.Services.Protocols.TypeStubManager.GetLogicalTypeInfo(TypeStubManager.cs:423)
at system.Web.Services.Protocols.TypeStubManager.GetTypeStub(TypeStubManager.cs:409)
at system.Web.Services.Protocols.SoapHttpClientProtocol.<init>(SoapHttpClientProtocol.cs:78)
at VaultClientNetLib.ClientService.VaultService.<init>(Unknown Source)
at VaultClientNetLib.VaultConnection.__CreateClass__0x00000005(Unknown Source)
at VaultClientNetLib.VaultConnection.InitService(Unknown Source)
at VaultClientOperationsLib.ClientInstance.Init(Unknown Source)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:2435)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:2586)
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)
Re: Error when logging in to SG from eclipse vault plugin
According to the stack trace, it's still using gcj as the default java.
Try looking at these instructions for changing your default java on Ubuntu:
https://help.ubuntu.com/community/Java
Try looking at these instructions for changing your default java on Ubuntu:
https://help.ubuntu.com/community/Java
Re: Error when logging in to SG from eclipse vault plugin
I already set default java to java-6-sun using below command line
sudo update-alternatives --config java
then I run eclipse and try to import from vault again, and get error in log shown below. Do I need to set something at eclipse first so eclipse know which java to use?
==========================================================================
!ENTRY org.eclipse.ui 4 4 2008-08-21 10:30:34.392
!MESSAGE Unhandled event loop exception
!ENTRY org.eclipse.ui 4 0 2008-08-21 10:30:34.392
!MESSAGE java.lang.reflect.InvocationTargetException
!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:751)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:351)
at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3180)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2856)
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:539)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3180)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2856)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at java.lang.reflect.Method.invoke(libgcj.so.81)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Caused by: java.lang.reflect.InvocationTargetException
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:350)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:851)
at com.sourcegear.vault.team.wizards.LoginWizardPage.AttemptLogin(LoginWizardPage.java:42)
...36 more
Caused by: java.lang.NoClassDefFoundError: system.Net.WebRequest
at java.lang.Class.initializeClass(libgcj.so.81)
at java.lang.Class.forName(libgcj.so.81)
at system.TypeResolver.loadClass(TypeResolver.java:341)
at system.TypeResolver.resolve(TypeResolver.java:69)
at system.Type.GetType(Type.java:538)
at clr.compiler.TypeInfo.createParameterInfo(TypeInfo.java:488)
at system.Web.Services.Protocols.SoapHttpClientProtocol$SoapHttpClientProtocolAttrib.createMethodData(Unknown Source)
at clr.compiler.TypeInfo.getMethods(TypeInfo.java:576)
at clr.compiler.TypeInfo.getMethodCash(TypeInfo.java:994)
at system.Reflection.Cash.MethodCash.initInheritedMethods(MethodCash.java:234)
at system.Reflection.Cash.MethodCash.<init>(MethodCash.java:52)
at clr.compiler.TypeInfo.getMethodCash(TypeInfo.java:994)
at system.Type.GetMethods(Type.java:1006)
at system.Web.Services.Protocols.LogicalTypeInfo.<init>(TypeStubManager.cs:303)
at system.Web.Services.Protocols.TypeStubManager.__CreateClass__0x00000001(TypeStubManager.cs)
at system.Web.Services.Protocols.TypeStubManager.GetLogicalTypeInfo(TypeStubManager.cs:423)
at system.Web.Services.Protocols.TypeStubManager.GetTypeStub(TypeStubManager.cs:409)
at system.Web.Services.Protocols.SoapHttpClientProtocol.<init>(SoapHttpClientProtocol.cs:78)
at VaultClientNetLib.ClientService.VaultService.<init>(Unknown Source)
at VaultClientNetLib.VaultConnection.__CreateClass__0x00000005(Unknown Source)
at VaultClientNetLib.VaultConnection.InitService(Unknown Source)
at VaultClientOperationsLib.ClientInstance.Init(Unknown Source)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:2435)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:2586)
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)
sudo update-alternatives --config java
then I run eclipse and try to import from vault again, and get error in log shown below. Do I need to set something at eclipse first so eclipse know which java to use?
==========================================================================
!ENTRY org.eclipse.ui 4 4 2008-08-21 10:30:34.392
!MESSAGE Unhandled event loop exception
!ENTRY org.eclipse.ui 4 0 2008-08-21 10:30:34.392
!MESSAGE java.lang.reflect.InvocationTargetException
!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:751)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:351)
at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3180)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2856)
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:539)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3180)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2856)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at java.lang.reflect.Method.invoke(libgcj.so.81)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Caused by: java.lang.reflect.InvocationTargetException
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:350)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:851)
at com.sourcegear.vault.team.wizards.LoginWizardPage.AttemptLogin(LoginWizardPage.java:42)
...36 more
Caused by: java.lang.NoClassDefFoundError: system.Net.WebRequest
at java.lang.Class.initializeClass(libgcj.so.81)
at java.lang.Class.forName(libgcj.so.81)
at system.TypeResolver.loadClass(TypeResolver.java:341)
at system.TypeResolver.resolve(TypeResolver.java:69)
at system.Type.GetType(Type.java:538)
at clr.compiler.TypeInfo.createParameterInfo(TypeInfo.java:488)
at system.Web.Services.Protocols.SoapHttpClientProtocol$SoapHttpClientProtocolAttrib.createMethodData(Unknown Source)
at clr.compiler.TypeInfo.getMethods(TypeInfo.java:576)
at clr.compiler.TypeInfo.getMethodCash(TypeInfo.java:994)
at system.Reflection.Cash.MethodCash.initInheritedMethods(MethodCash.java:234)
at system.Reflection.Cash.MethodCash.<init>(MethodCash.java:52)
at clr.compiler.TypeInfo.getMethodCash(TypeInfo.java:994)
at system.Type.GetMethods(Type.java:1006)
at system.Web.Services.Protocols.LogicalTypeInfo.<init>(TypeStubManager.cs:303)
at system.Web.Services.Protocols.TypeStubManager.__CreateClass__0x00000001(TypeStubManager.cs)
at system.Web.Services.Protocols.TypeStubManager.GetLogicalTypeInfo(TypeStubManager.cs:423)
at system.Web.Services.Protocols.TypeStubManager.GetTypeStub(TypeStubManager.cs:409)
at system.Web.Services.Protocols.SoapHttpClientProtocol.<init>(SoapHttpClientProtocol.cs:78)
at VaultClientNetLib.ClientService.VaultService.<init>(Unknown Source)
at VaultClientNetLib.VaultConnection.__CreateClass__0x00000005(Unknown Source)
at VaultClientNetLib.VaultConnection.InitService(Unknown Source)
at VaultClientOperationsLib.ClientInstance.Init(Unknown Source)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:2435)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:2586)
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)
Re: Error when logging in to SG from eclipse vault plugin
I followed how-to about using sun's java in eclipse that i found at http://ubuntuforums.org/showthread.php?t=201378 and my eclipse run faster after that.
At eclipse windows > preferences > java > installed jres, I add new JRE which point to /usr/lib/jvm/java-6-sun and then check it as the default JRE.
Then i try to import project again from sourcegear vault and still get the same error message. Do I take the wrong way to connect and use the plugin?
Here is the error log
==============================================================================================================================
!ENTRY org.eclipse.ui 4 4 2008-08-21 14:47:38.100
!MESSAGE Unhandled event loop exception
!ENTRY org.eclipse.ui 4 0 2008-08-21 14:47:38.101
!MESSAGE java.lang.reflect.InvocationTargetException
!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:751)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:351)
at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3180)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2856)
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:539)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3180)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2856)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
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.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
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.Xml.XmlException: Document element did not appear. file:///home/tiono/.sourcegear/Client/settings.xml Line 1, position 1.
at system.Xml.XmlTextReader.__CreateClass__0x0000000e(XmlTextReader.cs)
at system.Xml.XmlTextReader.NotWFError(XmlTextReader.cs:929)
at system.Xml.XmlTextReader.Read(XmlTextReader.cs:596)
at system.Xml.XmlDocument.ReadNode(XmlDocument.cs:797)
at system.Xml.XmlDocument.Load(XmlDocument.cs:664)
at VaultClientOperationsLib.LocalSettings$VaultClientConfigReader.SetConfigSetting(Unknown Source)
at VaultClientOperationsLib.LocalSettings.SetString(Unknown Source)
at VaultClientOperationsLib.ClientInstance.LoadDefaultLocalOptions(Unknown Source)
at VaultClientOperationsLib.ClientInstance.Init(Unknown Source)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:2435)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:2586)
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.Xml.XmlTextReader.__CreateClass__0x0000000e(XmlTextReader.cs)
at system.Xml.XmlTextReader.NotWFError(XmlTextReader.cs:929)
at system.Xml.XmlTextReader.Read(XmlTextReader.cs:596)
at system.Xml.XmlDocument.ReadNode(XmlDocument.cs:797)
at system.Xml.XmlDocument.Load(XmlDocument.cs:664)
at VaultClientOperationsLib.LocalSettings$VaultClientConfigReader.SetConfigSetting(Unknown Source)
at VaultClientOperationsLib.LocalSettings.SetString(Unknown Source)
at VaultClientOperationsLib.ClientInstance.LoadDefaultLocalOptions(Unknown Source)
at VaultClientOperationsLib.ClientInstance.Init(Unknown Source)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:2435)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:2586)
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
At eclipse windows > preferences > java > installed jres, I add new JRE which point to /usr/lib/jvm/java-6-sun and then check it as the default JRE.
Then i try to import project again from sourcegear vault and still get the same error message. Do I take the wrong way to connect and use the plugin?
Here is the error log
==============================================================================================================================
!ENTRY org.eclipse.ui 4 4 2008-08-21 14:47:38.100
!MESSAGE Unhandled event loop exception
!ENTRY org.eclipse.ui 4 0 2008-08-21 14:47:38.101
!MESSAGE java.lang.reflect.InvocationTargetException
!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:751)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:351)
at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3180)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2856)
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:539)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3180)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2856)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
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.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
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.Xml.XmlException: Document element did not appear. file:///home/tiono/.sourcegear/Client/settings.xml Line 1, position 1.
at system.Xml.XmlTextReader.__CreateClass__0x0000000e(XmlTextReader.cs)
at system.Xml.XmlTextReader.NotWFError(XmlTextReader.cs:929)
at system.Xml.XmlTextReader.Read(XmlTextReader.cs:596)
at system.Xml.XmlDocument.ReadNode(XmlDocument.cs:797)
at system.Xml.XmlDocument.Load(XmlDocument.cs:664)
at VaultClientOperationsLib.LocalSettings$VaultClientConfigReader.SetConfigSetting(Unknown Source)
at VaultClientOperationsLib.LocalSettings.SetString(Unknown Source)
at VaultClientOperationsLib.ClientInstance.LoadDefaultLocalOptions(Unknown Source)
at VaultClientOperationsLib.ClientInstance.Init(Unknown Source)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:2435)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:2586)
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.Xml.XmlTextReader.__CreateClass__0x0000000e(XmlTextReader.cs)
at system.Xml.XmlTextReader.NotWFError(XmlTextReader.cs:929)
at system.Xml.XmlTextReader.Read(XmlTextReader.cs:596)
at system.Xml.XmlDocument.ReadNode(XmlDocument.cs:797)
at system.Xml.XmlDocument.Load(XmlDocument.cs:664)
at VaultClientOperationsLib.LocalSettings$VaultClientConfigReader.SetConfigSetting(Unknown Source)
at VaultClientOperationsLib.LocalSettings.SetString(Unknown Source)
at VaultClientOperationsLib.ClientInstance.LoadDefaultLocalOptions(Unknown Source)
at VaultClientOperationsLib.ClientInstance.Init(Unknown Source)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:2435)
at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:2586)
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
Re: Error when logging in to SG from eclipse vault plugin
This new stack trace is different from the previous ones, so you must now be using the sun jre. I think it's having trouble finding an xml file where we store your settings: file:///home/tiono/.sourcegear/Client/settings.xml
Can you see if that file exists? If not, can you see if it exists in a different location?
Can you see if that file exists? If not, can you see if it exists in a different location?
Re: Error when logging in to SG from eclipse vault plugin
settings.xml exist at /home/tiono/.sourcegear/Client/ but the content is empty. not a single character. what should i do next?
Thanks.
Thanks.
Re: Error when logging in to SG from eclipse vault plugin
Something may have gone wrong with the creation of that file when you ran the first time with gcj. Close Eclipse, delete the settings.xml file and then open Eclipse and try import again. This should recreate the file properly.
Re: Error when logging in to SG from eclipse vault plugin
Thank you for your assistance shannon, now i can login and select repository when import, but after I select one, then nothing happen, the download never finish although it last very long already. If i login from SG Vault client under windows, it is very fast. what could be the problem?
Re: Error when logging in to SG from eclipse vault plugin
I think I get it why it took so long, seems like whole files are downloaded first, am i right?
One most important question, Can i set working folder for each folder at my eclipse project like in Windows SourceGear Vault Client? If vault plugin for eclipse couldn't do that, then I think I can stop using the plugin.
Thanks in advance.
One most important question, Can i set working folder for each folder at my eclipse project like in Windows SourceGear Vault Client? If vault plugin for eclipse couldn't do that, then I think I can stop using the plugin.
Thanks in advance.
Re: Error when logging in to SG from eclipse vault plugin
Each project in your Eclipse workspace can have it's own working folder setting. Having folders within a project that exist somewhere else on disk leads to linked resources, which our plugin doesn't support.
One of my co-workers suggested you try this: create a new directory for the workspace and symlink all of the projects under that workspace.
One of my co-workers suggested you try this: create a new directory for the workspace and symlink all of the projects under that workspace.