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

locking problems

From: Hagen, Leila <Leila.Hagen_at_state.mn.us>
Date: 2004-02-23 15:55:37 CET

Hello,

I'm running Subclipse 0.81 and eclipse 2.1.2. I believe we're running
SVN .37 (how do I find out the version number?). I was committing
changes for 6 files and got an error that said the commit succeeded.
After that, whenever I tried to do anything I got an error that said
"Attempted to lock an already-locked dir" on just one of the two
directories the commit affected.

 

I used the svn cleanup command outside of eclipse against the affected
directory to reset the locks in my working copy. Now eclipse is
convinced that this directory and the associated files are not part of
the repository. I'm getting a null pointer exception from the plugin:

 

!SESSION Feb 23, 2004 08:30:19.639
---------------------------------------------

java.version=1.4.1_06

java.vendor=Sun Microsystems Inc.

BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US

Command-line arguments: -os win32 -ws win32 -arch x86 -feature
com.togethersoft.togetherec -data C:/apps/TogetherEC/workspace -install
file:C:/eclipse/

!ENTRY org.tigris.subversion.subclipse.core 4 -6 Feb 23, 2004
08:30:19.639

!MESSAGE org.tigris.subversion.javahl.ClientException: Working copy not
locked

svn: directory 'C:/apps/TogetherEC/workspace/CriMNet2.9.1/configuration'
not locked

 

!STACK 0

org.tigris.subversion.svnclientadapter.SVNClientException:
org.tigris.subversion.javahl.ClientException: Working copy not locked

svn: directory 'C:/apps/TogetherEC/workspace/CriMNet2.9.1/configuration'
not locked

 

            at
org.tigris.subversion.svnclientadapter.javahl.JhlClientAdapter.getSingle
Status(JhlClientAdapter.java:339)

            at
org.tigris.subversion.subclipse.core.resources.LocalResource.getStatus(L
ocalResource.java:173)

            at
org.tigris.subversion.subclipse.core.resources.LocalResource.isManaged(L
ocalResource.java:146)

            at
org.tigris.subversion.subclipse.core.resources.LocalFolder.members(Local
Folder.java:100)

            at
org.tigris.subversion.subclipse.core.resources.LocalFolder.isModified(Lo
calFolder.java:174)

            at
org.tigris.subversion.subclipse.ui.decorator.SVNLightweightDecorator.isD
irty(SVNLightweightDecorator.java:99)

            at
org.tigris.subversion.subclipse.ui.decorator.SVNLightweightDecorator.isD
irty(SVNLightweightDecorator.java:115)

            at
org.tigris.subversion.subclipse.ui.decorator.SVNLightweightDecorator.dec
orate(SVNLightweightDecorator.java:171)

            at
org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decora
te(LightweightDecoratorDefinition.java:158)

            at
org.eclipse.ui.internal.decorators.LightweightDecoratorManager$Lightweig
htRunnable.run(LightweightDecoratorManager.java:54)

            at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.
java:1006)

            at org.eclipse.core.runtime.Platform.run(Platform.java:413)

            at
org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(
LightweightDecoratorManager.java:203)

            at
org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecora
tions(LightweightDecoratorManager.java:184)

            at
org.eclipse.ui.internal.decorators.DecorationScheduler$2.run(DecorationS
cheduler.java:273)

            at java.lang.Thread.run(Thread.java:536)

Caused by: org.tigris.subversion.javahl.ClientException: Working copy
not locked

svn: directory 'C:/apps/TogetherEC/workspace/CriMNet2.9.1/configuration'
not locked

 

            at
org.tigris.subversion.javahl.SVNClient.singleStatus(Native Method)

            at
org.tigris.subversion.svnclientadapter.javahl.JhlClientAdapter.getSingle
Status(JhlClientAdapter.java:312)

            ... 15 more

!ENTRY org.eclipse.ui.workbench 4 2 Feb 23, 2004 08:30:27.546

!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.ui.workbench".

!STACK 0

java.lang.NullPointerException

            at
org.tigris.subversion.svnclientadapter.SVNUrl.parseUrl(SVNUrl.java:89)

            at
org.tigris.subversion.svnclientadapter.SVNUrl.<init>(SVNUrl.java:78)

            at
org.tigris.subversion.svnclientadapter.javahl.JhlStatus.getUrl(JhlStatus
.java:94)

            at
org.tigris.subversion.subclipse.ui.decorator.SVNLightweightDecorator.dec
orateTextLabel(SVNLightweightDecorator.java:222)

            at
org.tigris.subversion.subclipse.ui.decorator.SVNLightweightDecorator.dec
orate(SVNLightweightDecorator.java:174)

            at
org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decora
te(LightweightDecoratorDefinition.java:158)

            at
org.eclipse.ui.internal.decorators.LightweightDecoratorManager$Lightweig
htRunnable.run(LightweightDecoratorManager.java:54)

            at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.
java:1006)

            at org.eclipse.core.runtime.Platform.run(Platform.java:413)

            at
org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(
LightweightDecoratorManager.java:203)

            at
org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecora
tions(LightweightDecoratorManager.java:184)

            at
org.eclipse.ui.internal.decorators.DecorationScheduler$2.run(DecorationS
cheduler.java:293)

            at java.lang.Thread.run(Thread.java:536)

!ENTRY org.eclipse.ui.workbench 4 2 Feb 23, 2004 08:32:03.889

!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.ui.workbench".

 

Is there any way for me to recover from this error?

Thanks!

Leila
Received on Tue Feb 24 01:55:37 2004

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.