What is generating trigger3() in the Nextion HMI code?
A touch or release event? Is there any thing else in the event other than the sending of the trigger function.
You can certainly modify the error checking from the !=777777 to include your -1 or other values out of range.
It's interesting that .readNumber() returns a uint32_t , so its not clear where the negative number (-1) is coming from.
You may also find it more reliable to use a text field instead of a number field for ruddertrim.
EDIT:
It appears that the reading of ruddertrim is the only read function in your code. Are you certain that the Serial1 wiring NextionTx to ArduinoRx is rock solid?