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

Dataset throws unguarded error #364

Closed
gkellogg opened this issue Nov 1, 2017 · 0 comments
Closed

Dataset throws unguarded error #364

gkellogg opened this issue Nov 1, 2017 · 0 comments
Labels
Milestone

Comments

@gkellogg
Copy link
Member

gkellogg commented Nov 1, 2017

From ruby-rdf/rdf-do#4, Dataset#count can get a null value in #each_statement, which should provide more meaningful error reporting.

…/vendor/cache/ruby/2.3.0/gems/rdf-2.2.11/lib/rdf/model/dataset.rb:67:in `each_statement': undefined method `each' for nil:NilClass (NoMethodError)
    from …/vendor/cache/ruby/2.3.0/gems/rdf-2.2.11/lib/rdf/mixin/queryable.rb:172:in `first'
    from test-store.rb:24:in `<main>'
@gkellogg gkellogg added the bug label Nov 1, 2017
@gkellogg gkellogg added this to the 3.0 milestone Nov 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant