Bug: Eclipse plugin V4.1.4 showing error after login

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

Moderator: SourceGear

avonwyss
Posts: 99
Joined: Mon Oct 04, 2004 9:06 am

Bug: Eclipse plugin V4.1.4 showing error after login

Post by avonwyss » Tue Nov 25, 2008 6:23 am

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"
EclipseVault414Problem.PNG
Screenshot of Eclipse client problem
EclipseVault414Problem.PNG (8.78 KiB) Viewed 10666 times
- I am returned to the login dialog

shannon

Re: Bug: Eclipse plugin V4.1.4 showing error after login

Post by shannon » Tue Nov 25, 2008 8:11 am

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.

avonwyss
Posts: 99
Joined: Mon Oct 04, 2004 9:06 am

Re: Bug: Eclipse plugin V4.1.4 showing error after login

Post by avonwyss » Tue Nov 25, 2008 8:13 am

I have already returned to V4.1.3 of the Eclipse client, but I'll try this later.

shannon

Re: Bug: Eclipse plugin V4.1.4 showing error after login

Post by shannon » Wed Nov 26, 2008 10:51 am

I've reproduced the error. We're looking into the cause now.

F:13818

avonwyss
Posts: 99
Joined: Mon Oct 04, 2004 9:06 am

Re: Bug: Eclipse plugin V4.1.4 showing error after login

Post by avonwyss » Thu Nov 27, 2008 7:11 am

shannon wrote:I've reproduced the error. We're looking into the cause now.
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

Re: Bug: Eclipse plugin V4.1.4 showing error after login

Post by shannon » Tue Dec 02, 2008 4:23 pm

We found the bug and fixed it. You can download the updated Eclipse plugin from the website.

avonwyss
Posts: 99
Joined: Mon Oct 04, 2004 9:06 am

Re: Bug: Eclipse plugin V4.1.4 showing error after login

Post by avonwyss » Mon Dec 08, 2008 8:18 am

shannon wrote:We found the bug and fixed it. You can download the updated Eclipse plugin from the website.
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?
Edit: it seems to be the new one, but as I said, the problem remains the same here...
VaultEclipse41418419.png
VaultEclipse41418419.png (14.18 KiB) Viewed 10592 times

shannon

Re: Bug: Eclipse plugin V4.1.4 showing error after login

Post by shannon » Mon Dec 08, 2008 8:30 am

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.

avonwyss
Posts: 99
Joined: Mon Oct 04, 2004 9:06 am

Re: Bug: Eclipse plugin V4.1.4 showing error after login

Post by avonwyss » Mon Dec 08, 2008 8:43 am

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.
Did that... but it didn't change anything. Except that now my working version 4.1.3 is also gone...
shannon wrote:Can you attach a copy of your eclipse error log or just paste the error that occurred with the login.
There's just one (current) entry with the message The command [SetRepositoryCommand] failed

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
And the session data of this entry is:

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

shannon

Re: Bug: Eclipse plugin V4.1.4 showing error after login

Post by shannon » Mon Dec 08, 2008 8:50 am

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?

avonwyss
Posts: 99
Joined: Mon Oct 04, 2004 9:06 am

Re: Bug: Eclipse plugin V4.1.4 showing error after login

Post by avonwyss » Mon Dec 08, 2008 8:55 am

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?
Sure, no problem...

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

shannon

Re: Bug: Eclipse plugin V4.1.4 showing error after login

Post by shannon » Mon Dec 08, 2008 9:28 am

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?

shannon

Re: Bug: Eclipse plugin V4.1.4 showing error after login

Post by shannon » Mon Dec 08, 2008 9:55 am

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.

avonwyss
Posts: 99
Joined: Mon Oct 04, 2004 9:06 am

Re: Bug: Eclipse plugin V4.1.4 showing error after login

Post by avonwyss » Tue Dec 09, 2008 6:04 am

I've just downloaded the latest version (4.1.4.18429), and my problem seems to be gone now. Thanks!

shannon

Re: Bug: Eclipse plugin V4.1.4 showing error after login

Post by shannon » Tue Dec 09, 2008 8:23 am

Yes, it was fixed, I was waiting for the sites to be updated before I replied :-) Sorry for the trouble!

Post Reply