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

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

From: Zack Grossbart <zgrossbart_at_novell.com>
Date: 2007-10-10 22:15:44 CEST

Hello,

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?

Thanks in advance for the help,
Zack

---------------------------------------------------------------------
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:15:52 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.