VMware Cloud Community
TimDScott
Enthusiast
Enthusiast

Getting error "cannot convert to com.vmware.o11n.sdk.model driven.model wrapper"

Hi All,

I'm getting an error within a vRO action, here's the code snippet:

var sdkConnections = VcPlugin.allSdkConnections;

for each (var sdkConnection in sdkConnections)

{

      var vCenterVm = sdkConnection.searchIndex.findByUuid("", vmId, true, true);

}

Here's the error (thrown by the var vCenterVm..... line):

cannot convert to com.vmware.o11n.sdk.model driven.model wrapper

This code works fine on many instances of vRO apart from just one (vro version 7.5, vcenter version 6.5)

Any ideas?

Thanks,

Tim.

0 Kudos
0 Replies