History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: JRA-14594
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Michael Tokar [Atlassian]
Reporter: Peter White [Atlassian]
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JIRA

AddPermission action needs validation on the permission field - throws NPE if not selected

Created: 05/Mar/08 10:30 PM   Updated: 18/Mar/08 08:26 PM
Component/s: Administration
Affects Version/s: 3.12.2
Fix Version/s: 3.12.3

Time Tracking:
Original Estimate: 1 hour
Original Estimate - 1 hour
Remaining Estimate: 0 minutes
Time Spent - 1 hour
Time Spent: 1 hour
Time Spent - 1 hour

Participants: Michael Tokar [Atlassian] and Peter White [Atlassian]
Since last comment: 18 weeks ago
Resolution Date: 18/Mar/08 08:26 PM
Labels:


 Description  « Hide
Steps to replicate:

Administration -> Permission Schemes; select a custom permission scheme not JIRA Default -> Grant permission -> User Custom Field -> Drop down list is "Choose a customer field" -> Select by clicking the radio button -> Click Add -> you get System Error :

java.lang.NullPointerException
	at com.atlassian.jira.web.action.admin.permission.AddPermission.doValidation(AddPermission.java:75)
	at webwork.action.ActionSupport.validate(ActionSupport.java:373)
	at webwork.action.ActionSupport.execute(ActionSupport.java:150)
	at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:54)


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Michael Tokar [Atlassian] - 18/Mar/08 07:01 PM
The NPE will be thrown no matter which user/group selector is chosen - if no value for the permission field on the left is chosen, the validation throws the exception

Peter White [Atlassian] - 18/Mar/08 07:04 PM
Yes but you get a nasty System Error on the GUI. Should be handled with more discretion.