cannot accept "Move" change, got CLIClientException: No sharing descriptor found
I moved a file to another folder and checked in the change, but I got error when I accepted the change set in another workspace.
see the error:
C:\dataRTC\data>lscm status
Workspace: (1059) "RTCWorkspace" <-> (1033) "RTCProjectArea Stream"
Component: (1034) "RTCProjectArea Default Component"
Baseline: (1204) 19 "Snapshot_test"
Incoming:
Change sets:
(1211) ----$ user1 "move" 16-May-2014 11:35 AM
C:\dataRTC\data>lscm accept -s 1033 -t RTCWorkspace -r xxx -c 1211
Unexpected exception
com.ibm.team.rtc.cli.infrastructure.internal.core.CLIClientException: No sharing
descriptor found for path '/testmv.txt'
at com.ibm.team.filesystem.cli.core.util.StatusHelper.toCLIClientExcepti
on(StatusHelper.java:717)
at com.ibm.team.filesystem.cli.core.AbstractSubcommand.run(AbstractSubco
mmand.java:53)
at com.ibm.team.rtc.cli.infrastructure.internal.core.SubcommandLauncher.
run(SubcommandLauncher.java:569)
at com.ibm.team.rtc.cli.infrastructure.internal.core.SubcommandLauncher.
doStart(SubcommandLauncher.java:365)
at com.ibm.team.rtc.cli.infrastructure.internal.core.SubcommandLauncher.
run(SubcommandLauncher.java:129)
at com.ibm.team.filesystem.cli.client.internal.daemon.CommandLineClient.
handleRequest(CommandLineClient.java:186)
at com.ibm.team.filesystem.client.internal.http.ProtocolSwitchingHttpHan
dler.handle(ProtocolSwitchingHttpHandler.java:46)
at com.ibm.team.filesystem.client.internal.http.HttpConnection.readNextR
equest(HttpConnection.java:628)
at com.ibm.team.filesystem.client.internal.http.HttpConnection$1.run(Htt
pConnection.java:470)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: org.eclipse.core.runtime.AssertionFailedException: No sharing descrip
tor found for path '/testmv.txt'
at com.ibm.team.filesystem.client.internal.copyfileareas.CopyFileAreaSto
re.moveTreeInfo(CopyFileAreaStore.java:2677)
at com.ibm.team.filesystem.client.internal.copyfileareas.CopyFileArea.mo
veInfo(CopyFileArea.java:344)
at com.ibm.team.filesystem.client.internal.load.UpdateMutator.updateMeta
DataAfterMove(UpdateMutator.java:3367)
at com.ibm.team.filesystem.client.internal.load.UpdateMutator.move(Updat
eMutator.java:1874)
at com.ibm.team.filesystem.client.internal.load.UpdateMutator.moveSubtre
e(UpdateMutator.java:1827)
at com.ibm.team.filesystem.client.internal.load.UpdateMutator.execute(Up
dateMutator.java:2172)
at com.ibm.team.filesystem.client.internal.operations.FileSystemOperatio
n.run(FileSystemOperation.java:89)
at com.ibm.team.filesystem.client.internal.operations.UpdateOperation.lo
adFileArea(UpdateOperation.java:450)
at com.ibm.team.filesystem.client.internal.operations.UpdateOperation.up
dateCopyFileArea(UpdateOperation.java:316)
at com.ibm.team.filesystem.client.internal.operations.UpdateOperation.ac
cess$0(UpdateOperation.java:276)
at com.ibm.team.filesystem.client.internal.operations.UpdateOperation$1.
run(UpdateOperation.java:246)
at com.ibm.team.filesystem.rcp.core.internal.resources.ResourceSharingMa
nager$1.run(ResourceSharingManager.java:77)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975
)
at com.ibm.team.filesystem.rcp.core.internal.resources.ResourceSharingMa
nager.runWithinFileSystemLock(ResourceSharingManager.java:89)
at com.ibm.team.filesystem.client.internal.operations.FileSystemOperatio
n.runWithinFileSystemLock(FileSystemOperation.java:164)
at com.ibm.team.filesystem.client.internal.operations.FileSystemOperatio
n.runWithinFileSystemLock(FileSystemOperation.java:144)
at com.ibm.team.filesystem.client.internal.operations.UpdateOperation.ex
ecute(UpdateOperation.java:268)
at com.ibm.team.filesystem.client.internal.operations.FileSystemOperatio
n.run(FileSystemOperation.java:89)
at com.ibm.team.filesystem.client.internal.operations.WorkspaceUpdateOpe
ration.doAccept(WorkspaceUpdateOperation.java:894)
at com.ibm.team.filesystem.client.internal.operations.WorkspaceUpdateOpe
ration.access$0(WorkspaceUpdateOperation.java:824)
at com.ibm.team.filesystem.client.internal.operations.WorkspaceUpdateOpe
ration$1.run(WorkspaceUpdateOperation.java:728)
at com.ibm.team.filesystem.rcp.core.internal.resources.ResourceSharingMa
nager$1.run(ResourceSharingManager.java:77)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975
)
at com.ibm.team.filesystem.rcp.core.internal.resources.ResourceSharingMa
nager.runWithinFileSystemLock(ResourceSharingManager.java:89)
at com.ibm.team.filesystem.client.internal.operations.FileSystemOperatio
n.runWithinFileSystemLock(FileSystemOperation.java:164)
at com.ibm.team.filesystem.client.internal.operations.FileSystemOperatio
n.runWithinFileSystemLock(FileSystemOperation.java:144)
at com.ibm.team.filesystem.client.internal.operations.WorkspaceUpdateOpe
ration.execute(WorkspaceUpdateOperation.java:740)
at com.ibm.team.filesystem.client.internal.operations.FileSystemOperatio
n.run(FileSystemOperation.java:89)
at com.ibm.team.filesystem.client.internal.rest.util.WorkspaceUpdateUtil
.workspaceUpdate(WorkspaceUpdateUtil.java:116)
at com.ibm.team.filesystem.rcp.core.internal.rest.FilesystemRestClient.p
ostWorkspaceUpdate(FilesystemRestClient.java:812)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(null)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(null)
at java.lang.reflect.Method.invoke(null)
at com.ibm.team.filesystem.client.daemon.JSONHandler.handle(JSONHandler.
java:322)
at com.ibm.team.filesystem.client.internal.http.HttpConnection.readNextR
equest(HttpConnection.java:628)
at com.ibm.team.filesystem.client.internal.http.HttpConnection$1.run(Htt
pConnection.java:470)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
at com.ibm.team.repository.common.internal.marshal.util.MarshallerUtil.d
ecodeExceptions(MarshallerUtil.java:340)
at com.ibm.team.repository.common.serialize.internal.JSONDeserializer.de
serializeErrorObj(JSONDeserializer.java:955)
at com.ibm.team.filesystem.client.internal.marshalling.ExceptionHandling
JSONDeserializer.deserializeErrorObj(ExceptionHandlingJSONDeserializer.java:128)
at com.ibm.team.repository.common.serialize.internal.JSONDeserializer.de
serializeException(JSONDeserializer.java:933)
at com.ibm.team.filesystem.client.internal.marshalling.EObjectJSONDeseri
alizer.deserializeError(EObjectJSONDeserializer.java:71)
at com.ibm.team.filesystem.client.restproxy.RestInvocationHandler.execut
eRequest(RestInvocationHandler.java:267)
at com.ibm.team.filesystem.client.restproxy.RestInvocationHandler.execut
eAndReturnResult(RestInvocationHandler.java:221)
at com.ibm.team.filesystem.client.restproxy.RestInvocationHandler.invoke
Internal(RestInvocationHandler.java:368)
at com.ibm.team.filesystem.client.restproxy.RestInvocationHandler.invoke
(RestInvocationHandler.java:311)
at $Proxy1.postWorkspaceUpdate(Unknown Source)
at com.ibm.team.filesystem.cli.client.internal.subcommands.AcceptCmd.run
(AcceptCmd.java:141)
at com.ibm.team.filesystem.cli.core.AbstractSubcommand.run(AbstractSubco
mmand.java:51)
... 8 more
java.lang.RuntimeException: com.ibm.team.rtc.cli.infrastructure.internal.core.CL
IClientException: No sharing descriptor found for path '/testmv.txt'
see the error:
C:\dataRTC\data>lscm status
Workspace: (1059) "RTCWorkspace" <-> (1033) "RTCProjectArea Stream"
Component: (1034) "RTCProjectArea Default Component"
Baseline: (1204) 19 "Snapshot_test"
Incoming:
Change sets:
(1211) ----$ user1 "move" 16-May-2014 11:35 AM
C:\dataRTC\data>lscm accept -s 1033 -t RTCWorkspace -r xxx -c 1211
Unexpected exception
com.ibm.team.rtc.cli.infrastructure.internal.core.CLIClientException: No sharing
descriptor found for path '/testmv.txt'
at com.ibm.team.filesystem.cli.core.util.StatusHelper.toCLIClientExcepti
on(StatusHelper.java:717)
at com.ibm.team.filesystem.cli.core.AbstractSubcommand.run(AbstractSubco
mmand.java:53)
at com.ibm.team.rtc.cli.infrastructure.internal.core.SubcommandLauncher.
run(SubcommandLauncher.java:569)
at com.ibm.team.rtc.cli.infrastructure.internal.core.SubcommandLauncher.
doStart(SubcommandLauncher.java:365)
at com.ibm.team.rtc.cli.infrastructure.internal.core.SubcommandLauncher.
run(SubcommandLauncher.java:129)
at com.ibm.team.filesystem.cli.client.internal.daemon.CommandLineClient.
handleRequest(CommandLineClient.java:186)
at com.ibm.team.filesystem.client.internal.http.ProtocolSwitchingHttpHan
dler.handle(ProtocolSwitchingHttpHandler.java:46)
at com.ibm.team.filesystem.client.internal.http.HttpConnection.readNextR
equest(HttpConnection.java:628)
at com.ibm.team.filesystem.client.internal.http.HttpConnection$1.run(Htt
pConnection.java:470)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: org.eclipse.core.runtime.AssertionFailedException: No sharing descrip
tor found for path '/testmv.txt'
at com.ibm.team.filesystem.client.internal.copyfileareas.CopyFileAreaSto
re.moveTreeInfo(CopyFileAreaStore.java:2677)
at com.ibm.team.filesystem.client.internal.copyfileareas.CopyFileArea.mo
veInfo(CopyFileArea.java:344)
at com.ibm.team.filesystem.client.internal.load.UpdateMutator.updateMeta
DataAfterMove(UpdateMutator.java:3367)
at com.ibm.team.filesystem.client.internal.load.UpdateMutator.move(Updat
eMutator.java:1874)
at com.ibm.team.filesystem.client.internal.load.UpdateMutator.moveSubtre
e(UpdateMutator.java:1827)
at com.ibm.team.filesystem.client.internal.load.UpdateMutator.execute(Up
dateMutator.java:2172)
at com.ibm.team.filesystem.client.internal.operations.FileSystemOperatio
n.run(FileSystemOperation.java:89)
at com.ibm.team.filesystem.client.internal.operations.UpdateOperation.lo
adFileArea(UpdateOperation.java:450)
at com.ibm.team.filesystem.client.internal.operations.UpdateOperation.up
dateCopyFileArea(UpdateOperation.java:316)
at com.ibm.team.filesystem.client.internal.operations.UpdateOperation.ac
cess$0(UpdateOperation.java:276)
at com.ibm.team.filesystem.client.internal.operations.UpdateOperation$1.
run(UpdateOperation.java:246)
at com.ibm.team.filesystem.rcp.core.internal.resources.ResourceSharingMa
nager$1.run(ResourceSharingManager.java:77)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975
)
at com.ibm.team.filesystem.rcp.core.internal.resources.ResourceSharingMa
nager.runWithinFileSystemLock(ResourceSharingManager.java:89)
at com.ibm.team.filesystem.client.internal.operations.FileSystemOperatio
n.runWithinFileSystemLock(FileSystemOperation.java:164)
at com.ibm.team.filesystem.client.internal.operations.FileSystemOperatio
n.runWithinFileSystemLock(FileSystemOperation.java:144)
at com.ibm.team.filesystem.client.internal.operations.UpdateOperation.ex
ecute(UpdateOperation.java:268)
at com.ibm.team.filesystem.client.internal.operations.FileSystemOperatio
n.run(FileSystemOperation.java:89)
at com.ibm.team.filesystem.client.internal.operations.WorkspaceUpdateOpe
ration.doAccept(WorkspaceUpdateOperation.java:894)
at com.ibm.team.filesystem.client.internal.operations.WorkspaceUpdateOpe
ration.access$0(WorkspaceUpdateOperation.java:824)
at com.ibm.team.filesystem.client.internal.operations.WorkspaceUpdateOpe
ration$1.run(WorkspaceUpdateOperation.java:728)
at com.ibm.team.filesystem.rcp.core.internal.resources.ResourceSharingMa
nager$1.run(ResourceSharingManager.java:77)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975
)
at com.ibm.team.filesystem.rcp.core.internal.resources.ResourceSharingMa
nager.runWithinFileSystemLock(ResourceSharingManager.java:89)
at com.ibm.team.filesystem.client.internal.operations.FileSystemOperatio
n.runWithinFileSystemLock(FileSystemOperation.java:164)
at com.ibm.team.filesystem.client.internal.operations.FileSystemOperatio
n.runWithinFileSystemLock(FileSystemOperation.java:144)
at com.ibm.team.filesystem.client.internal.operations.WorkspaceUpdateOpe
ration.execute(WorkspaceUpdateOperation.java:740)
at com.ibm.team.filesystem.client.internal.operations.FileSystemOperatio
n.run(FileSystemOperation.java:89)
at com.ibm.team.filesystem.client.internal.rest.util.WorkspaceUpdateUtil
.workspaceUpdate(WorkspaceUpdateUtil.java:116)
at com.ibm.team.filesystem.rcp.core.internal.rest.FilesystemRestClient.p
ostWorkspaceUpdate(FilesystemRestClient.java:812)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(null)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(null)
at java.lang.reflect.Method.invoke(null)
at com.ibm.team.filesystem.client.daemon.JSONHandler.handle(JSONHandler.
java:322)
at com.ibm.team.filesystem.client.internal.http.HttpConnection.readNextR
equest(HttpConnection.java:628)
at com.ibm.team.filesystem.client.internal.http.HttpConnection$1.run(Htt
pConnection.java:470)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
at com.ibm.team.repository.common.internal.marshal.util.MarshallerUtil.d
ecodeExceptions(MarshallerUtil.java:340)
at com.ibm.team.repository.common.serialize.internal.JSONDeserializer.de
serializeErrorObj(JSONDeserializer.java:955)
at com.ibm.team.filesystem.client.internal.marshalling.ExceptionHandling
JSONDeserializer.deserializeErrorObj(ExceptionHandlingJSONDeserializer.java:128)
at com.ibm.team.repository.common.serialize.internal.JSONDeserializer.de
serializeException(JSONDeserializer.java:933)
at com.ibm.team.filesystem.client.internal.marshalling.EObjectJSONDeseri
alizer.deserializeError(EObjectJSONDeserializer.java:71)
at com.ibm.team.filesystem.client.restproxy.RestInvocationHandler.execut
eRequest(RestInvocationHandler.java:267)
at com.ibm.team.filesystem.client.restproxy.RestInvocationHandler.execut
eAndReturnResult(RestInvocationHandler.java:221)
at com.ibm.team.filesystem.client.restproxy.RestInvocationHandler.invoke
Internal(RestInvocationHandler.java:368)
at com.ibm.team.filesystem.client.restproxy.RestInvocationHandler.invoke
(RestInvocationHandler.java:311)
at $Proxy1.postWorkspaceUpdate(Unknown Source)
at com.ibm.team.filesystem.cli.client.internal.subcommands.AcceptCmd.run
(AcceptCmd.java:141)
at com.ibm.team.filesystem.cli.core.AbstractSubcommand.run(AbstractSubco
mmand.java:51)
... 8 more
java.lang.RuntimeException: com.ibm.team.rtc.cli.infrastructure.internal.core.CL
IClientException: No sharing descriptor found for path '/testmv.txt'
Comments
Karl Weinert
JAZZ DEVELOPER May 16 '14, 2:57 p.m.samuel wang
May 16 '14, 3:30 p.m.this is the command I used to move file:
lscm move binCopy/test.txt testmv.txt
lscm checkin --comment "move" .
lscm deliver
lscm logout ...
everything is fine, after this, I go to another workspace,login as another user, but cannot accept the change, I tried a few times, all failed, every time got same error, have to reload the workspace. and I am not able to get the details of the "move", I need to know what files\folders are moved.
Karl Weinert
JAZZ DEVELOPER May 16 '14, 3:52 p.m.samuel wang
May 16 '14, 4:03 p.m.I tried -j, there is no file\folder names, only some status information
samuel wang
May 16 '14, 4:50 p.m.sorry, I can see the file names by lscm status -j, but not able to see the file names in change set, the cmd: lscm list changes 1213 -j
Karl Weinert
JAZZ DEVELOPER May 16 '14, 5:27 p.m.what version of rtc client are you using?
samuel wang
May 16 '14, 5:35 p.m.I am using RTC-scmTools-Win-4.0.6.zip, thanks for help.
is the defect fixed in the latest version?