NPE when loading invalid stopwords file

Description

It seems that when I define an Analyzer needing a resourcefile, like a file containing the stopwords, and this file doesn't exist, a NullPointerException is thrown instead of saying that the file was not found.

Environment

None

Status

Assignee

Unassigned

Reporter

Sanne Grinovero

Labels

None

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Fix versions

Affects versions

Priority

Trivial
Configure