There was a SQL exception thrown by the Active Objects library

Sergey Demidov September 28, 2017

Технические детали
Реферальный номер журналов регистрации: 40bc7376-3c62-4853-96df-b91f1b80e528
Причина
Referer URL: http://jira:8080/browse/SPAC-11403
com.atlassian.activeobjects.internal.ActiveObjectsSqlException: There was a SQL exception thrown by the Active Objects library:
Database:

  • name:Microsoft SQL Server
  • version:13.00.4001
  • minor version:0
  • major version:13
    Driver:
  • name:jTDS Type 4 JDBC Driver for MS SQL Server and Sybase
  • version:1.3.1

java.sql.SQLException: Violation of UNIQUE KEY constraint 'U_AO_013613_WL_SCHE1322162621'. Cannot insert duplicate key in object 'dbo.AO_013613_WL_SCHEME_MEMBER'. The duplicate key value is (??????? ?????????).
com.atlassian.activeobjects.internal.ActiveObjectsSqlException: There was a SQL exception thrown by the Active Objects library:
Database:

  • name:Microsoft SQL Server
  • version:13.00.4001

1 answer

1 vote
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 29, 2017

Just a heads up, you're using a MS SQL 2016 database.  Not even the latest version of Jira server technically supports this database yet.  That fact might not be the cause of this problem, but this is something to think about.

With that exception, we know that something in Jira attempted to insert a new record that had the same key as an existing unique record. 

What version of Jira are you using?

What action in Jira were you performing when this error occurred? Creating a new issue? Updating an existing record? etc

Sergey Demidov October 3, 2017

Thank you very much for your help. Now I communicate with the developers Tempo. Let's see what they say.

Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 3, 2017

Ah, I wasn't sure what plugin is using that table 'AO_013613_' prefix.

If other users encounter this kind of problem and want to track down the AO table to a specific plugin vendor, I would recommend that you login to Jira as an admin, then navigate to:

Cog Icon -> System -> Plugin Data Storage

This page in Jira lists all the AO tables of the Jira database, as well as indicating which plugin uses that table and the number of rows.

Suggest an answer

Log in or Sign up to answer