Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search regression data for "End of data reached." and improve buffer length detection #395

Open
drewnoakes opened this issue Feb 2, 2024 · 1 comment

Comments

@drewnoakes
Copy link
Owner

Our reader classes validate range arguments. They throw IOException for attempts to read beyond the allotted range. See here for an example.

Exceptions can tunnel a long way before being caught. By replacing these exceptions with graceful error handling, we might proceed to extract more metadata successfully.

We should search the regression suite's output files for occurrences of the error message:

End of data reached.

I believe several, if not most, of these could be identified with a quick range calculation ahead of read operations.

@drewnoakes
Copy link
Owner Author

Also messages for out-of-bounds errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant