[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-users] org.tigris.subversion.javahl.ClientException: svn: Failed to unlock working

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-10-10 22:36:10 CEST

On 10/10/07, Zack Grossbart <zgrossbart@novell.com> wrote:
> I am using SVNClientAdapter to add projects to Subversion. When I do this I
> call add on each file and then I call check in. This will sometimes cause
> the following error:
>
> org.tigris.subversion.svnclientadapter.SVNClientException:
> org.tigris.subversion.javahl.ClientException: svn: Failed to unlock working
> copy 'C:\Users\Scott\workspace\test\Model\EdirOrphan\MVFO9C7D'
> at
> org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.addFi
> le(AbstractJhlClientAdapter.java:182)
> at
> com.novell.designer.core.versioncontrol.impl.VCManagerImpl.addFiles(VCManage
> rImpl.java:2507)
>
> ..more lines
>
> Caused by: org.tigris.subversion.javahl.ClientException: svn: Failed to
> unlock
> working copy 'C:\Users\Scott\workspace\test\Model\EdirOrphan\MVFO9C7D'
> at
> org.tigris.subversion.javahl.JavaHLObjectFactory.throwException(JavaHLObject
> Factory.java:435)
> at
> org.tmatesoft.svn.core.javahl.SVNClientImpl.throwException(SVNClientImpl.jav
> a:1262)
> at
> org.tmatesoft.svn.core.javahl.SVNClientImpl.add(SVNClientImpl.java:401)
> at
> org.tmatesoft.svn.core.javahl.SVNClientImpl.add(SVNClientImpl.java:393)
> at
> org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.addFi
> le(AbstractJhlClientAdapter.java:179)
> ... 7 more
>
> When I get the SVNClientException back I call the following line:
>
> ClientException ce = ((ClientException) ((SVNClientException)
> e).getCause());
> ce.getAprError()
>
> The returned error code is 155004. These errors are intermittent and I am
> confused about what is going on. This isn't the first time I have seen a
> ClientException with an error code associated with it. Does anyone know
> what this error means, and does anyone know where I can get more information
> about what these error codes mean?

All this stuff just comes back from Subversion libraries. I think the
error codes comes out of APR, but SVN might control the values they
get set. You'd have to ask on their lists or look at the source.

In your case you are using SVNKit. They are obviously specifically
recreating an error that happens when using the core SVN libraries.
I'd think they could tell you the cause.

support@svnkit.com

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Wed Oct 10 22:36:17 2007

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.