Page 1 of 1

Locking returning imcomplete lock data

Posted: Thu Aug 03, 2006 5:26 pm
by crayzfishr
While trying to lock a file with Subversive, it returns an error indicating "incomplete lock data". However, the repository claims it is locked after the action. Subversive then does not acknowledge the file as locked.

If I use TortoiseSVN to lock a file from exporer, it locks successfully. After a refresh in the package explorer, Subversive recognizes it as locked. Once I commit, Subversive releases the lock correctly.

Is anyone else experiencing this issue? At first I thought is was my server, but since TortoiseSVN handles it, I'm not so sure.

-Chris

Posted: Thu Aug 10, 2006 9:52 am
by ivinnykov
Dear Chris,

Thank you for information. It looks like a bug. We will analyze it, try to reproduce and fix. Any related information which will help us to reproduce it, is welcome.

Posted: Mon Aug 21, 2006 1:01 pm
by crayzfishr
Here's the information from the error log. Hope this helps.

-Chris

eclipse.buildId=M20060629-1905
java.version=1.5.0_04
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

Error
Mon Aug 21 08:40:57 EDT 2006
Some of selected resourses were not locked.

org.polarion.team.svn.core.client.ClientWrapperException: Incomplete lock data returned
at org.polarion.team.svn.client.javasvn.JavaSVNClientProxy.handleClientException(JavaSVNClientProxy.java:510)
at org.polarion.team.svn.client.javasvn.JavaSVNClientProxy.lock(JavaSVNClientProxy.java:248)
at org.polarion.team.svn.core.operation.local.LockOperation$1.run(LockOperation.java:74)
at org.polarion.team.svn.core.utility.ProgressMonitorUtility.doSubTask(ProgressMonitorUtility.java:92)
at org.polarion.team.svn.core.operation.AbstractActionOperation.protectStep(AbstractActionOperation.java:125)
at org.polarion.team.svn.core.operation.local.LockOperation.runImpl(LockOperation.java:72)
at org.polarion.team.svn.core.operation.AbstractActionOperation.run(AbstractActionOperation.java:67)
at org.polarion.team.svn.core.utility.ProgressMonitorUtility.doTask(ProgressMonitorUtility.java:77)
at org.polarion.team.svn.core.operation.CompositeOperation.runImpl(CompositeOperation.java:91)
at org.polarion.team.svn.core.operation.AbstractActionOperation.run(AbstractActionOperation.java:67)
at org.polarion.team.svn.core.operation.LoggedOperation.run(LoggedOperation.java:37)
at org.polarion.team.svn.core.utility.ProgressMonitorUtility.doTask(ProgressMonitorUtility.java:77)
at org.polarion.team.svn.core.utility.ProgressMonitorUtility.doTaskExternal(ProgressMonitorUtility.java:63)
at org.polarion.team.svn.ui.utility.WorkspaceModifyCancellableOperationWrapper.execute(WorkspaceModifyCancellableOperationWrapper.java:60)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
at org.polarion.team.svn.ui.utility.SVNTeamOperationWrapper.run(SVNTeamOperationWrapper.java:35)
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:58)
Caused by: org.tigris.subversion.javahl.ClientExceptionEx: Incomplete lock data returned
at org.tigris.subversion.javahl.JavaHLObjectFactory.createException(JavaHLObjectFactory.java:598)
at org.tigris.subversion.javahl.JavaHLObjectFactory.throwException(JavaHLObjectFactory.java:569)
at org.tmatesoft.svn.core.javahl.SVNClientImpl.throwException(SVNClientImpl.java:1330)
at org.tmatesoft.svn.core.client.SVNClientEx.lock(SVNClientEx.java:812)
at org.polarion.team.svn.client.javasvn.JavaSVNClientProxy.lock(JavaSVNClientProxy.java:245)
... 20 more

Posted: Tue Aug 22, 2006 11:19 am
by ivinnykov
Dear Chris,

Thank you for this. We will take a look.

Posted: Tue Oct 24, 2006 2:06 pm
by crayzfishr
Has there been any progress on this issue? Has the Subversive team been able to re-create the situation?

-Chris

Posted: Fri Oct 27, 2006 6:31 pm
by Alexander Gurov
Dear Chris,

Unfortunatelly we are not able to reproduce the problem. But Subversive 1.1.0.M8 which is available for download additionaly contains two clients:
- Native JavaHL 1.4.0 client
- JavaSVN 1.1.0 beta 5 client

Could you please try these clients and notify us if the problem solved or not?