Brendiem / ala-citizenscience

Automatically exported from code.google.com/p/ala-citizenscience
0 stars 1 forks source link

Advanced review screen has null pointer exception when user is not logged in #419

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. Don't be logged in
2. Click on advanced review
3. Server will report 500

There is a null pointer exception caused by a null user object which occurs 
when there is no logged in user.

AdvancedReviewController line 179:

mv.addObject("hideDownload", user.isLimitedUser());

Add null check to fix it!

Original issue reported on code.google.com by aaron.lo...@gmail.com on 25 Mar 2015 at 5:40

GoogleCodeExporter commented 9 years ago

Original comment by aaron.lo...@gmail.com on 25 Mar 2015 at 5:47