Unable to Edit Activity Stream gadget
症状
Users unable to edit any new and existing activity stream gadgets in the dashboard. The following appears in the atlassian-jira.log
:
2014-08-18 13:19:47,580 http-bio-10443-exec-16 ERROR admin 799x233x1 13nz9z4 10.75.22.97 /rest/activity-stream/1.0/config [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service:
null
java.lang.NullPointerException
at com.atlassian.streams.internal.ProviderFilterOrdering.compare(ProviderFilterOrdering.java:72)
at com.atlassian.streams.internal.ProviderFilterOrdering$1.compare(ProviderFilterOrdering.java:44)
at java.util.TimSort.binarySort(Unknown Source)
at java.util.TimSort.sort(Unknown Source)
at java.util.TimSort.sort(Unknown Source)
at java.util.Arrays.sort(Unknown Source)
at java.util.Collections.sort(Unknown Source)
at com.google.common.collect.Ordering.sortedCopy(Ordering.java:513)
at com.atlassian.streams.internal.ConfigRepresentationBuilder.getConfigRepresentation(ConfigRepresentationBuilder.java:73)
at com.atlassian.streams.internal.rest.resources.StreamsConfigResource.getFilters(StreamsConfigResource.java:39) <+3>
at java.lang.reflect.Method.invoke(Unknown Source) <+18> (DispatchProviderHelper.java:234) (DispatchProviderHelper.java:100) (DefaultMethodInvocation.java:61) (ExpandInterceptor.java:38) (DefaultMethodInv
ocation.java:61) (DispatchProviderHelper.java:132) (DispatchProviderHelper.java:230) (ResourceJavaMethodDispatcher.java:75) (HttpMethodRule.java:288) (ResourceClassRule.java:108) (RightHandPathRule.java:147) (Root
ResourceClassesRule.java:84) (WebApplicationImpl.java:1469) (WebApplicationImpl.java:1400) (WebApplicationImpl.java:1349) (WebApplicationImpl.java:1339) (WebComponent.java:416) (ServletContainer.java:537)
at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:178) <+1> (ServletContainer.java:795)
at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:73) <+16> (DelegatingPluginFilter.java:74) (IteratingFilterChain.java:42)
...
原因
There are broken application link that the gadget has issue checking the application name.
ソリューション
Please try the resolution in your staging environment before work on your production environment.
- Backup JIRA
The problematic application link name could be look like "{name}".
- Otherwise, remove one application link at a time and see which application link might be causing this problem. It could be a corrupted application link which the application has not been used for some time.
最終更新日 2016 年 9 月 30 日
Powered by Confluence and Scroll Viewport.