Unable to view Question tab
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. 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
Summary
Symptoms
The following appears in the atlassian-confluence.log
:
1
2
3
4
5
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.
Solution
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.
Was this helpful?