[atlassian.streams.internal.LocalActivityProvider] Error building feed due to java.lang.NullPointerException

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

After the upgrade of JIRA, you are not able to see any issues in the instance:

The following appears in the atlassian-jira.log:

2013-08-02 09:19:18,846 StreamsCompletionService::thread-43 ERROR ahmad.danial 559x373x1 1xpf0pl 10.7.66.24 /rest/activity-stream/1.0/config [atlassian.streams.internal.LocalActivityProvider] Error building feed
java.lang.NullPointerException
	at com.atlassian.jira.issue.search.parameters.lucene.DefaultPermissionQueryFactory.collectProjectTerms(DefaultPermissionQueryFactory.java:170)
	at com.atlassian.jira.issue.search.parameters.lucene.DefaultPermissionQueryFactory.getQuery(DefaultPermissionQueryFactory.java:68)
...

Also, there can also be a possibility that an ERROR stack trace related to JIRA Agile will appear on the log as well:

2013-08-02 09:19:18,700 http-bio-8080-exec-9 ERROR ahmad.danial 559x375x3 1xpf0pl 10.7.66.24 /rest/greenhopper/1.0/progress-bar-stats/generate [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service
java.lang.NullPointerException
	at com.atlassian.jira.issue.search.parameters.lucene.DefaultPermissionQueryFactory.collectProjectTerms(DefaultPermissionQueryFactory.java:170)
	at com.atlassian.jira.issue.search.parameters.lucene.DefaultPermissionQueryFactory.getQuery(DefaultPermissionQueryFactory.java:68)
...

Cause

The cause is unknown.

Workaround

  1. Run the Database Integrity Checker to ensure that all JIRA data is in a consistent state. Fix all the ERRORs (if there are any).
  2. Reindex JIRA instance
  3. Restart JIRA instance

If the above doesn't work, please try to restore the last backup that you have and perform the JIRA upgrade again. The problem should not be present anymore after that.

Last modified on Nov 2, 2018

Was this helpful?

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