ac2cz / FoxTelem

AMSAT Fox-1 Telemetry Decoder
GNU General Public License v3.0
52 stars 17 forks source link

Blank STP fields cause an error when we load the file #729

Open ac2cz opened 2 years ago

ac2cz commented 2 years ago

For example, when RF-Receiver Description was not completed then the STP Raw Queue could not be sent to the server. This is because it is read in with a tokenizer and it does not like blank fields. image

The error needs to be fixed in Frame load(BufferedReader input) Rather than tokenize the line we should split it.

ac2cz commented 2 years ago

If the frame queue is corrupted because the line was not fully written then I think we also get a crash

ac2cz commented 2 years ago

I have mitigated this by making sure that the setting always has a default value and can not be blank. But it should be fixed fully.