Error with Confluence Questions when Ordering by Recent

Symptoms

When clicking the 'Recent' filter in Confluence Questions, an error page is displayed.

The following appears in the atlassian-confluence.log:

java.lang.IllegalArgumentException: author is required
at com.atlassian.confluence.plugins.questions.model.QuestionImpl.<init>(QuestionImpl.java:51)
Stack Trace:[hide]
java.lang.IllegalArgumentException: author is required
at com.atlassian.confluence.plugins.questions.model.QuestionImpl.<init>(QuestionImpl.java:51)
at com.atlassian.confluence.plugins.questions.model.QuestionImplBuilder.build(QuestionImplBuilder.java:118)

Diagnosis

Updating Confluence Questions to version 1.0.294 doesn't fix the issue, so this is not the same problem as CONFSERVER-48036 - Can't view question when the author has been deleted

Cause

After migrating the Confluence server, some users that have authored questions never login. The cause is unknown as there might be a flag in Confluence Questions checking if the last-login is not null.

Resolution

  • Login using the users that are the authors of Questions to ensure the last-login field is not empty

Last modified on Jan 30, 2025

Was this helpful?

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