Getting error while using TeamCity command line tool

The command executed:

java -jar tcc.jar info --host http://tc

The output:

[Connecting to "http://tc" TeamCity Server] started
[Connecting to "http://tc" TeamCity Server] done
[Logging in] started
[Logging in] done
[ ] info: error
com.thoughtworks.xstream.converters.ConversionException: No enum constant jetbrains.buildServer.BuildTypeDescriptor.CheckoutType.AUTO : No enum constant jetbrains.buildServer.BuildTypeDescriptor.CheckoutType.AUTO
---- Debugging information ----
message : No enum constant jetbrains.buildServer.BuildTypeDescriptor.CheckoutType.AUTO
cause-exception : java.lang.IllegalArgumentException
cause-message : No enum constant jetbrains.buildServer.BuildTypeDescriptor.CheckoutType.AUTO
class : jetbrains.buildServer.BuildTypeDescriptor$CheckoutType
required-type : jetbrains.buildServer.BuildTypeDescriptor$CheckoutType
converter-type : com.thoughtworks.xstream.converters.enums.EnumConverter
path : /Project/configs/Configuration/checkoutType
line number : 1
class[1] : jetbrains.buildServer.BuildTypeData
converter-type[1] : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
class[2] : java.util.ArrayList
converter-type[2] : com.thoughtworks.xstream.converters.collections.CollectionConverter
class[3] : jetbrains.buildServer.ProjectData
version : null
-------------------------------
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:351)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:302)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:230)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71)
at com.thoughtworks.xstream.converters.collections.CollectionConverter.addCurrentElementToCollection(CollectionConverter.java:79)
at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:72)
at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:66)
at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:61)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:351)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:302)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:230)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1035)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1019)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:895)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:886)
at jetbrains.buildServer.xstream.XStreamWrapper.fromXML(XStreamWrapper.java:113)
at jetbrains.buildServer.xstream.XStreamWrapper.deserializeObjectInternal(XStreamWrapper.java:258)
at jetbrains.buildServer.xstream.XStreamWrapper.deserializeObject(XStreamWrapper.java:234)
at com.jetbrains.teamcity.XStreamUtil.deserializeObject(XStreamUtil.java:19)
at jetbrains.buildServer.serverProxy.RemoteServerFacadeImpl.getRegisteredProjects(RemoteServerFacadeImpl.java:50)
at com.jetbrains.teamcity.Server.getProjects(Server.java:104)
at com.jetbrains.teamcity.command.List.printProjects(List.java:107)
at com.jetbrains.teamcity.command.List.execute(List.java:60)
at com.jetbrains.teamcity.command.CommandRunner.run(CommandRunner.java:106)
at com.jetbrains.teamcity.command.CommandRunner.main(CommandRunner.java:126)
Caused by: java.lang.IllegalArgumentException: No enum constant jetbrains.buildServer.BuildTypeDescriptor.CheckoutType.AUTO
at java.lang.Enum.valueOf(Unknown Source)
at com.thoughtworks.xstream.converters.enums.EnumConverter.unmarshal(EnumConverter.java:47)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
... 40 more

Please sign in to leave a comment.