Details
-
Bug
-
Resolution: Obsolete
-
Low
-
3.12.2
-
3.12
-
Description
Steps to re-produce:
1. Create a bookmark link to a "Single Level Group By Report"
2. Access this link without logging in to JIRA. The following exception is displayed:
... java.lang.NullPointerException at com.atlassian.jira.issue.search.util.LuceneQueryCreator.getQueryFromSearchRequest(LuceneQueryCreator.java:68) at com.atlassian.jira.issue.search.providers.LuceneSearchProvider.searchAndSort(LuceneSearchProvider.java:119) at com.atlassian.jira.plugin.report.impl.SingleLevelGroupByReport.searchMapIssueKeys(SingleLevelGroupByReport.java:73) at com.atlassian.jira.plugin.report.impl.SingleLevelGroupByReport.getOptions(SingleLevelGroupByReport.java:57) at com.atlassian.jira.plugin.report.impl.SingleLevelGroupByReport.generateReportHtml(SingleLevelGroupByReport.java:101) ...
The main reason to this problem is the user is not logged-in to JIRA and does not have the valid permission to perform the action. JIRA should handle those exception and redirect the user to log-in panel.
Attachments
Issue Links
- is duplicated by
-
JRASERVER-34252 Not logged in and accessing a report produces an error page with NPE
- Closed