Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
An NPE occurs when moving Test issues. The Test issue should be linked with a Pre-Condition to reproduce this error.
How to reproduce:
- Create a Test issue
- Associate a Pre-Condition
- In the Test issue page, click on 'More' > 'Move'
- Select the Project and Issue Type
- Click on Next
- You'll be redirected to an error page and will get the following stack trace (snippet):
java.lang.NullPointerException at com.xpandit.raven.customfield.TestPreconditionCustomField.getProjectList(TestPreconditionCustomField.java:319) [?:?] at com.xpandit.raven.customfield.TestPreconditionCustomField.validateFromParams(TestPreconditionCustomField.java:347) [?:?] at com.atlassian.jira.issue.fields.ImmutableCustomField.needsMove(ImmutableCustomField.java:1103) [classes/:?] at com.atlassian.jira.web.action.issue.MoveIssueUpdateFields.doDefault(MoveIssueUpdateFields.java:67) [classes/:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.8.0_102] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [?:1.8.0_102] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.8.0_102] at java.lang.reflect.Method.invoke(Method.java:498) [?:1.8.0_102]
 This problem also occurs when moving Test issues in bulk.