KMunson
Contributor
Contributor

Workflow 'vSphereVCNSInventory' failed with the following exception: Object reference not set to an instance of an object.

Having an issue with the data collection in vRA 7.01, wth NSX 6.2.2, and vRO NSX Plugin version 1.0.3.  The DC request fails with the following error:  Workflow 'vSphereVCNSInventory' failed with the following exception: Object reference not set to an instance of an object.  I also see the following in the vRO server.log :

server.log:2016-05-16 00:23:30.020+0000 [http-nio-127.0.0.1-8280-exec-5] WARN  {} [SDKFinder] convertToResult() --> Finder 'NSX:Connection' unable to invoke expression 'getId()' on Finder object 'com.vmware.o11n.plugins.nsx.model.Connection@375beason 'MethodFailedException : Method "getId" failed for object com.vmware.o11n.plugins.nsx.model.Connection@375b4a83'

server.log:ch.dunes.reflection.ReflectorInvokingException: MethodFailedException : Method "getId" failed for object com.vmware.o11n.plugins.nsx.model.Connection@375b4a83

server.log:     at com.vmware.o11n.plugins.nsx.model.Connection.getId(Connection.java:43)

server.log:2016-05-16 00:23:30.021+0000 [http-nio-127.0.0.1-8280-exec-5] WARN  {} [SDKFinder] convertToResult() --> Finder 'NSX:Connection' : unexpected error 'ch.dunes.model.sdk.SDKFinderException: convertToResult() --> Finder 'NSX:Connection' o invoke expression 'getId()' on Finder object 'com.vmware.o11n.plugins.nsx.model.Connection@375b4a83', reason 'MethodFailedException : Method "getId" failed for object com.vmware.o11n.plugins.nsx.model.Connection@375b4a83''

server.log:ch.dunes.model.sdk.SDKFinderException: convertToResult() --> Finder 'NSX:Connection' unable to invoke expression 'getId()' on Finder object 'com.vmware.o11n.plugins.nsx.model.Connection@375b4a83', reason 'MethodFailedException : Metho" failed for object com.vmware.o11n.plugins.nsx.model.Connection@375b4a83'

server.log:ch.dunes.model.sdk.SDKFinderException: convertToResult() --> Finder 'NSX:Connection' : unexpected error 'ch.dunes.model.sdk.SDKFinderException: convertToResult() --> Finder 'NSX:Connection' unable to invoke expression 'getId()' on Finct 'com.vmware.o11n.plugins.nsx.model.Connection@375b4a83', reason 'MethodFailedException : Method "getId" failed for object com.vmware.o11n.plugins.nsx.model.Connection@375b4a83''

server.log:Caused by: ch.dunes.model.sdk.SDKFinderException: convertToResult() --> Finder 'NSX:Connection' unable to invoke expression 'getId()' on Finder object 'com.vmware.o11n.plugins.nsx.model.Connection@375b4a83', reason 'MethodFailedExceptthod "getId" failed for object com.vmware.o11n.plugins.nsx.model.Connection@375b4a83'

 

server.log:2016-05-16 00:23:30.024+0000 [http-nio-127.0.0.1-8280-exec-5] ERROR {} [VcoFactoryServiceFacadeProxy] ch.dunes.util.DunesServerException: convertToResult() --> Finder 'NSX:Connection' : unexpected error 'ch.dunes.model.sdk.SDKFinderEx convertToResult() --> Finder 'NSX:Connection' unable to invoke expression 'getId()' on Finder object 'com.vmware.o11n.plugins.nsx.model.Connection@375b4a83', reason 'MethodFailedException : Method "getId" failed for object com.vmware.o11n.plugiodel.Connection@375b4a83''

 
server.log:2016-05-1server.log:2016-05-16 00:23:30.020+0000 [http-nio-127.0.0.1-8280-exec-5] WARN  {} [SDKFinder] convertToResult() --> Finder 'NSX:Connection' unable to invoke expression 'getId()' on Finder object 'com.vmware.o11n.plugins.nsx.model.Connection@375beason 'MethodFailedException : Method "getId" failed for object com.vmware.o11n.plugins.nsx.model.Connection@375b4a83'
server.log:ch.dunes.reflection.ReflectorInvokingException: MethodFailedException : Method "getId" failed for object com.vmware.o11n.plugins.nsx.model.Connection@375b4a83
server.log:     at com.vmware.o11n.plugins.nsx.model.Connection.getId(Connection.java:43)
server.log:2016-05-16 00:23:30.021+0000 [http-nio-127.0.0.1-8280-exec-5] WARN  {} [SDKFinder] convertToResult() --> Finder 'NSX:Connection' : unexpected error 'ch.dunes.model.sdk.SDKFinderException: convertToResult() --> Finder 'NSX:Connection' o invoke expression 'getId()' on Finder object 'com.vmware.o11n.plugins.nsx.model.Connection@375b4a83', reason 'MethodFailedException : Method "getId" failed for object com.vmware.o11n.plugins.nsx.model.Connection@375b4a83''
server.log:ch.dunes.model.sdk.SDKFinderException: convertToResult() --> Finder 'NSX:Connection' unable to invoke expression 'getId()' on Finder object 'com.vmware.o11n.plugins.nsx.model.Connection@375b4a83', reason 'MethodFailedException : Metho" failed for object com.vmware.o11n.plugins.nsx.model.Connection@375b4a83'
server.log:ch.dunes.model.sdk.SDKFinderException: convertToResult() --> Finder 'NSX:Connection' : unexpected error 'ch.dunes.model.sdk.SDKFinderException: convertToResult() --> Finder 'NSX:Connection' unable to invoke expression 'getId()' on Finct 'com.vmware.o11n.plugins.nsx.model.Connection@375b4a83', reason 'MethodFailedException : Method "getId" failed for object com.vmware.o11n.plugins.nsx.model.Connection@375b4a83''
server.log:Caused by: ch.dunes.model.sdk.SDKFinderException: convertToResult() --> Finder 'NSX:Connection' unable to invoke expression 'getId()' on Finder object 'com.vmware.o11n.plugins.nsx.model.Connection@375b4a83', reason 'MethodFailedExceptthod "getId" failed for object com.vmware.o11n.plugins.nsx.model.Connection@375b4a83'
server.log:2016-05-16 00:23:30.024+0000 [http-nio-127.0.0.1-8280-exec-5] ERROR {} [VcoFactoryServiceFacadeProxy] ch.dunes.util.DunesServerException: convertToResult() --> Finder 'NSX:Connection' : unexpected error 'ch.dunes.model.sdk.SDKFinderEx convertToResult() --> Finder 'NSX:Connection' unable to invoke expression 'getId()' on Finder object 'com.vmware.o11n.plugins.nsx.model.Connection@375b4a83', reason 'MethodFailedException : Method "getId" failed for object com.vmware.o11n.plugiodel.Connection@375b4a83''
6 00:23:30.020+0000 [http-nio-127.0.0.1-8280-exec-5] WARN  {} [SDKFinder] convertToResult() --> Finder 'NSX:Connection' unable to invoke expression 'getId()' on Finder object 'com.vmware.o11n.plugins.nsx.model.Connection@375beason 'MethodFailedException : Method "getId" failed for object com.vmware.o11n.plugins.nsx.model.Connection@375b4a83'
server.log:ch.dunes.reflection.ReflectorInvokingException: MethodFailedException : Method "getId" failed for object com.vmware.o11n.plugins.nsx.model.Connection@375b4a83
server.log:     at com.vmware.o11n.plugins.nsx.model.Connection.getId(Connection.java:43)
server.log:2016-05-16 00:23:30.021+0000 [http-nio-127.0.0.1-8280-exec-5] WARN  {} [SDKFinder] convertToResult() --> Finder 'NSX:Connection' : unexpected error 'ch.dunes.model.sdk.SDKFinderException: convertToResult() --> Finder 'NSX:Connection' o invoke expression 'getId()' on Finder object 'com.vmware.o11n.plugins.nsx.model.Connection@375b4a83', reason 'MethodFailedException : Method "getId" failed for object com.vmware.o11n.plugins.nsx.model.Connection@375b4a83''
server.log:ch.dunes.model.sdk.SDKFinderException: convertToResult() --> Finder 'NSX:Connection' unable to invoke expression 'getId()' on Finder object 'com.vmware.o11n.plugins.nsx.model.Connection@375b4a83', reason 'MethodFailedException : Metho" failed for object com.vmware.o11n.plugins.nsx.model.Connection@375b4a83'
server.log:ch.dunes.model.sdk.SDKFinderException: convertToResult() --> Finder 'NSX:Connection' : unexpected error 'ch.dunes.model.sdk.SDKFinderException: convertToResult() --> Finder 'NSX:Connection' unable to invoke expression 'getId()' on Finct 'com.vmware.o11n.plugins.nsx.model.Connection@375b4a83', reason 'MethodFailedException : Method "getId" failed for object com.vmware.o11n.plugins.nsx.model.Connection@375b4a83''
server.log:Caused by: ch.dunes.model.sdk.SDKFinderException: convertToResult() --> Finder 'NSX:Connection' unable to invoke expression 'getId()' on Finder object 'com.vmware.o11n.plugins.nsx.model.Connection@375b4a83', reason 'MethodFailedExceptthod "getId" failed for object com.vmware.o11n.plugins.nsx.model.Connection@375b4a83'
server.log:2016-05-16 00:23:30.024+0000 [http-nio-127.0.0.1-8280-exec-5] ERROR {} [VcoFactoryServiceFacadeProxy] ch.dunes.util.DunesServerException: convertToResult() --> Finder 'NSX:Connection' : unexpected error 'ch.dunes.model.sdk.SDKFinderEx convertToResult() --> Finder 'NSX:Connection' unable to invoke expression 'getId()' on Finder object 'com.vmware.o11n.plugins.nsx.model.Connection@375b4a83', reason 'MethodFailedException : Method "getId" failed for object com.vmware.o11n.plugiodel.Connection@375b4a83''
0 Kudos
1 Reply
GrantOrchardVMw
Commander
Commander

Can you please check if there are any leading or trailing spaces for your NSX endpoint details?

Apart from that, I would suggest logging an SR. If you do so, please DM me the SR number.

Grant

Grant http://grantorchard.com
0 Kudos