There was a SQL exception thrown by the Active Objects library

Технические детали
Реферальный номер журналов регистрации: 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

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

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

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
Community showcase
Posted Oct 16, 2018 in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

1,416 views 17 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you