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

NPE in AnalyzerUtil using 3.0 if null is passed to constructor of Analyzer #75

Open
942u3895hjf opened this issue Sep 20, 2017 · 0 comments

Comments

@942u3895hjf
Copy link

942u3895hjf commented Sep 20, 2017

When adding new tests and new HTML pages i suddenly got a reproducable NPE:

java.lang.NullPointerException at cz.vutbr.web.domassign.AnalyzerUtil.classifyRules(AnalyzerUtil.java:455) at cz.vutbr.web.domassign.AnalyzerUtil.classifyAllSheets(AnalyzerUtil.java:145) at cz.vutbr.web.domassign.Analyzer.classifyAllSheets(Analyzer.java:414) at cz.vutbr.web.domassign.Analyzer.assingDeclarationsToDOM(Analyzer.java:202) at cz.vutbr.web.domassign.Analyzer.evaluateDOM(Analyzer.java:135)

This happens if null is passed to the constructor of Analyzer. This is not a big deal but it took me a little while to spot the problem.

@942u3895hjf 942u3895hjf changed the title NPE in AnalyzerUtil using 3.0 NPE in AnalyzerUtil using 3.0 if null is passed to constructor of Analyzer Sep 20, 2017
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

1 participant