Closed
Description
The Modbus Mapper is running normally. After the device is delivered, the container of the mapper fails.
View the mapper log. The command output is "panic: runtime error: invalid memory address or nil pointer dereference".
Locate the problem. It was found that the payload in the Run() function, located in the mappers/modbus-dmi/device/twindata.go file, did not add the "Expected" data section. This results in an error when accessing msg.Twin.Expected when executing the parse.ConvMsgTwinToGrpc(msg.Twin) function.
Is this a bug in the process of design and implementation? If so, please leave bugfix matters to me.
Metadata
Metadata
Assignees
Labels
No labels