Bulk Operations fail with a NullPointerException
Symptoms
When trying to bulk edit or transition issues in JIRA, the following NullPointerException is displayed on the screen, and the operation fails:
The following appears in the atlassian-jira.log
:
java.lang.NullPointerException
at com.atlassian.jira.bulkedit.operation.BulkWorkflowTransitionOperation.getActionDescriptor(BulkWorkflowTransitionOperation.java:146)
at com.atlassian.jira.bulkedit.operation.BulkWorkflowTransitionOperation.perform(BulkWorkflowTransitionOperation.java:76)
at com.atlassian.jira.web.action.issue.bulkedit.BulkWorkflowTransition.doPerform(BulkWorkflowTransition.java:219)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
java.lang.NullPointerException
at com.intenso.jira.plugin.customfield.dynamicselect.DynamicSelectField.availableForBulkEdit(DynamicSelectField.java:151)
at com.atlassian.jira.issue.fields.CustomFieldImpl.availableForBulkEdit(CustomFieldImpl.java:1636)
at com.atlassian.jira.bulkedit.operation.BulkEditActionImpl.isAvailable(BulkEditActionImpl.java:36)
at com.atlassian.jira.web.action.issue.bulkedit.BulkEdit.setFieldDefaults(BulkEdit.java:135)
Diagnosis
Try to execute the same operation with a different browser, running on private mode or with all add-ons disabled.
Cause
This is caused by third-party add-ons in the browser. Some of the plugins that are known to cause this issue:
- When using Google Chrome is the HTML Tag Checker plugin,
- When using the Dynamic Forms by InTENSO
It is possible other plugins might be causing the same issue.
Workaround
There are a couple of possibilities to workaround this issue:
- Bulk transition/edit the issues using a different browser;
- Disable all add-ons on the browser and try again;
- Run the browser on private mode (which by default disable add-ons).