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

If somebody forgets to specify an option, NullPointerException is thrown #22

Open
searchivarius opened this issue Jun 11, 2014 · 0 comments

Comments

@searchivarius
Copy link
Member

If a user forgets to specify an option (or equivalently accidentally inserts an empty line after options: | ), a NullPointerException is thrown. This happens right here:

https://github.com/oaqa/uima-ecd/blob/master/src/main/java/edu/cmu/lti/oaqa/ecd/phase/BasePhaseLoader.java#L74

We need to check if options are empty and to generate a friendlier exception message.

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

No branches or pull requests

1 participant