com.atlassian.core.exception.InfrastructureException

com.atlassian.user.impl.RepositoryException: org.springframework.jdbc.BadSqlGrammarException: Hibernate operation: could not insert: [com.atlassian.confluence.security.SpacePermission#65544]; bad SQL grammar []; nested exception is java.sql.SQLException: [Microsoft][ODBC SQL Server Driver][SQL Server]Operation failed. The index entry of length 1020 bytes for the index 'sp_comp_idx' exceeds the maximum length of 900 bytes.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web18

  • via Atlassian JIRA by Roy Hartono [Atlassian], 1 year ago
    java.sql.SQLException: [Microsoft][ODBC SQL Server Driver][SQL Server]Operation failed. The index entry of length 1020 bytes for the index 'sp_comp_idx' exceeds the maximum length of 900 bytes.
  • via Atlassian JIRA by Roy Hartono [Atlassian], 11 months ago
    java.sql.SQLException: [Microsoft][ODBC SQL Server Driver][SQL Server]Operation failed. The index entry of length 1020 bytes for the index 'sp_comp_idx' exceeds the maximum length of 900 bytes.
  • via Atlassian JIRA by Justus Pendleton [Atlassian], 11 months ago
    The plugin directory is not configured properly
  • Stack trace

    • com.atlassian.core.exception.InfrastructureException: com.atlassian.user.impl.RepositoryException: org.springframework.jdbc.BadSqlGrammarException: Hibernate operation: could not insert: [com.atlassian.confluence.security.SpacePermission#65544]; bad SQL grammar []; nested exception is java.sql.SQLException: [Microsoft][ODBC SQL Server Driver][SQL Server]Operation failed. The index entry of length 1020 bytes for the index 'sp_comp_idx' exceeds the maximum length of 900 bytes. at bucket.user.DefaultUserAccessor.addUser(DefaultUserAccessor.java:102)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.