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

FeatureRDD.toCoverage throws NullPointerException when there is no coverage information #1471

devin-petersohn opened this issue Apr 4, 2017 · 1 comment


Copy link

@devin-petersohn devin-petersohn commented Apr 4, 2017

This is more of a discussion on how to handle this case.

Do we want to leave it, or should we add a require()?

The exception isn't thrown until the CoverageRDD is materialized, and NullPointerExceptions are notoriously difficult to debug at times.

I think it would be nicer to have in ADAM, but I am also happy to handle this exception downstream if that is the consensus.

Copy link

@fnothaft fnothaft commented Apr 4, 2017

I would +1 adding a require. IMO, users shouldn't see a NPE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.