Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

SCM compare Error : No enum const class com.ibm.team.filesystem.cli.core.util.RepoUtil$ItemType.CHAN

 Hi,

I'm getting following error while using 'SCM compare' command.

RTC client and server version : 4.0.6

------------------------------------------------------------
Comparing Stream A with snapshot
Unexpected exception
java.lang.IllegalArgumentException: No enum const class com.ibm.team.filesystem.cli.core.util.RepoUtil$ItemType.CHAN
	at java.lang.Enum.valueOf(Enum.java:207)
	at com.ibm.team.filesystem.cli.core.util.RepoUtil$ItemType.valueOf(RepoUtil.java:1)
	at com.ibm.team.filesystem.cli.core.internal.aliases.AliasLoader.parseLine(AliasLoader.java:158)
	at com.ibm.team.filesystem.cli.core.internal.aliases.AliasLoader.load(AliasLoader.java:107)
	at com.ibm.team.filesystem.cli.core.internal.aliases.UuidAliasRegistry.load(UuidAliasRegistry.java:159)
	at com.ibm.team.filesystem.cli.core.internal.aliases.UuidAliasRegistry.findAliasByName(UuidAliasRegistry.java:386)
	at com.ibm.team.filesystem.cli.core.util.RepoUtil.lookupUuidAndAlias(RepoUtil.java:905)
	at com.ibm.team.filesystem.cli.core.internal.ScmCommandLineArgument.validateAlias(ScmCommandLineArgument.java:113)
	at com.ibm.team.filesystem.cli.core.internal.ScmCommandLineArgument.getRepositorySelector(ScmCommandLineArgument.java:89)
	at com.ibm.team.filesystem.cli.core.AbstractSubcommand.processArguments(AbstractSubcommand.java:72)
	at com.ibm.team.filesystem.cli.core.AbstractSubcommand.run(AbstractSubcommand.java:48)
	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.rtc.cli.infrastructure.internal.Application.start(Application.java:41)
	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:60)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
	at java.lang.reflect.Method.invoke(Method.java:611)
	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)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1384)

0 votes

Comments

Vivek,

Can you paste the exact command and the arguments used?

 Hi Shashi,


Here it is:

"C:\Program Files\ibm\TeamConcert\scmtools\eclipse\scm.exe" -u "y" compare -r https:someserver/URL -u * -P * -p c -I dcswf -f o stream "Production support Stream" snapshot "UAT snapshot" 

hi shashi,


Any pointers to it ?

Also, to mention, I get Error while invoking the command from Jenkins through perl script.

But when I invoke the same perl script on command line it works.

what does it mean by "enum const" error above ? 


Be the first one to answer this question!

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,133

Question asked: Oct 29 '14, 10:22 p.m.

Question was seen: 4,613 times

Last updated: Oct 31 '14, 12:10 a.m.

Confirmation Cancel Confirm