It's all about the answers!

Ask a question

scm fails with update@plugins/org.junit_4.8.1.v4_8_1_v20100427-1100/ was not resolved


Dave Sinclair (21179) | asked Feb 01 '13, 9:29 a.m.
I'm just starting to use the scm command line tool, but I find that I get strange errors on my installation.   I imagine I've set something up wrong, but what?

Here are the commands I typed in:

# login - this works fine
scm login -n j224 -u sinclai1@uk.ibm.com -P  -r https://jazz224.acme.com:9443/ccm

#  list workspaces - this works fine
scm list workspaces -r j224 -m 10

gives a list including....

(1007) "ImportWorkspace" Sinclair, David

so I try to import this workspace with

scm load -r j224 1007

and I get:

Unexpected exception
java.lang.IllegalArgumentException
        at com.ibm.team.filesystem.client.internal.RelativeLocation.append(RelativeLocation.java:87)
        at com.ibm.team.filesystem.client.internal.load.MergeLoadMutator.load(MergeLoadMutator.java:490)
        at com.ibm.team.filesystem.client.internal.load.MergeLoadMutator.execute(MergeLoadMutator.java:312)
        at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.run(FileSystemOperation.java:89)
        at com.ibm.team.filesystem.client.internal.operations.LoadOperation.load(LoadOperation.java:1047)
        at com.ibm.team.filesystem.client.internal.operations.LoadOperation$1.run(LoadOperation.java:664)
        at com.ibm.team.filesystem.rcp.core.internal.resources.ResourceSharingManager$1.run(ResourceSharingManager.java:76)
        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
        at com.ibm.team.filesystem.rcp.core.internal.resources.ResourceSharingManager.runWithinFileSystemLock(ResourceSharingManager.java:88)
        at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.runWithinFileSystemLock(FileSystemOperation.java:164)
        at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.runWithinFileSystemLock(FileSystemOperation.java:144)
        at com.ibm.team.filesystem.client.internal.operations.LoadOperation.execute(LoadOperation.java:695)
        at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.run(FileSystemOperation.java:89)
        at com.ibm.team.filesystem.client.internal.rest.util.LoadUtil.load(LoadUtil.java:563)
        at com.ibm.team.filesystem.rcp.core.internal.rest.FilesystemRestClient.postLoadCFA(FilesystemRestClient.java:765)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:600)
        at com.ibm.team.filesystem.client.daemon.JSONHandler.handle(JSONHandler.java:322)
        at com.ibm.team.filesystem.client.internal.http.HttpConnection.readNextRequest(HttpConnection.java:628)
        at com.ibm.team.filesystem.client.internal.http.HttpConnection$1.run(HttpConnection.java:470)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
        at com.ibm.team.repository.common.internal.marshal.util.MarshallerUtil.decodeExceptions(MarshallerUtil.java:326)
        at com.ibm.team.repository.common.serialize.internal.JSONDeserializer.deserializeErrorObj(JSONDeserializer.java:955)
        at com.ibm.team.filesystem.client.internal.marshalling.ExceptionHandlingJSONDeserializer.deserializeErrorObj(ExceptionHandlingJSONDeserializer.java:128)
        at com.ibm.team.repository.common.serialize.internal.JSONDeserializer.deserializeException(JSONDeserializer.java:933)
        at com.ibm.team.filesystem.client.internal.marshalling.EObjectJSONDeserializer.deserializeError(EObjectJSONDeserializer.java:71)
        at com.ibm.team.filesystem.client.restproxy.RestInvocationHandler.executeRequest(RestInvocationHandler.java:267)
        at com.ibm.team.filesystem.client.restproxy.RestInvocationHandler.executeAndReturnResult(RestInvocationHandler.java:221)
        at com.ibm.team.filesystem.client.restproxy.RestInvocationHandler.invokeInternal(RestInvocationHandler.java:368)
        at com.ibm.team.filesystem.client.restproxy.RestInvocationHandler.invoke(RestInvocationHandler.java:311)
        at $Proxy0.postLoadCFA(Unknown Source)
        at com.ibm.team.filesystem.cli.client.internal.subcommands.LoadCmd.run(LoadCmd.java:165)
        at com.ibm.team.filesystem.cli.client.internal.subcommands.LoadCmdLauncher.run(LoadCmdLauncher.java:177)
        at com.ibm.team.filesystem.cli.core.internal.SubcommandLauncher.run(SubcommandLauncher.java:673)
        at com.ibm.team.filesystem.cli.core.internal.SubcommandLauncher.doStart(SubcommandLauncher.java:402)
        at com.ibm.team.filesystem.cli.core.internal.SubcommandLauncher.run(SubcommandLauncher.java:179)
        at com.ibm.team.filesystem.cli.core.internal.Application.start(Application.java:50)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:600)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
Scm:
An error has occurred. See the log file
/work3/sinclair/home/.metadata/.log.

The log file shows:

!ENTRY org.eclipse.osgi 2 1 2013-02-01 14:15:37.445
!MESSAGE NLS missing message: PendingChangesUtil_36 in: com.ibm.team.filesystem.cli.client.internal.messages

!ENTRY org.eclipse.osgi 2 0 2013-02-01 14:15:53.656
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-02-01 14:15:53.656
!MESSAGE Bundle update@plugins/org.junit_4.8.1.v4_8_1_v20100427-1100/ was not resolved.
!SUBENTRY 2 org.junit 2 0 2013-02-01 14:15:53.656
!MESSAGE Missing required bundle org.hamcrest.core_1.1.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-02-01 14:15:53.656
!MESSAGE Bundle update@plugins/org.eclipse.ui.navigator.resources_3.4.202.M20101124-0800.jar was not resolved.
!SUBENTRY 2 org.eclipse.ui.navigator.resources 2 0 2013-02-01 14:15:53.656
!MESSAGE Missing required bundle org.eclipse.ltk.ui.refactoring_[3.5.0,4.0.0).
!SUBENTRY 2 org.eclipse.ui.navigator.resources 2 0 2013-02-01 14:15:53.656
!MESSAGE Missing required bundle org.eclipse.ltk.core.refactoring_[3.5.0,4.0.0).

!ENTRY org.eclipse.osgi 2 0 2013-02-01 14:15:53.658
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-02-01 14:15:53.658
!MESSAGE Bundle org.eclipse.core.filesystem.win32.x86.nl2_1.1.201.v201102251823 [17] was not resolved.
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-02-01 14:15:53.658
!MESSAGE Bundle org.eclipse.core.filesystem.linux.s390x_3.0.1.v20120430_0235 [23] was not resolved.
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-02-01 14:15:53.658
!MESSAGE Bundle org.eclipse.swt.win32.win32.x86_3.6.3.v3659f [29] was not resolved.
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-02-01 14:15:53.658
!MESSAGE Bundle org.eclipse.core.filesystem.solaris.sparc_1.2.0.v20100505-1235 [61] was not resolved.
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-02-01 14:15:53.658
!MESSAGE Bundle org.eclipse.ui.navigator.resources.nl1_3.4.202.v201102251823 [63] was not resolved.
!SUBENTRY 2 org.eclipse.ui.navigator.resources.nl1 2 0 2013-02-01 14:15:53.658
!MESSAGE Missing host org.eclipse.ui.navigator.resources_[3.4.0,3.5.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-02-01 14:15:53.659
!MESSAGE Bundle org.eclipse.core.filesystem.win32.x86.nl1_1.1.201.v201102251823 [81] was not resolved.
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-02-01 14:15:53.659
!MESSAGE Bundle org.eclipse.update.core.win32_3.2.200.v20100512 [89] was not resolved.
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-02-01 14:15:53.659
!MESSAGE Bundle org.eclipse.core.filesystem.macosx_1.3.0.v20100505 [109] was not resolved.
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-02-01 14:15:53.659
!MESSAGE Bundle org.eclipse.swt.win32.win32.x86.nl2_3.6.2.v201102251823 [122] was not resolved.
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-02-01 14:15:53.659
!MESSAGE Bundle org.eclipse.compare.win32_1.0.101.R36x_v20101103-0618 [132] was not resolved.
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-02-01 14:15:53.659
!MESSAGE Bundle org.eclipse.ui.navigator.resources.nl2_3.4.202.v201102251823 [147] was not resolved.

The scm utility was installed on this Linux machine with


mkdir /opt/IBM
cp  /work3/sinclair/home/jazz/RTC-Client-Linux-4.0.0.1.zip /opt/IBM
cd /opt/IBM
unzip RTC-Client-Linux-4.0.0.1.zip
rm RTC-Client-Linux-4.0.0.1.zip

When installed:

 scm version
Build Id: RTC-I20120911-1740

com.ibm.team.filesystem.cli.client, version 3.1.100.v20120817_2130
  Subcommands: load login logout create create/workspace create/baseline create/changeset create/snapshot create/component create/loadrules create/stream changeset changeset/comment changeset/complete changeset/current changeset/relocate changeset/associate changeset/disassociate changeset/suspend changeset/resume changeset/discard changeset/extract changeset/locate change-target change-target/workspace change-target/component change-target/unset-workspace list list/workspaces list/projectareas list/teamareas list/streams list/components list/remotefiles list/credentials list/daemons list/snapshots list/locks list/properties list/changes list/users list/baselines list/changesets list/states checkin accept deliver status conflicts resolve move lastmod share discard undo compare history diff repair workspace workspace/change-target workspace/component workspace/unset workspace/add-components workspace/remove-components workspace/replace-components workspace/delete workspace/unload property property/list property/get property/set property/remove lock lock/list lock/acquire lock/release annotate snapshot snapshot/promote refresh users users/set delete delete/state-content changeaccess extract extract/file

com.ibm.team.filesystem.cli.tools, version 3.1.100.v20120817_2130
  Subcommands: tools.verify tools.validate tools.echo.stdin tools.metronome tools.pkgtest tools.configvalue tools.log

com.ibm.team.filesystem.cli.core, version 3.1.100.v20120822_0505
  Subcommands: help version daemon daemon/start daemon/stop daemon/deregister daemon/register

and the linux machine reports:

/work3/sinclair/home> uname -a
Linux newgrail 2.6.18-308.20.1.el5 #1 SMP Tue Nov 6 04:38:29 EST 2012 x86_64 x86_64 x86_64 GNU/Linux




What should I have done?

many thanks






2 answers



permanent link
Daniel Kalderon (11) | answered Feb 18 '16, 6:11 a.m.
 No need to open pmr, such problem happens in any eclipse base tools like scm.
all you need to do is rename the hidden folder jazz-scm under c:\users<user that run scm command>\AppData\local
After rename (just for backup) and running scm command again, the folder will be created again and scm command will work properly.

permanent link
Tim Mok (6.6k38) | answered Feb 01 '13, 10:19 a.m.
JAZZ DEVELOPER
That looks like an error that could be a bug. I suggest opening a defect against Source Control.

Your answer


Register or to post your answer.