Version : Atlassian Bitbucket v9.6.4
com.atlassian.activeobjects.internal.ActiveObjectsSqlException: There was a SQL exception thrown by the Active Objects library:
Database:
- name:PostgreSQL
- version:16.8 - Percona Distribution
- minor version:8
- major version:16
Driver:
- name:PostgreSQL JDBC Driver
- version:42.7.3
org.postgresql.util.PSQLException: ERROR: null value in column "REPOSITORY_ID" of relation "AO_6978BB_RESTRICTED_REF" violates not-null constraint
Detail: Failing row contains (117, BRANCH, master, pull-request-only, 207, PROJECT, null).
at com.atlassian.activeobjects.internal.EntityManagedActiveObjects.create(EntityManagedActiveObjects.java:104)
at com.atlassian.activeobjects.osgi.ActiveObjectsDelegate.create(ActiveObjectsDelegate.java:246)
at java.base/java.lang.Thread.run(Thread.java:840)
... 283 frames trimmed
Caused by: org.postgresql.util.PSQLException: ERROR: null value in column "REPOSITORY_ID" of relation "AO_6978BB_RESTRICTED_REF" violates not-null constraint
Detail: Failing row contains (117, BRANCH, master, pull-request-only, 207, PROJECT, null).
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2725)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2412)