You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Shannon Dillman <sh...@gmail.com> on 2011/02/10 22:00:28 UTC

possible bug - org.tigris.subversion.javahl.ClientException: Working copy not locked; this is probably a bug, please report

Hello there,

I am writing because my Subversion is reporting a situation that it
feels is a bug. Unfortunately, I am not really a programmer (yet), so
please accept my apologies in advance for any shortcomings in this
report.  I am also not dead certain that when it says "please report,"
it means the report is to go to you, to Oracle, or....?

Per the Synaptic package manager on my Ubuntu 10.04, my Subversion is
up to date.

I was attempting to commit a shiny new Wordpress folder to my svn. It
happens every time I try.  Here's the report - hope it is helpful:

-----

Message:
org.tigris.subversion.javahl.ClientException: Working copy not locked;
this is probably a bug, please report
svn: Commit failed (details follow):
svn: Directory '/var/www/kendradodd/blog/wp-content/themes/modularity-lite/.svn'
containing working copy admin area is missing

Exception Stack Trace:
org.tigris.subversion.svnclientadapter.SVNClientException:
org.tigris.subversion.javahl.ClientException: Working copy not locked;
this is probably a bug, please report
svn: Commit failed (details follow):
svn: Directory '/var/www/kendradodd/blog/wp-content/themes/modularity-lite/.svn'
containing working copy admin area is missing

	at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.commit(AbstractJhlClientAdapter.java:325)
	at org.tigris.subversion.subclipse.core.commands.CheckinResourcesCommand$1.run(CheckinResourcesCommand.java:118)
	at org.tigris.subversion.subclipse.core.SVNProviderPlugin$5.run(SVNProviderPlugin.java:469)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1782)
	at org.tigris.subversion.subclipse.core.SVNProviderPlugin.run(SVNProviderPlugin.java:464)
	at org.tigris.subversion.subclipse.core.commands.CheckinResourcesCommand.run(CheckinResourcesCommand.java:94)
	at org.tigris.subversion.subclipse.core.SVNTeamProvider.checkin(SVNTeamProvider.java:139)
	at org.tigris.subversion.subclipse.ui.operations.CommitOperation.execute(CommitOperation.java:124)
	at org.tigris.subversion.subclipse.ui.operations.SVNOperation.run(SVNOperation.java:90)
	at org.eclipse.team.internal.ui.actions.JobRunnableContext.run(JobRunnableContext.java:144)
	at org.eclipse.team.internal.ui.actions.JobRunnableContext$ResourceJob.runInWorkspace(JobRunnableContext.java:72)
	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.tigris.subversion.javahl.ClientException: Working copy
not locked; this is probably a bug, please report
svn: Commit failed (details follow):
svn: Directory '/var/www/kendradodd/blog/wp-content/themes/modularity-lite/.svn'
containing working copy admin area is missing

	at org.tigris.subversion.javahl.SVNClient.commit(Native Method)
	at org.tigris.subversion.javahl.SVNClient.commit(SVNClient.java:524)
	at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.commit(AbstractJhlClientAdapter.java:319)
	... 13 more

Session Data:
eclipse.buildId=M20100211-1343
java.version=1.6.0_22
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86

Re: possible bug - org.tigris.subversion.javahl.ClientException: Working copy not locked; this is probably a bug, please report

Posted by Mark Phippard <ma...@gmail.com>.
See this FAQ:

http://subclipse.tigris.org/wiki/PluginFAQ#head-73584410a8d4fbad6781c7b16be39f6518410a61

The error usually means that some tool you are using deleted a folder
and then recreated it.  The problem is that this deletes the .svn
metadata folder inside it.

SVN 1.7 will solve this problem by not needing these .svn folders in
every folder.

Mark




On Thu, Feb 10, 2011 at 4:00 PM, Shannon Dillman
<sh...@gmail.com> wrote:
> Hello there,
>
> I am writing because my Subversion is reporting a situation that it
> feels is a bug. Unfortunately, I am not really a programmer (yet), so
> please accept my apologies in advance for any shortcomings in this
> report.  I am also not dead certain that when it says "please report,"
> it means the report is to go to you, to Oracle, or....?
>
> Per the Synaptic package manager on my Ubuntu 10.04, my Subversion is
> up to date.
>
> I was attempting to commit a shiny new Wordpress folder to my svn. It
> happens every time I try.  Here's the report - hope it is helpful:
>
> -----
>
> Message:
> org.tigris.subversion.javahl.ClientException: Working copy not locked;
> this is probably a bug, please report
> svn: Commit failed (details follow):
> svn: Directory '/var/www/kendradodd/blog/wp-content/themes/modularity-lite/.svn'
> containing working copy admin area is missing
>
> Exception Stack Trace:
> org.tigris.subversion.svnclientadapter.SVNClientException:
> org.tigris.subversion.javahl.ClientException: Working copy not locked;
> this is probably a bug, please report
> svn: Commit failed (details follow):
> svn: Directory '/var/www/kendradodd/blog/wp-content/themes/modularity-lite/.svn'
> containing working copy admin area is missing
>
>        at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.commit(AbstractJhlClientAdapter.java:325)
>        at org.tigris.subversion.subclipse.core.commands.CheckinResourcesCommand$1.run(CheckinResourcesCommand.java:118)
>        at org.tigris.subversion.subclipse.core.SVNProviderPlugin$5.run(SVNProviderPlugin.java:469)
>        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
>        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1782)
>        at org.tigris.subversion.subclipse.core.SVNProviderPlugin.run(SVNProviderPlugin.java:464)
>        at org.tigris.subversion.subclipse.core.commands.CheckinResourcesCommand.run(CheckinResourcesCommand.java:94)
>        at org.tigris.subversion.subclipse.core.SVNTeamProvider.checkin(SVNTeamProvider.java:139)
>        at org.tigris.subversion.subclipse.ui.operations.CommitOperation.execute(CommitOperation.java:124)
>        at org.tigris.subversion.subclipse.ui.operations.SVNOperation.run(SVNOperation.java:90)
>        at org.eclipse.team.internal.ui.actions.JobRunnableContext.run(JobRunnableContext.java:144)
>        at org.eclipse.team.internal.ui.actions.JobRunnableContext$ResourceJob.runInWorkspace(JobRunnableContext.java:72)
>        at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
>        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> Caused by: org.tigris.subversion.javahl.ClientException: Working copy
> not locked; this is probably a bug, please report
> svn: Commit failed (details follow):
> svn: Directory '/var/www/kendradodd/blog/wp-content/themes/modularity-lite/.svn'
> containing working copy admin area is missing
>
>        at org.tigris.subversion.javahl.SVNClient.commit(Native Method)
>        at org.tigris.subversion.javahl.SVNClient.commit(SVNClient.java:524)
>        at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.commit(AbstractJhlClientAdapter.java:319)
>        ... 13 more
>
> Session Data:
> eclipse.buildId=M20100211-1343
> java.version=1.6.0_22
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
> Command-line arguments:  -os linux -ws gtk -arch x86
>



-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/

Re: possible bug - org.tigris.subversion.javahl.ClientException: Working copy not locked; this is probably a bug, please report

Posted by Shannon Dillman <sh...@gmail.com>.
Thanks guys - I was just reporting a bug, and didn't expect help. It
is much appreciated, and I now have things working.

Ryan - that's why I qualified "up to date" with "per the Synaptic
package manager"  I am sorry I didn't specify further, which brings me
to Andy - you were right. 1.6.6 is what's installed, and I should have
known to dig a little deeper and not believe the package manager,
since I JUST installed Wordpress itself from a download, since the
version in the package manager was quite old.

Mark - thank you for pointing me at the FAQ. I deleted the project,
cleaned the Wordpress folders of everything .svn, re-created the
project - and got the error back.  Repeated the above, but instead of
creating it as a PVP project, I created it as a general web project
(I'm not really going to build anything).  Et voila!  Also thanks for
the heads up on V 1.7 - I am really looking forward to that.

Again, I appreciate the help and ideas.



On Thu, Feb 10, 2011 at 4:44 PM, Ryan Schmidt
<su...@ryandesign.com> wrote:
>
> On Feb 10, 2011, at 15:19, Andy Levy wrote:
>
>> Please be sure to specify the actual version of Subversion you're
>> using. "Up to date" could have two meanings here - up to date with
>> regard to what's in the Ubuntu 10.04 repository, or up to date with
>> regard to Subversion releases. From what I can tell, Ubuntu 10.04 has
>> Subversion 1.6.5 or 1.6.6, and the current official release of
>> Subversion is 1.6.15.
>
> It could also mean "up to date with what I think is up to date" in one of the above two senses, which might be different from what is actually up to date.
>
>
>

Re: possible bug - org.tigris.subversion.javahl.ClientException: Working copy not locked; this is probably a bug, please report

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Feb 10, 2011, at 15:19, Andy Levy wrote:

> Please be sure to specify the actual version of Subversion you're
> using. "Up to date" could have two meanings here - up to date with
> regard to what's in the Ubuntu 10.04 repository, or up to date with
> regard to Subversion releases. From what I can tell, Ubuntu 10.04 has
> Subversion 1.6.5 or 1.6.6, and the current official release of
> Subversion is 1.6.15.

It could also mean "up to date with what I think is up to date" in one of the above two senses, which might be different from what is actually up to date.



Re: possible bug - org.tigris.subversion.javahl.ClientException: Working copy not locked; this is probably a bug, please report

Posted by Andy Levy <an...@gmail.com>.
On Thu, Feb 10, 2011 at 16:00, Shannon Dillman
<sh...@gmail.com> wrote:
> Hello there,
>
> I am writing because my Subversion is reporting a situation that it
> feels is a bug. Unfortunately, I am not really a programmer (yet), so
> please accept my apologies in advance for any shortcomings in this
> report.  I am also not dead certain that when it says "please report,"
> it means the report is to go to you, to Oracle, or....?
>
> Per the Synaptic package manager on my Ubuntu 10.04, my Subversion is
> up to date.

Please be sure to specify the actual version of Subversion you're
using. "Up to date" could have two meanings here - up to date with
regard to what's in the Ubuntu 10.04 repository, or up to date with
regard to Subversion releases. From what I can tell, Ubuntu 10.04 has
Subversion 1.6.5 or 1.6.6, and the current official release of
Subversion is 1.6.15.