SmartConnector Forum
Schneider Electric support forum about SmartConnector applications for integration of other building management systems (BMS) into EcoStruxure Building Operation.
Link copied. Please paste this link to share this article on your social media post.
Hi,
When I try to modify an EWS value in the EBO, I get the following error:
gSoap communication error
Communication
SOAP-ENV:Receiver."http://schemas.microsoft.com/net/2005/12/windowscommunicationfoundation/dispatcher":InternalServiceF...
CWS Client Plugin
12
The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.
In the SmartConnector log file, I see this error:
2021-04-07 18:05:26.5671,Error,EwsServe,admin,Object reference not set to an instance of an object.
at SmartConnector.EBOOPCClient.OpcClientManager.WriteItem(EBOOpcItem& opcItem, Object newVal, Boolean bTriggerGrp)
at SmartConnector.EBOOPCClient.EwsServer.CustomSetValuesProcessor.SetValue(ValueTypeStateless item)
at Ews.Server.Contract.Processor.SetValuesProcessor.ProcessRequest_Subclass(SetValuesRequest1 request)
at Ews.Server.Contract.Processor.RequestProcessorBase`2.ProcessRequest(TRequest request)
,[18,"4f4caebb-b1dc-44e5-a89c-6488cd03f3d8"],
2021-04-07 18:05:26.5671,Info,EwsServe,admin,{"Method":"SetValues","Duration":"13"},
2021-04-07 18:05:26.5671,Debug,EwsServe,admin,{"Response":null,"Duration":"13"},
Any idea what is causing this error?
Thank you.
Mike
Link copied. Please paste this link to share this article on your social media post.
Hi Michael,
From the stack trace, it looks as though the error is coming from your custom code:
at SmartConnector.EBOOPCClient.OpcClientManager.WriteItem(EBOOpcItem& opcItem, Object newVal, Boolean bTriggerGrp)
I don't know what this code does exactly, so I don't have enough information to advise what could be the issues. (e.g. which object could possible be null)
Best Regards,
-Jeff
Link copied. Please paste this link to share this article on your social media post.
Hi Michael,
From the stack trace, it looks as though the error is coming from your custom code:
at SmartConnector.EBOOPCClient.OpcClientManager.WriteItem(EBOOpcItem& opcItem, Object newVal, Boolean bTriggerGrp)
I don't know what this code does exactly, so I don't have enough information to advise what could be the issues. (e.g. which object could possible be null)
Best Regards,
-Jeff
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.