Closed ezabes closed 9 months ago
Thank you for the issue ezabes! We haven't had a chance to look into this yet, but will hopefully follow up in the next couple days.
The fix has just been merged. Thank you again for bringing this to our attention!
I believe the correct behavior for null.bool types handled by the ion text reader should throw an IERR_NULL_VALUE instead of throwing an IERR_INVALID_STATE error.
Symptoms: 1) All other null.* types return IERR_NULL_VALUE. 2) Binary reader throws IERR_NULL_VALUE in similar circumstance.
Below is a workable fix. Add the following code on line 1333 before the else clause in ionc/ion_reader_text.c
Code below recreates issue.