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

java.lang.NullPointerException in BufferedReader #1

Open
MHKalantarian opened this issue Dec 19, 2018 · 1 comment
Open

java.lang.NullPointerException in BufferedReader #1

MHKalantarian opened this issue Dec 19, 2018 · 1 comment

Comments

@MHKalantarian
Copy link

try (Reader reader = new BufferedReader(new InputStreamReader(Stemmer.class.getResourceAsStream(resourceName))))
Caused by: java.lang.NullPointerException
at java.io.Reader.(Reader.java:78)
at java.io.InputStreamReader.(InputStreamReader.java:72)
at com.hadisaboohi.irproject.Stemmer.Stemmer.loadData(Stemmer.java:68)
at com.hadisaboohi.irproject.Stemmer.Stemmer.loadRule(Stemmer.java:111)
at com.hadisaboohi.irproject.Stemmer.Stemmer.(Stemmer.java:50)

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

No branches or pull requests

2 participants
@MHKalantarian and others