VMware Cloud Community
tonnesend
Contributor
Contributor

Catalog submit generates: invalid. java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING

I have deployed a new vCAC/vCO/IAAS environment using vCAC 6.1.1, vCO 5.5.2 and completed all configuration steps (endpoints, reservations, groups, etc.).  I then created a blueprint for a simple clone of a template.  I submit the catalog and immediately receive this error in red:

The data specified within the request is invalid. java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING


In the server.log on the vCAC Appliance there is a bit more detail below.  I have tried multiple blueprints but they all produce this error.  As I see no errors in vCO I don't think it is getting beyond vCAC.

Thanks.

2014-12-04 13:41:23.830+0000 [http-bio-0.0.0.0-8281-exec-1] ERROR {} [InventoryService] findChildrenInRelation error! host: Default (21e0bb90-c264-45c4-a8d7-63a66f18f7d7), type: VCACHost, id: 21e0bb90-c264-45c4-a8d7-63a66f18f7d7, relationName: BusinessGroup, exception: java.lang.RuntimeException: [null] java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING

2014-12-04 13:41:46.654+0000 [http-bio-0.0.0.0-8281-exec-5] ERROR {} [AbstractResourceElementConfigPersister] Error loading content from resource with id: af0beeb8-9963-42e7-a5c1-46152b6688ea

com.thoughtworks.xstream.io.StreamException:  : only whitespace content allowed before start tag and not i (position: START_DOCUMENT seen i... @1:1)

        at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:124)

        at com.thoughtworks.xstream.io.xml.AbstractPullReader.readRealEvent(AbstractPullReader.java:148)

        at com.thoughtworks.xstream.io.xml.AbstractPullReader.readEvent(AbstractPullReader.java:141)

        at com.thoughtworks.xstream.io.xml.AbstractPullReader.move(AbstractPullReader.java:118)

        at com.thoughtworks.xstream.io.xml.AbstractPullReader.moveDown(AbstractPullReader.java:103)

        at com.thoughtworks.xstream.io.xml.XppReader.<init>(XppReader.java:63)

        at com.thoughtworks.xstream.io.xml.AbstractXppDriver.createReader(AbstractXppDriver.java:54)

        at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1011)

        at com.vmware.o11n.plugin.dynamicops.configuration.old.VcacConfigPersisterLegacy.bytes2Config(VcacConfigPersisterLegacy.java:57)

        at com.vmware.o11n.plugin.dynamicops.configuration.old.VcacConfigPersisterLegacy.bytes2Config(VcacConfigPersisterLegacy.java:21)

        at com.vmware.o11n.plugin.sdk.spring.platform.AbstractResourceElementConfigPersister.getAll(AbstractResourceElementConfigPersister.java:40)

        at com.vmware.o11n.plugin.dynamicops.configuration.old.XStreamConfigurationServiceImpl.reload(XStreamConfigurationServiceImpl.java:162)

        at com.vmware.o11n.plugin.dynamicops.configuration.old.XStreamConfigurationServiceImpl.load(XStreamConfigurationServiceImpl.java:147)

        at com.vmware.o11n.plugin.dynamicops.repo.ConnectionRepositoryImpl.findAll(ConnectionRepositoryImpl.java:47)

        at com.vmware.o11n.plugin.dynamicops.repo.ConnectionRepositoryImpl.findAll(ConnectionRepositoryImpl.java:55)

        at com.vmware.o11n.plugin.dynamicops.VcacPluginFactory.findAll(VcacPluginFactory.java:124)

        at com.vmware.o11n.plugin.dynamicops.VcacPluginFactory.findChildrenInRootRelation(VcacPluginFactory.java:162)

        at com.vmware.o11n.plugin.sdk.spring.AbstractSpringPluginFactory.findRelation(AbstractSpringPluginFactory.java:132)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at ch.dunes.vso.sdk.DirectInvoker.invoke(DirectInvoker.java:55)

        at ch.dunes.vso.sdk.SDKDatasourceInvoker.fetchRelation(SDKDatasourceInvoker.java:69)

        at ch.dunes.vso.sdk.SDKFinder.fetchRelation(SDKFinder.java:333)

        at ch.dunes.vso.sdk.SDKFinder._findRelation(SDKFinder.java:307)

        at ch.dunes.vso.sdk.SDKFinder.findRelation(SDKFinder.java:225)

        at ch.dunes.vso.sdk.ModulesFactory.findRelation(ModulesFactory.java:615)

        at com.vmware.o11n.sdk.EnhancedScriptingSDK.findRelation(EnhancedScriptingSDK.java:108)

        at com.vmware.o11n.service.sdk.SdkModuleServiceImpl.findRelation(SdkModuleServiceImpl.java:70)

        at com.vmware.o11n.service.factory.VcoFactoryFacade.findRelation(VcoFactoryFacade.java:1660)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at com.vmware.o11n.service.security.AccessRightsInterceptor.invoke(AccessRightsInterceptor.java:91)

0 Kudos
0 Replies