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

Fix query when chaining with input IRI #555

Merged
merged 1 commit into from
Aug 15, 2019
Merged

Fix query when chaining with input IRI #555

merged 1 commit into from
Aug 15, 2019

Conversation

beckyjackson
Copy link
Contributor

When chaining with an --input-iri, the ontologyPath variable in the state will be null. We currently try and guess the catalog path from this variable, but if the ontologyPath is null, creating a File object throws a null pointer exception. This PR adds a check to make sure the ontologyPath is not null before attempting to guess the catalog.

When chaining with an `--input-iri`, the `ontologyPath` variable in the state will be null. We currently try and guess the catalog path from this variable, but if the `ontologyPath` is null, creating a File object throws a null pointer exception. This PR adds a check to make sure the `ontologyPath` is not null before attempting to guess the catalog.
@jamesaoverton jamesaoverton merged commit 6f38de5 into master Aug 15, 2019
@beckyjackson beckyjackson deleted the query-patch branch August 15, 2019 20:03
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