Skip to content

Conversation

@ccleva
Copy link
Contributor

@ccleva ccleva commented Jan 3, 2025

Thanks for contributing.

Description

If DataFrameReader.read(URL) is called with an invalid URL a NPE is thrown. Code refactored to throw either RuntimeIOException (when the URL has a known file extension) or IllegalArgumentException if not.

Testing

Yes

@benmccann benmccann merged commit 0dca618 into jtablesaw:master Jan 3, 2025
7 checks passed
@ccleva ccleva deleted the fix_NPE_in_read_with_invalid_url branch January 3, 2025 17:58
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

Successfully merging this pull request may close these issues.

2 participants