Hi
I'm using Powershell v3 with the orion SDK V1.10
When I try do a group create with the SDK I get an "Object reference not set to an instance of an object." error
I've enabled the debugging but can't see what the issue is. can anyone maybe shed some light for me.
2015-07-14 15:02:03,984 [75] ERROR SolarWinds.InformationService.Core.InformationService - SwisPowerShell | Exception for Operation: <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> |
<s:Header>
<a:Action s:mustUnderstand="1">http://schemas.solarwinds.com/2007/08/informationservice/InformationService/Invoke</a:Action>
<a:MessageID>urn:uuid:379411ea-c908-4f95-9487-690c8c016bbe</a:MessageID>
<a:ReplyTo>
<a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address>
</a:ReplyTo>
<i18n xmlns="http://schemas.solarwinds.com/2007/08/informationservice" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Culture>en-US</Culture>
</i18n>
<SwisSettings xmlns="http://schemas.solarwinds.com/2007/08/informationservice" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<ApplicationTag>SwisPowerShell</ApplicationTag>
<DataProviderTimeout>PT30S</DataProviderTimeout>
</SwisSettings>
<a:To s:mustUnderstand="1">net.tcp://kwpsam001:17777/SolarWinds/InformationService/v3/Orion/ssl</a:To>
<o:Security s:mustUnderstand="1" xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<u:Timestamp u:Id="_0">
<u:Created>2015-07-14T05:02:03.762Z</u:Created>
<u:Expires>2015-07-14T05:07:03.762Z</u:Expires>
</u:Timestamp>
<c:SecurityContextToken u:Id="uuid-e4c97149-d01b-4114-97ce-9de565e263d4-223137" xmlns:c="http://schemas.xmlsoap.org/ws/2005/02/sc">
<c:Identifier>urn:uuid:e3317712-62e2-481f-941e-2e80084332fc</c:Identifier>
</c:SecurityContextToken>
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo>
<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
</CanonicalizationMethod>
<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#hmac-sha1">
</SignatureMethod>
<Reference URI="#_0">
<Transforms>
<Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
</Transform>
</Transforms>
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1">
</DigestMethod>
<DigestValue>PpujVWvPv/D7ne3qeUwOrdEcseA=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>VvbJpg4vzRkfl47sLjiRI8QrGt8=</SignatureValue>
<KeyInfo>
<o:SecurityTokenReference>
<o:Reference URI="#uuid-e4c97149-d01b-4114-97ce-9de565e263d4-223137">
</o:Reference>
</o:SecurityTokenReference>
</KeyInfo>
</Signature>
</o:Security>
</s:Header>
<s:Body>
<Invoke xmlns="http://schemas.solarwinds.com/2007/08/informationservice">
<entity>Orion.Container</entity>
<verb>CreateContainer</verb>
<parameters xmlns:b="http://schemas.datacontract.org/2004/07/System.Xml" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<b:XmlElement>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">QLD2</string>
</b:XmlElement>
<b:XmlElement>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">Core</string>
</b:XmlElement>
<b:XmlElement>
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">60</int>
</b:XmlElement>
<b:XmlElement>
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">0</int>
</b:XmlElement>
<b:XmlElement>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">Desc</string>
</b:XmlElement>
<b:XmlElement>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</string>
</b:XmlElement>
<b:XmlElement>
<ArrayOfMemberDefinitionInfo xmlns="http://schemas.solarwinds.com/2008/Orion">
<MemberDefinitionInfo>
<Name>QLD2</Name>
<Definition>filter:/Orion.Nodes[Vendor='Windows']</Definition>
</MemberDefinitionInfo>
</ArrayOfMemberDefinitionInfo>
</b:XmlElement>
</parameters>
</Invoke>
</s:Body>
</s:Envelope>
2015-07-14 15:02:03,984 [75] ERROR SolarWinds.InformationService.Core.InformationService - SwisPowerShell | Exception caught in method Invoke |
System.NullReferenceException: Object reference not set to an instance of an object.
at SolarWinds.InformationService.Verb.VerbExecutor.Invoke(Object hostInstance, Object[] parameters)
at SolarWinds.InformationService.Verb.VerbExecutorContext.Invoke()
at SolarWinds.InformationService.Core.InformationService.InvokeInternal[T](String entity, String verb, Action`1 setupParameters, Func`2 extractReturnValue)
at SolarWinds.InformationService.Core.InformationService.Invoke(String entity, String verb, XmlElement[] parameters)