Environment
- Product version(s): 360Suite
- Third-party technology: Microsoft SQL Server
- Database (if applicable): SQL Server collation and database permissions
Symptoms
Customers may encounter database initialization or connection validation failures in 360Suite, and users may be unable to log in (except BI Administrator in some cases).
- Error occurs during Liquibase initialization on SQL Server.
- Database connection test fails even when connectivity appears correct.
- Applying
VIEW_DEFINITIONalone may not resolve the issue.
Steps to Reproduce
- Configure 360Suite with a Microsoft SQL Server database.
- Use a SQL Server collation that is case-sensitive or binary (for example
SQL_Latin1_General_CP850_BIN2). - Run database connection test from 360Suite Administration console.
- The process fails with a Liquibase
NullPointerException-related error.
Error Message

java.lang.NullPointerException
or

java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "liquibase.snapshot.CachedRow.getInt(String)" is null
or

java.lang.NullPointerException at liquibase.snapshot.jvm.ColumnSnapshotGenerator.readDataType(ColumnSnapshotGenerator.java:539)
Cause
- Context: The issue appears during database connection in 360Suite with SQL Server.
- Technical explanation: Two configuration points can trigger this behavior:
- Missing or ineffective
VIEW DEFINITIONpermissions for the SQL login. - SQL Server database collation is not Case Insensitive (CI). Case-sensitive or binary collations are not compatible with this metadata reading flow in this context.
- Missing or ineffective
Resolution
Option 1: Permanent Fix (Recommended)
- Confirm
VIEW DEFINITIONis explicitly granted to the SQL user used by 360Suite. - Confirm this permission is applied on all relevant databases involved in the setup.
- Verify the database collation is Case Insensitive (CI), for example
Latin1_General_CI_AS. - If current collation is case-sensitive or binary (for example
SQL_Latin1_General_CP850_BIN2), switch to a CI collation according to your SQL Server change process. - Re-run 360Suite database connection or initialization.
Option 2: Workaround
- If collation change cannot be done immediately, first verify and re-apply
VIEW DEFINITIONfor the target SQL login. - Validate that the same login is effectively used by 360Suite.
- Plan and execute migration to a CI collation as soon as possible.
Validation
After applying the configuration changes:
- Run the 360Suite database connection test again.
- Confirm initialization no longer throws Liquibase metadata
NullPointerException. - Confirm non-admin users can authenticate normally when applicable.
Additional Information
- Recommended prerequisite checklist for SQL Server environments:
- SQL login used by 360Suite has explicit
VIEW_DEFINITIONrights. - Target database collation is Case Insensitive (CI).
- SQL login used by 360Suite has explicit
If the issue persists after these checks, contact support and provide:
- Tomcat or 360Suite logs from a failing attempt.
- SQL user used by 360Suite.
- Current SQL Server or database collation.