It's all about the answers!

Ask a question

Why is the lscm command not working in 4.0.3 ?


NANCY SCHIPON (1156) | asked Sep 06 '13, 3:56 p.m.
converted to question Sep 06 '13, 8:44 p.m. by Geoffrey Clemm (30.1k33035)

RTC 4.0.3 Eclipse now allows me to right click on a component/file and move it to a different location which is good.

The LSCM command still does not appear to work in RTC 4.0.3.  The command was tried on three different systems and with different files selected for the move but with the same error response. 

C:\Users\IBM_ADMIN\IBM\workspace\BASE\zOSsrc\MACRO>lscm move IST183A.znvmacro C:\Users\IBM_ADMIN\IBM\workspace\BASE\ZOSSRC\C
Unexpected exception
com.ibm.team.rtc.cli.infrastructure.internal.core.CLIClientException: Attempted to beginRule: P/BASE, does not match outer scope rule: MultiRule[F/BASE/zOS
src/MACRO,F/BASE/zOSsrc/C]
        at com.ibm.team.filesystem.cli.core.util.StatusHelper.toCLIClientException(Unknown Source)
        at com.ibm.team.filesystem.cli.core.AbstractSubcommand.run(Unknown Source)
        at com.ibm.team.rtc.cli.infrastructure.internal.core.SubcommandLauncher.run(Unknown Source)
        at com.ibm.team.rtc.cli.infrastructure.internal.core.SubcommandLauncher.doStart(Unknown Source)
        at com.ibm.team.rtc.cli.infrastructure.internal.core.SubcommandLauncher.run(Unknown Source)
        at com.ibm.team.filesystem.cli.client.internal.daemon.CommandLineClient.handleRequest(Unknown Source)
        at com.ibm.team.filesystem.client.internal.http.ProtocolSwitchingHttpHandler.handle(Unknown Source)
        at com.ibm.team.filesystem.client.internal.http.HttpConnection.readNextRequest(Unknown Source)
        at com.ibm.team.filesystem.client.internal.http.HttpConnection$1.run(Unknown Source)
        at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: Attempted to beginRule: P/BASE, does not match outer scope rule: MultiRule[F/BASE/zOSsrc/MACRO,F/BASE/zOSsrc
/C]
        at org.eclipse.core.runtime.Assert.isLegal(null)
        at org.eclipse.core.internal.jobs.ThreadJob.illegalPush(null)
        at org.eclipse.core.internal.jobs.ThreadJob.push(null)
        at org.eclipse.core.internal.jobs.ImplicitJobs.begin(null)
        at org.eclipse.core.internal.jobs.JobManager.beginRule(null)
        at com.ibm.team.filesystem.client.internal.localchanges.LocalChangeManager.refreshSynchronously(null)
        at com.ibm.team.filesystem.client.internal.localchanges.LocalChangeManager.doRefresh(null)
        at com.ibm.team.filesystem.client.internal.localchanges.LocalChangeManager.refreshChanges(null)
        at com.ibm.team.filesystem.rcp.core.internal.rest.FilesystemRestClient.postMoveResources(null)
        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(null)
        at com.ibm.team.filesystem.client.internal.http.HttpConnection.readNextRequest(null)
        at com.ibm.team.filesystem.client.internal.http.HttpConnection$1.run(null)
        at org.eclipse.core.internal.jobs.Worker.run(null)
        at com.ibm.team.repository.common.internal.marshal.util.MarshallerUtil.decodeExceptions(Unknown Source)
        at com.ibm.team.repository.common.serialize.internal.JSONDeserializer.deserializeErrorObj(Unknown Source)
        at com.ibm.team.filesystem.client.internal.marshalling.ExceptionHandlingJSONDeserializer.deserializeErrorObj(Unknown Source)
        at com.ibm.team.repository.common.serialize.internal.JSONDeserializer.deserializeException(Unknown Source)
        at com.ibm.team.filesystem.client.internal.marshalling.EObjectJSONDeserializer.deserializeError(Unknown Source)
        at com.ibm.team.filesystem.client.restproxy.RestInvocationHandler.executeRequest(Unknown Source)
        at com.ibm.team.filesystem.client.restproxy.RestInvocationHandler.executeAndReturnResult(Unknown Source)
        at com.ibm.team.filesystem.client.restproxy.RestInvocationHandler.invokeInternal(Unknown Source)
        at com.ibm.team.filesystem.client.restproxy.RestInvocationHandler.invoke(Unknown Source)
        at com.sun.proxy.$Proxy54.postMoveResources(Unknown Source)
        at com.ibm.team.filesystem.cli.client.internal.subcommands.MoveCmd.run(Unknown Source)
        ... 9 more
java.lang.RuntimeException: com.ibm.team.rtc.cli.infrastructure.internal.core.CLIClientException: Attempted to beginRule: P/BASE, does not match outer scop
e rule: MultiRule[F/BASE/zOSsrc/MACRO,F/BASE/zOSsrc/C]

Accepted answer


permanent link
Krzysztof Kaźmierczyk (7.5k477103) | answered Feb 24 '14, 4:49 a.m.
Hi Yaron,
This is known issue which has been fixed in 4.0.5. See https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=278308
Ralph Schoon selected this answer as the correct answer

One other answer



permanent link
Geoffrey Clemm (30.1k33035) | answered Sep 06 '13, 8:50 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I ran into the same error message a few days ago from the Eclipse client, and submitted the defect work item:
java.lang.IllegalArgumentException: Attempted to beginRule: P/common-a, does not match outer scope rule: MultiRule[P/projectA,P/ProjectB,P/FromProj] (278308)
But then after exploring what was going, I stopped getting the error, and couldn't reproduce it.
So if you can reproduce this error, please contact support or update the work item with what you are doing, so development can investigate (the work item is currently marked as "works for me" because we couldn't reproduce the problem).

Comments
Yaron Norani commented Feb 24 '14, 4:16 a.m. | edited Feb 24 '14, 4:48 a.m.

Hi,

WE get same error when trying to refresh sandbox.
Also RTC 4.0.3. client is Linux.
"attempted to begin rule... does not match outer scope rule".

Any solution or known defect?

Yaron

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.