I have an element which use an smart-serial communication protocol. The protocol uses a Generic Command/Pair/Response for specific queries (single events query/change/status/reply). When I'm trying to set a new command on the generic command parameter, the element log shows the error below:
SLProtocol - 24900 - ElementName|12984|CPair::Execute|ERR|0|-> Send failed with A null reference pointer was passed to the stub.. (hr = 0x800706F4)
The command that I'm trying to send is the following: ~XPOINT:D${Output};S${Input}\
Some of the other commands the protocol use have a similar structure as the one I'm using and they did not show any errors on the element Log file.
The error Send failed with A null reference pointer was passed to the stub.. (hr = 0x800706F4) could get logged in the following scenarios that I'm aware of:
- The command that is being sent out has no parameters configured in the protocol.
- The command that is being sent out has parameters configured but they don't exist in the protocol.
- The command that is being sent out has parameters configured in the protocol but they're all uninitialized.
If none of those scenarios is the case with the protocol you're experiencing this issue with, it might be interesting to share the command definition and the parameter definitions here to take a deeper look.