Atlassian JIRA | Andriy Yakovlev [Atlassian] | 6 months ago
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    h3. Summary Getting the following error in the activity stream if all streams are chosen. _"An error occurred while trying to retrieve recent activity"_ All streams work if any 1 stream is unchecked. JIRA DVCS Connector Plugin (jira-bitbucket-connector-plugin) throws NullPointerException when getting activity stream on dashboard. Plugin is not visible in available streams, so there is no way to disable it explicitly. h3. Steps to Reproduce Some actions in JIRA (not able to reproduce problem locally). # Open dashboard with Activity stream h3. Expected Results Activity stream is loaded. h3. Actual Results Getting the following error in the activity stream: _"An error occurred while trying to retrieve recent activity"_ {noformat} 2016-08-09 06:44:27,048 ajp-bio- ERROR admin 404 12 /plugins/servlet/streams [streams.internal.servlet.StreamsActivityServlet] Error getting activity java.lang.NullPointerException at com.atlassian.jira.plugins.dvcs.util.SystemUtils.getAllProjectKeys( at com.atlassian.jira.plugins.dvcs.webwork.IssueAndProjectKeyManagerImpl.getAllProjectKeys( at com.atlassian.jira.plugins.dvcs.streams.DvcsStreamsActivityProvider.includeHistoricalProjectKeys( at com.atlassian.jira.plugins.dvcs.streams.DvcsStreamsActivityProvider.getActivityFeed( at com.atlassian.streams.internal.LocalActivityProvider.getActivityFeed( ... {noformat} h3. Notes Plugin full path: com.atlassian.jira.plugins.jira-bitbucket-connector-plugin Problem fixed in later version *3.3.20*+ JIRA 6.4.12: has version *3.2.4* JIRA 7.1.8: has *3.3.30* h3.Workaround * If you don't have any DVCS Accounts configured (integration with Bitbucket or GitHub) then disable JIRA DVCS Connector Plugin. * Some users reported that problem fixed after JIRA restart.

    Atlassian JIRA | 6 months ago | Andriy Yakovlev [Atlassian]

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.atlassian.jira.plugins.dvcs.util.SystemUtils.getAllProjectKeys()
    2. com.atlassian.jira
      1. com.atlassian.jira.plugins.dvcs.util.SystemUtils.getAllProjectKeys(
      2. com.atlassian.jira.plugins.dvcs.webwork.IssueAndProjectKeyManagerImpl.getAllProjectKeys(
      3. com.atlassian.jira.plugins.dvcs.streams.DvcsStreamsActivityProvider.includeHistoricalProjectKeys(
      4. com.atlassian.jira.plugins.dvcs.streams.DvcsStreamsActivityProvider.getActivityFeed(
      4 frames
    3. com.atlassian.streams
      1. com.atlassian.streams.internal.LocalActivityProvider.getActivityFeed(
      1 frame