-
Bug
-
Resolution: Fixed
-
Low
-
8.9.0, 8.9.1
-
1
-
Severity 3 - Minor
-
-
CtB - Features
The below error message appears in the application logs:
2024-05-17 04:00:12,223 ERROR [pool-9-thread-1] [plugins.periodic.event.ConfluenceDailyStatisticsAnalyticsEventSupplier] getNumberOfDarkThemeUsers Error getting number of dark theme users
javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not extract ResultSet
at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:154)
at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1626)
. . .
Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'os_propertyentry'.
The table name on the MSSQL server is upper case.
I created a Confluence 8.9.0 by using the MSSQL 2019 database and it seems the Publish Daily Statistics is calling this table by using the lowercase table name. The database collation setting shows that the setting is case sensitive as we are expecting;
confluence SQL_Latin1_General_CP1_CS_AS
A fix for this issue is available in Confluence Data Center 9.0.1.
Upgrade now or check out the Release Notes to see what other issues are resolved.