Unable to view Question tab
Symptoms
The following appears in the atlassian-confluence.log
:
caused by: com.atlassian.confluence.plugins.questions.api.exception.InfrastructureException: Error getting recent question ids
at com.atlassian.confluence.plugins.questions.contenttype.repository.ContentTypeQuestionRepository.getRecentQuestionsIds(ContentTypeQuestionRepository.java:646)
caused by: net.sf.hibernate.exception.GenericJDBCException: Could not execute query
at net.sf.hibernate.exception.ErrorCodeConverter.handledNonSpecificException(ErrorCodeConverter.java:90)
caused by: java.sql.SQLSyntaxErrorException: ORA-01795: maximum number of expressions in a list is 1000
The following appears in the page:
Diagnosis
User using Oracle and installed Confluence Questions
Cause
When user is in a group which consist of 16000 user they will face this error.
Workaround
There is 2 workaround for this issue:
- Use different database such as MySql and PostgreSQL.
- Reduce the number of the user in a group to 1500 and below.
Resolution
Upgrade Confluence Questions. See CONFSERVER-47773 - Getting system error on main Questions page when in Oracle and user has access to more than 1000 spaces.
Last modified on Jan 31, 2025
Powered by Confluence and Scroll Viewport.