-
Type:
Bug
-
Resolution: Timed out
-
Priority:
Medium
-
Component/s: Issue - Backend, Work Item - Bulk Updates
-
25
-
Severity 3 - Minor
-
0
Summary
Re-building Index or doing a bulk edit operation while 'Clone Issue' task is in progress causes both tasks to fail.
Steps to Reproduce
Case 1
- Clone an issue
- Immediately after you click on the 'Clone Issue', Go to System -> Indexing > Background Reindex -> Reindex
Case 2
- Do a JQL search and bulk edit the results
- While the bulk edit is ongoing, clone an issue
Expected Results
Both tasks complete normally.
Actual Results
Both tasks fail.
Error displayed when indexing: "The task context is not of the expected type. Expected 'com.atlassian.jira.config.IndexTaskContext' but got 'com.atlassian.jira.bc.issue.clone.CloneIssueTaskManagerImpl$CloneIssueTaskContext'"
Error displayed when bulk editing: "The task context is not of the expected type. Expected 'com.atlassian.jira.bulkedit.operation.BulkEditTaskContext' but got 'com.atlassian.jira.bc.issue.clone.CloneIssueTaskManagerImpl$CloneIssueTaskContext'"
The below exception is thrown:
java.lang.NullPointerException at com.atlassian.jira.bc.issue.clone.CloneIssueTaskManagerImpl$CloneIssueTaskProgress.getStatus(CloneIssueTaskManagerImpl.java:187) [classes/:?] at com.atlassian.jira.web.action.issue.CloneIssueDetails.doProgress(CloneIssueDetails.java:254) [classes/:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.8.0_77] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [?:1.8.0_77] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.8.0_77] at java.lang.reflect.Method.invoke(Method.java:498) [?:1.8.0_77] at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) [webwork-1.4-atlassian-30.jar:?] at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) [webwork-1.4-atlassian-30.jar:?] at webwork.action.ActionSupport.invokeCommand(ActionSupport.java:438) [webwork-1.4-atlassian-30.jar:?] at webwork.action.ActionSupport.execute(ActionSupport.java:157) [webwork-1.4-atlassian-30.jar:?] at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:67) [jira-api-1000.1010.2.jar:?] at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39) [webwork-1.4-atlassian-30.jar:?] at webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:31) [webwork-1.4-atlassian-30.jar:?] at webwork.interceptor.ChainedInterceptor.intercept(ChainedInterceptor.java:16) [webwork-1.4-atlassian-30.jar:?] at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:35) [webwork-1.4-atlassian-30.jar:?] at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:225) [webwork-1.4-atlassian-30.jar:?] at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:154) [webwork-1.4-atlassian-30.jar:?] at com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.service(JiraWebworkActionDispatcher.java:143) [classes/:?]
This can also happen when other Long running tasks are triggered in the process, like:
- Bulk operations
- Update Workflow
- CSV Export
- Bulk clone issues
- is related to
-
JRACLOUD-67273 Cloning an issue during a CSV import causes CSV to run only in background and NPE
-
- Closed
-
- relates to
-
JRACLOUD-67071 JIRA Long running tasks can not run simultaneously
-
- Closed
-
-
JRACLOUD-66938 Different users share the same Bulk Operation progress view.
-
- Closed
-
- mentioned in
-
Page Loading...