secs4net
secs4net copied to clipboard
NullReferenceException
Describe the bug NullReferenceException To Reproduce Steps to reproduce the behavior:
- start SecsDevice and DeviceWorkerService two projects simultaneously in VS
- after the main form appear, make the break point at the MessageHeader.cs file EncodeTo method buffer.Advance(10) (49 line)
- press F11 to run step by step
- in the HsmsConnection.cs file StopPipeDecoder method, 324 line will occur a NullReferenceException bug
Expected behavior A clear and concise description of what you expected to happen.
Desktop (please complete the following information): Windows 10, VS2022
Additional context Add any other context about the problem here.