Error in User Profile's activity stream

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Problem

The Activity Stream on the user profile does not load but instead throw an error :

An error occurred while trying to retrieve recent activity

 

The following appears in the atlassian-jira.log

2016-04-27 11:34:45,815 http-nio-8080-exec-42 ERROR zaitsev 694x3050491x2 ivkfqs 185.36.63.205,0:0:0:0:0:0:0:1 /plugins/servlet/streams [c.a.s.internal.servlet.StreamsActivityServlet] Error getting activity
java.lang.NullPointerException
	at com.atlassian.streams.api.common.Either$2.apply(Either.java:176)
	at com.atlassian.streams.api.common.Either$2.apply(Either.java:173)
	at com.google.common.collect.Iterators$7.computeNext(Iterators.java:652)
	at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
	at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
	at com.google.common.collect.TransformedIterator.hasNext(TransformedIterator.java:43)
	at com.atlassian.streams.internal.StreamsCompletionService.registerFailures(StreamsCompletionService.java:152)
	at com.atlassian.streams.internal.StreamsCompletionService.execute(StreamsCompletionService.java:145)
	at com.atlassian.streams.internal.FeedBuilder.getFeed(FeedBuilder.java:69)
	at com.atlassian.streams.internal.servlet.StreamsActivityServlet.doGet(StreamsActivityServlet.java:71)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:618)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
	at com.atlassian.plugin.servlet.DelegatingPluginServlet.service(DelegatingPluginServlet.java:42)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
	at com.atlassian.plugin.servlet.ServletModuleContainerServlet.service(ServletModuleContainerServlet.java:52)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
	... 17 filtered
	at com.xpandit.raven.servlet.RequestIdFilter.doFilter(Unknown Source)
	... 176 filtered
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:745)

Diagnosis

Environment

  • Reported on JIRA 7.0.10

Diagnostic Steps

  • Issue seems to happen after linking JIRA with another application using the application link 
  • The error only appears on the User Profile's dasboard but not the System Dashboard 
  • The error does not appear when the application is removed

Cause

  • From the investigation done, it seems like the application links is either not configured correctly or corrupted. 
  • There is also a bug ticket raised here which has been closed as it is not reproducible  JRA-42885 - Getting issue details... STATUS

Resolution

  • Recreate the application links and ensure the following on both JIRA and the other application :

    1. Only OAuth is used for incoming and outgoing authentication.
    2. Ensure that Trusted and Basic is disabled
    3. Ensure that 2-legged Oauth is enabled for incoming and outgoing authentication

 

Last modified on Apr 28, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.