Eclipse Plugin Error on repository selection

If you are having a problem using Vault, post a message here.
Post Reply
jchorlton
Posts: 15
Joined: Wed Mar 03, 2010 9:12 am
Location: Bristol, UK

Eclipse Plugin Error on repository selection

Post by jchorlton » Thu Jun 28, 2012 11:07 am

Hi,

I am having a problem using the eclipse plugin (pro), I can connect to the server and select the repository but then I get the following error:

"An error occurred while running command: the given path's format is not supported."

Anyone seen this before or know the cause?

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Eclipse Plugin Error on repository selection

Post by lbauer » Thu Jun 28, 2012 12:40 pm

Try creating a new workspace.
Linda Bauer
SourceGear
Technical Support Manager

jchorlton
Posts: 15
Joined: Wed Mar 03, 2010 9:12 am
Location: Bristol, UK

Re: Eclipse Plugin Error on repository selection

Post by jchorlton » Mon Sep 10, 2012 10:43 am

Some time later, and a different install later. I am still having the same problem using the eclipse plugin.

I used to have it working, but for some reason I now can not use the plugin.

Anyone got any ideas?

Using Eclipse Juno 64-bit,
Vault Plugin 5.1.2.19283
Vault 5.1.2.19283
Window 7 64-bit

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Eclipse Plugin Error on repository selection

Post by lbauer » Mon Sep 10, 2012 2:29 pm

Did something change in your configuration from the time it worked? Did you update Eclipse, change something else?
Linda Bauer
SourceGear
Technical Support Manager

jchorlton
Posts: 15
Joined: Wed Mar 03, 2010 9:12 am
Location: Bristol, UK

Re: Eclipse Plugin Error on repository selection

Post by jchorlton » Mon Sep 10, 2012 2:32 pm

To be honest I can't really remember. Possiblity is that it was the previous version of Eclipse.

Also have just noticed the update to the plugin to v6. Can't tell if this solves the problem however, as it seems that that version can't even login to a v5 database.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Eclipse Plugin Error on repository selection

Post by lbauer » Tue Sep 11, 2012 2:30 pm

I don't think we've tested Vault 5.1.2 with Juno, as Juno was released after Vault 5.1.2. I'm having some problems getting it connected. I need to do some more tested to determine if the problem is Vault 5.1.2 with Juno, or something else.
Linda Bauer
SourceGear
Technical Support Manager

jchorlton
Posts: 15
Joined: Wed Mar 03, 2010 9:12 am
Location: Bristol, UK

Re: Eclipse Plugin Error on repository selection

Post by jchorlton » Tue Sep 11, 2012 2:56 pm

Ok thanks, I look forward to hearing. fyi using the vault 6 plugin you cant connect to vault5 databases (perhaps should be a separate plugin to prevent accidental upgrades).

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Eclipse Plugin Error on repository selection

Post by lbauer » Tue Sep 11, 2012 3:11 pm

fyi using the vault 6 plugin you cant connect to vault5 databases
That's correct. Vault 6.x clients or plugins can only connect to Vault 6.0 Servers/repositories.

If a user needs the Vault 5.1 plugin, they can get it here for Vault Pro:

http://download.sourcegear.com/VaultPro/5.1/update/
Linda Bauer
SourceGear
Technical Support Manager

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Eclipse Plugin Error on repository selection

Post by lbauer » Wed Sep 12, 2012 4:38 pm

I tested 64-bit Juno on Windows 7 with Vault 5.1.2, and it works. So compatiblity may not be the issue.

If you create a new workspace with a test project, do you still have problems connecting to the repository?

Are there any log errors? Look in Juno under Window->Show View->Error log or in the workspace folder in .metadata\.log.

Are there any errors in the Vault Server log when you try to choose a repository in Eclipse? The Vault Server log is called sgvault.log and is on the server machine in C:\Windows\Temp\sgvault.
Linda Bauer
SourceGear
Technical Support Manager

jchorlton
Posts: 15
Joined: Wed Mar 03, 2010 9:12 am
Location: Bristol, UK

Re: Eclipse Plugin Error on repository selection

Post by jchorlton » Thu Sep 13, 2012 11:08 am

I have checked the logs on the server and nothing is logged when this error occurs.

Please note that I am able to connect to the server and see the list of repositories from within eclipse. The error happens when I choose a repository. The error from my eclipse log is:

!ENTRY com.cdesg.core 4 0 2012-09-13 18:03:35.381
!MESSAGE An error occurred while running command: the given path's format is not supported
!STACK 0
System.NotSupportedException: The given path's format is not supported
at clr.System.NotSupportedExceptionStaticWrapper.NotSupportedExceptionCtor(Unknown Source)
at system.IO.DirectoryInfo.<init>(Unknown Source)
at system.IO.Directory.__CreateClass__0x00000000(Unknown Source)
at system.IO.Directory.CreateDirectory(Unknown Source)
at VaultClientOperationsLib.CacheMember.EnsureFolderExists(Unknown Source)
at VaultClientOperationsLib.CacheMember_Repository.SerializeCacheMember(Unknown Source)
at VaultClientOperationsLib.CacheMember.SaveObjectToDisk(Unknown Source)
at VaultClientOperationsLib.CacheMember_Repository.SaveIfNewer(Unknown Source)
at VaultClientOperationsLib.TreeCache.Save(Unknown Source)
at VaultClientOperationsLib.ClientInstance.SetActiveRepositoryID(Unknown Source)
at VaultClientOperationsLib.ClientInstance.Logout(Unknown Source)
at VaultClientIntegrationLib.ServerOperations.Logout(ServerOperations.cs:3547)
at VaultClientIntegrationLib.ServerOperations.SetRepository(ServerOperations.cs:3526)
at com.sourcegear.vault.ui.commands.SetRepositoryCommand.doRun(SetRepositoryCommand.java:21)
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 clr.System.NotSupportedExceptionStaticWrapper.NotSupportedExceptionCtor(Unknown Source)
at system.IO.DirectoryInfo.<init>(Unknown Source)
at system.IO.Directory.__CreateClass__0x00000000(Unknown Source)
at system.IO.Directory.CreateDirectory(Unknown Source)
at VaultClientOperationsLib.CacheMember.EnsureFolderExists(Unknown Source)
at VaultClientOperationsLib.CacheMember_Repository.SerializeCacheMember(Unknown Source)
at VaultClientOperationsLib.CacheMember.SaveObjectToDisk(Unknown Source)
at VaultClientOperationsLib.CacheMember_Repository.SaveIfNewer(Unknown Source)
at VaultClientOperationsLib.TreeCache.Save(Unknown Source)
at VaultClientOperationsLib.ClientInstance.SetActiveRepositoryID(Unknown Source)
at VaultClientOperationsLib.ClientInstance.Logout(Unknown Source)
at VaultClientIntegrationLib.ServerOperations.Logout(ServerOperations.cs:3547)
at VaultClientIntegrationLib.ServerOperations.SetRepository(ServerOperations.cs:3526)
at com.sourcegear.vault.ui.commands.SetRepositoryCommand.doRun(SetRepositoryCommand.java:21)
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)

Tonya
Posts: 878
Joined: Thu Jan 20, 2005 1:47 pm
Location: SourceGear

Re: Eclipse Plugin Error on repository selection

Post by Tonya » Fri Sep 14, 2012 3:23 pm

Hello again,

We are having trouble reproducing the error. If you don't mind, I have a few additional questions for you.

1) Does the error only occur when selecting a certain repository or does it happen with all?

2) What functionality within Eclipse are you performing to invoke the login/repository dialog? Share or Import?

3) As requested earlier, if you create a new workspace do you still have problems connecting to the repository?

4) What is your workspace name and path?

Hopefully this information will help us determine where the issue lies.

jchorlton
Posts: 15
Joined: Wed Mar 03, 2010 9:12 am
Location: Bristol, UK

Re: Eclipse Plugin Error on repository selection

Post by jchorlton » Fri Sep 14, 2012 3:33 pm

1) Have just created a fresh repo and it still happens with that one.
2) Share
3) Happens with any workspace, on either of my disks
4) Workspace is called "workspace-64" and is located in "C:\EclipseWorkspace\Android\workspace64", the root level folder (EclipseWorkspace) has full permissions for my user.

Thank you for all the help.

Tonya
Posts: 878
Joined: Thu Jan 20, 2005 1:47 pm
Location: SourceGear

Re: Eclipse Plugin Error on repository selection

Post by Tonya » Fri Sep 14, 2012 4:02 pm

Vault Pro displays information within the console dialog. Could you please clear this dialog and then perform another Share to reproduce the error. Then send over the information displayed within the Console dialog.

Are you able to successfully import a project from Vault? Or does the same error occur after you select the repository?

jchorlton
Posts: 15
Joined: Wed Mar 03, 2010 9:12 am
Location: Bristol, UK

Re: Eclipse Plugin Error on repository selection

Post by jchorlton » Fri Sep 14, 2012 4:08 pm

Hey,

No messages at all in the "Vault" section of the console. Same error when trying import.

Thanks

Tonya
Posts: 878
Joined: Thu Jan 20, 2005 1:47 pm
Location: SourceGear

Re: Eclipse Plugin Error on repository selection

Post by Tonya » Mon Sep 17, 2012 1:07 pm

I think that we are going to need to see the entire log to get a better understanding of the problem. Would you mind sending over the full log information?

In Juno under Window->Show View->Error log or in the workspace folder in .metadata\.log.

The Vault Server log is called sgvault.log and is on the server machine in C:\Windows\Temp\sgvault.

If you'd rather email the logs to us, you can email them to me at tonya@sourcegear.com.

Post Reply