Description
Problem:
When trying to move the issue using the mouse, the yellow warning message appears, but you are still able to move issues using the right-click 'Send To' option.
Doing so, generates the red error message:
Steps to Reproduce:
- Create Agile board that does not use Rank
- Highlight an item in the backlog.
- Right-click to bring up the menu to send the ticket into the current sprint.
- Will see a warning dialog that says ranking is disable which is not recommended
- Pick a sprint to which the ticket should be added.
- Get the warning dialog that this is a "scope change".
- Click confirm and agree to scope change.
- The ticket is moved as desired, but receive red "Internal Server Error" message, corresponding log info:
@40000000523b24742bc285b4 2013-09-19 09:20:58,731 TP-Processor10 ERROR admin 560x9374x1 nemprn 67.169.149.80,131.103.26.162 /rest/greenhopper/1.0/sprint/rank [web .rapid.sprint.SprintRankResource] Unable to complete GreenHopper REST method @40000000523b24742bc28d84 java.lang.NullPointerException @40000000523b24742bc2916c at com.atlassian.greenhopper.web.rapid.sprint.SprintRankResource$1.call(SprintRankResource.java:117) @40000000523b24742bc2916c at com.atlassian.greenhopper.web.rapid.sprint.SprintRankResource$1.call(SprintRankResource.java:78) @40000000523b24742bc5a67c at com.atlassian.greenhopper.web.util.RestCall.response(RestCall.java:48) @40000000523b24742bc5aa64 at com.atlassian.greenhopper.web.AbstractResource.response(AbstractResource.java:60) @40000000523b24742bc5ae4c at com.atlassian.greenhopper.web.rapid.sprint.SprintRankResource.updateSprintAndRank(SprintRankResource.java:77) @40000000523b24742bc5ae4c at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) @40000000523b24742bc5b61c at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) @40000000523b24742bc5ba04 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @40000000523b24742bc5ba04 at java.lang.reflect.Method.invoke(Method.java:597) @40000000523b24742bc5bdec at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker$1.invoke(DispatchProviderHelper.ja va:234) @40000000523b24742bc5c9a4 at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$1.intercept(DispatchProviderHelper.java:100) @40000000523b24742bc5cd8c at com.atlassian.plugins.rest.common.interceptor.impl.DefaultMethodInvocation.invoke(DefaultMethodInvocation.java:61) @40000000523b24742bc5d174 at com.atlassian.plugins.rest.common.expand.interceptor.ExpandInterceptor.intercept(ExpandInterceptor.java:38) @40000000523b24742bc5d55c at com.atlassian.plugins.rest.common.interceptor.impl.DefaultMethodInvocation.invoke(DefaultMethodInvocation.java:61) @40000000523b24742bc5d944 at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper.invokeMethodWithInterceptors(DispatchProviderHelper.j ava:132) @40000000523b24742bc5dd2c at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker._dispatch(DispatchProviderHelper.j ava:230) @40000000523b24742bc5e114 at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) @40000000523b24742bc5e4fc at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288) @40000000523b24742bc5eccc at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) @40000000523b24742bc5f0b4 at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) @40000000523b24742bc5f0b4 at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) @40000000523b24742bc5f49c at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469) @40000000523b24742bc5f884 at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400) @40000000523b24742bc5fc6c at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349) @40000000523b24742bc5fc6c at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339) @40000000523b24742bc6043c at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416) @40000000523b24742bc6043c at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537) @40000000523b24742bc60824 at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:178) @40000000523b24742bc60ff4 at com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:795) @40000000523b24742bc613dc at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:73) @40000000523b24742bc617c4 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) @40000000523b24742bc62b4c at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) @40000000523b24742bc62b4c at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) @40000000523b24742bc62f34 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)
Workaround
It seems that the move still works, so no workaround is needed, but adding Rank to the filter should remove the erorr.