cannot start teamcity-vmware-client
Hi
I am trying to use the teamcity-vmware plugin. I did everything as mentioned in http://confluence.jetbrains.net/display/TW/Cloud-VMWare+plugin
If I want to start teamcity-vmware-client, I get the following exception:
[2012-06-29 13:52:20,792] WARN - ouds.vmware.client.ImagesStore - Failed to read: C:\VMWare\Win7-64.Professional-SP1-image-info.xml. Cannot construct jetbrains.buildServer.clouds.vmware.settings.VMImageInfo as it does not have a no-args constructor : Cannot construct jetbrains.buildServer.clouds.vmware.settings.VMImageInfo as it does not have a no-args constructor
---- Debugging information ----
message : Cannot construct jetbrains.buildServer.clouds.vmware.settings.VMImageInfo as it does not have a no-args constructor
cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
cause-message : Cannot construct jetbrains.buildServer.clouds.vmware.settings.VMImageInfo as it does not have a no-args constructor
class : jetbrains.buildServer.clouds.vmware.settings.VMImageInfo
required-type : jetbrains.buildServer.clouds.vmware.settings.VMImageInfo
path : /jetbrains.buildServer.clouds.vmware.settings.VMImageInfo
line number : 1
-------------------------------
com.thoughtworks.xstream.converters.ConversionException: Cannot construct jetbrains.buildServer.clouds.vmware.settings.VMImageInfo as it does not have a no-args constructor : Cannot construct jetbrains.buildServer.clouds.vmware.settings.VMImageInfo as it does not have a no-args constructor
---- Debugging information ----
message : Cannot construct jetbrains.buildServer.clouds.vmware.settings.VMImageInfo as it does not have a no-args constructor
cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
cause-message : Cannot construct jetbrains.buildServer.clouds.vmware.settings.VMImageInfo as it does not have a no-args constructor
class : jetbrains.buildServer.clouds.vmware.settings.VMImageInfo
required-type : jetbrains.buildServer.clouds.vmware.settings.VMImageInfo
path : /jetbrains.buildServer.clouds.vmware.settings.VMImageInfo
line number : 1
-------------------------------
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:89)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)
at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:137)
at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:923)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:909)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:861)
at jetbrains.buildServer.clouds.vmware.client.ImagesStore.scan(ImagesStore.java:63)
at jetbrains.buildServer.clouds.vmware.client.ImagesStore.<init>(ImagesStore.java:47)
at jetbrains.buildServer.clouds.vmware.client.Main.main(Main.java:52)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at jetbrains.buildServer.clouds.vmware.client.CPMain.main(CPMain.java:44)
Caused by: com.thoughtworks.xstream.converters.reflection.ObjectAccessException: Cannot construct jetbrains.buildServer.clouds.vmware.settings.VMImageInfo as it does not have a no-args constructor
at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.newInstance(PureJavaReflectionProvider.java:71)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.instantiateNewInstance(AbstractReflectionConverter.java:308)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:161)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
... 16 more
The content of the -image-info.xml is:
<jetbrains.buildServer.clouds.vmware.settings.VMImageInfo>
<!-- virtual machine unique id -->
<myId>Win7-64.Professional.SP1</myId>
<!-- local path to .vmx file -->
<myImagePath>C:\VMWare\Windows 7 x64 Professional SP1\Clone of Windows 7 x64 Professional No SP.vmx</myImagePath>
<!-- path to buildAgent.properties inside the virtual machine -->
<myImageAgentConfigLocation>C:\BuildAgent\conf\buildAgent.properties</myImageAgentConfigLocation>
<!-- login/password for the virtual machine administrator account -->
<myUserName>DOMAIN\USERNAME</myUserName>
<myPassword>PWD</myPassword>
</jetbrains.buildServer.clouds.vmware.settings.VMImageInfo>
I use the following:
- TeamCity Enterprise 7.0.3 (build 21424)
- VMware-player-3.0.1-227600
- VMware-vix-1.8.2-227600
What am I doing wrong?
Kind regards and thank for any help
Michael
Please sign in to leave a comment.
Please try 8.0.x version from http://teamcity.jetbrains.com/project.html?projectId=TeamCityPluginsByJetBrains_VMWare&tab=projectOverview