Bug: Eclipse plugin V4.1.4 showing error after login
Moderator: SourceGear
Bug: Eclipse plugin V4.1.4 showing error after login
I have updated my Vault clients (both Windows and Eclipse) to 4.1.4; the server is still on 4.1.3. Unfortunately, the Eclipse plugin now fails on login:
- I am asked for my credentials (as before), enter them
- The progress dialog shows that the repository is being loaded
- After a few seconds, an error message pops up: "The command [SetRepositoryCommand] failed" - I am returned to the login dialog
- I am asked for my credentials (as before), enter them
- The progress dialog shows that the repository is being loaded
- After a few seconds, an error message pops up: "The command [SetRepositoryCommand] failed" - I am returned to the login dialog
Re: Bug: Eclipse plugin V4.1.4 showing error after login
Is there anything in the Eclipse error log? Can you also check the VaultEclipseLog.log in %TEMP%?
What version of Eclipse are you running?
I'd like you to try a little experiment for me, as well: Cancel the login dialog when you open Eclipse. Start the import process like you were going to import a new project. Don't go all the way thru the process, I just want to know if you can get past the page where you choose a repository without an error.
What version of Eclipse are you running?
I'd like you to try a little experiment for me, as well: Cancel the login dialog when you open Eclipse. Start the import process like you were going to import a new project. Don't go all the way thru the process, I just want to know if you can get past the page where you choose a repository without an error.
Re: Bug: Eclipse plugin V4.1.4 showing error after login
I have already returned to V4.1.3 of the Eclipse client, but I'll try this later.
Re: Bug: Eclipse plugin V4.1.4 showing error after login
I've reproduced the error. We're looking into the cause now.
F:13818
F:13818
Re: Bug: Eclipse plugin V4.1.4 showing error after login
Great, thank you very much! If you still need some more information from my side, just let me know, and I'll see what I can do.shannon wrote:I've reproduced the error. We're looking into the cause now.
Re: Bug: Eclipse plugin V4.1.4 showing error after login
We found the bug and fixed it. You can download the updated Eclipse plugin from the website.
Re: Bug: Eclipse plugin V4.1.4 showing error after login
What version number does it have? I did find and install again in Eclipse, but the problem currently persists, so I guess that I have downloaded the old version again: 4.1.4.18419?shannon wrote:We found the bug and fixed it. You can download the updated Eclipse plugin from the website.
Edit: it seems to be the new one, but as I said, the problem remains the same here...
Re: Bug: Eclipse plugin V4.1.4 showing error after login
Can you attach a copy of your eclipse error log or just paste the error that occurred with the login.
That is the right version. Try this: Shutdown eclipse. Clean out all the com.cdesg.* and com.sourcegear.* items (may be jars or directories) out of your plugins directory. Then start eclipse again and try to install the plugin again.
That is the right version. Try this: Shutdown eclipse. Clean out all the com.cdesg.* and com.sourcegear.* items (may be jars or directories) out of your plugins directory. Then start eclipse again and try to install the plugin again.
Re: Bug: Eclipse plugin V4.1.4 showing error after login
Did that... but it didn't change anything. Except that now my working version 4.1.3 is also gone...shannon wrote:That is the right version. Try this: Shutdown eclipse. Clean out all the com.cdesg.* and com.sourcegear.* items (may be jars or directories) out of your plugins directory. Then start eclipse again and try to install the plugin again.
There's just one (current) entry with the message The command [SetRepositoryCommand] failedshannon wrote:Can you attach a copy of your eclipse error log or just paste the error that occurred with the login.
Code: Select all
java.lang.NoClassDefFoundError: com/cdesg/util/process/ProcessFinishedHandler
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.getDeclaredMethod(Unknown Source)
at clr.compiler.TypeInfo.addMethodData(Unknown Source)
at VaultClientOperationsLib.ClientInstance$ClientInstanceAttrib.createMethodData(Unknown Source)
at clr.compiler.TypeInfo.getMethods(Unknown Source)
at clr.compiler.TypeInfo.getMethodCash(Unknown Source)
at system.Type.GetMethod(Unknown Source)
at system.Reflection.MethodInfo.CreateMethodInfo(Unknown Source)
at VaultClientOperationsLib.ClientInstance$__Impl2.<clinit>(Unknown Source)
at VaultClientOperationsLib.ClientInstance.__CreateClass__0x00000047(Unknown Source)
at VaultClientOperationsLib.ClientInstance.UpdateKnownChanges_All_Background(Unknown Source)
at VaultClientOperationsLib.ClientInstance.SetActiveRepositoryID(Unknown Source)
at VaultClientIntegrationLib.ServerOperations.SetRepository(ServerOperations.cs:2659)
at com.sourcegear.vault.ui.commands.SetRepositoryCommand.doRun(SetRepositoryCommand.java:21)
at com.cdesg.core.command.Command.run(Command.java:77)
at com.cdesg.uihelper.command.RunnableWithProgressCommandAdapter.run(RunnableWithProgressCommandAdapter.java:67)
at com.cdesg.uihelper.runnable.DeferredProgressMonitorDialogContext$RunnableWithProgressWrapper.run(DeferredProgressMonitorDialogContext.java:230)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
Caused by: java.lang.ClassNotFoundException: com.cdesg.util.process.ProcessFinishedHandler
at java.lang.ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 19 more
Code: Select all
eclipse.buildId=M20071023-1652
java.version=1.6.0_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_CH
Command-line arguments: -os win32 -ws win32 -arch x86
Re: Bug: Eclipse plugin V4.1.4 showing error after login
Can you go into your plugins directory and tell me what the version number is on the end of the name of the com.cdesg.util directory?
Re: Bug: Eclipse plugin V4.1.4 showing error after login
Sure, no problem...shannon wrote:Can you go into your plugins directory and tell me what the version number is on the end of the name of the com.cdesg.util directory?
Code: Select all
com.cdesg.core_1.0.0.18419
com.cdesg.jni_2.1.0.18419
com.cdesg.logging_2.1.0.18419
com.cdesg.uihelper_2.1.0.18419
com.cdesg.util_2.1.0.18419
Re: Bug: Eclipse plugin V4.1.4 showing error after login
When you deleted everything and reinstalled, did you also delete the com.sourcegear.* directories from the features directory? If you didn't, can you try that again, deleting from both plugins and features before restarting and reinstalling?
Re: Bug: Eclipse plugin V4.1.4 showing error after login
Sorry, I've found the problem. I think I know what's going on and I'm working to fix it right now. If you need the 4.1.3 plugin back now, to get you up and running until this is fixed, send me an email at shannon at sourcegear dot com and I can give you a link to that.
Re: Bug: Eclipse plugin V4.1.4 showing error after login
I've just downloaded the latest version (4.1.4.18429), and my problem seems to be gone now. Thanks!
Re: Bug: Eclipse plugin V4.1.4 showing error after login
Yes, it was fixed, I was waiting for the sites to be updated before I replied Sorry for the trouble!