com.atlassian.activeobjects.internal.ActiveObjectsInitException: Active Objects failed to initalize for bundle com.atlassian.fecru.plugin.commithook.fecru-webhooks-plugin

Atlassian JIRA | Gustavo Refosco [Atlassian] | 1 year ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    h3. Summary FishEye/Crucible sends notification email reporting that the smart commits cannot be performed with the following content: {noformat} FishEye could not execute the smart commit because of an unexpected error: Active Objects failed to initalize for bundle com.atlassian.fecru.plugin.commithook.fecru-webhooks-plugin Please manually perform the required action within Crucible. {noformat} This problem is caused by the web hook related tables not being available in the database. The tables in question are: * {{AO_8219D4_COMMIT_HOOK_CONFIG}} * {{AO_A0B856_WEB_HOOK_LISTENER_AO}} * {{AO_B434B9_WEB_HOOK}} These tables have not been created as part of the migration to an Oracle database. The following sequences are present - notice the latest two being related to these tables - which seems to be preventing the tables from being created: {noformat} SEQUENCE NUMBER INFO -------------------------------------------------------------------------------- Owner: CRUCIBLE Sequence Name: AO_2913F5_COMMENT_ISSUE_ID_SEQ Calculated Last Number: 21 Increment by: 1 Min Value: 1 Max Value: 9999999999999999999999999999 Cycle Flag: NO CYCLE Cache Size: CACHE 20 Order Flag: NO ORDER Owner: CRUCIBLE Sequence Name: AO_38321B_CUSTOM_CO518521787 Calculated Last Number: 21 Increment by: 1 Min Value: 1 Max Value: 9999999999999999999999999999 Cycle Flag: NO CYCLE Cache Size: CACHE 20 Order Flag: NO ORDER Owner: CRUCIBLE Sequence Name: AO_A0B856_WEB_HOOK_625253910 Calculated Last Number: 21 Increment by: 1 Min Value: 1 Max Value: 9999999999999999999999999999 Cycle Flag: NO CYCLE Cache Size: CACHE 20 Order Flag: NO ORDER Owner: CRUCIBLE Sequence Name: AO_B434B9_WEB_HOOK_ID_SEQ Calculated Last Number: 21 Increment by: 1 Min Value: 1 Max Value: 9999999999999999999999999999 Cycle Flag: NO CYCLE Cache Size: CACHE 20 Order Flag: NO ORDER {noformat} h3. Environment * Oracle database. h3. Steps to Reproduce # The problem has not been reproduced yet. The causes mentioned in the summay may be leading to this condition. h3. Expected Results The smart commit feature works as expected, and no error message is reported in the log files. h3. Actual Results The below exception is thrown in the {{atlassian-fisheye-YYYY-MM-DD.log}} file: {noformat} ERROR [CommitNotifier1 ] com.atlassian.fecru.plugin.commithook.internal.DefaultCommitHookManager DefaultCommitHookManager-handleCommit - Error processing commit hook Web Hooks Processor com.atlassian.activeobjects.internal.ActiveObjectsInitException: Active Objects failed to initalize for bundle com.atlassian.fecru.plugin.commithook.fecru-webhooks-plugin at com.atlassian.activeobjects.osgi.ActiveObjectsServiceFactory$5.apply(ActiveObjectsServiceFactory.java:207) ... Caused by: com.atlassian.activeobjects.internal.ActiveObjectsSqlException: There was a SQL exception thrown by the Active Objects library: Database: - name:Oracle ... java.sql.SQLSyntaxErrorException: ORA-00955: name is already used by an existing object at com.atlassian.activeobjects.internal.EntityManagedActiveObjects.migrate(EntityManagedActiveObjects.java:52) Caused by: java.sql.SQLSyntaxErrorException: ORA-00955: name is already used by an existing object {noformat} h3. Notes The smart commit feature does not need to be enabled for this problem to occur. h3. Workaround (!) Always back up your database before performing any modification to the database. If possible, try your modifications on a test server. # Stop FishEye/Crucible # Drop the {{AO_A0B856_WEB_HOOK_625253910}} and {{AO_B434B9_WEB_HOOK_ID_SEQ}} sequences # Start FishEye/Crucible

    Atlassian JIRA | 1 year ago | Gustavo Refosco [Atlassian]
    com.atlassian.activeobjects.internal.ActiveObjectsInitException: Active Objects failed to initalize for bundle com.atlassian.fecru.plugin.commithook.fecru-webhooks-plugin
  2. 0

    Workbox Notification Shows Error Message When Clicked - Atlassian Documentation

    atlassian.com | 10 months ago
    com.atlassian.activeobjects.internal.ActiveObjectsInitException: Active Objects failed to initalize for bundle com.atlassian.mywork.confluence-host-plugin

    Root Cause Analysis

    1. com.atlassian.activeobjects.internal.ActiveObjectsInitException

      Active Objects failed to initalize for bundle com.atlassian.fecru.plugin.commithook.fecru-webhooks-plugin

      at com.atlassian.activeobjects.osgi.ActiveObjectsServiceFactory$5.apply()
    2. com.atlassian.activeobjects
      ActiveObjectsServiceFactory$5.apply
      1. com.atlassian.activeobjects.osgi.ActiveObjectsServiceFactory$5.apply(ActiveObjectsServiceFactory.java:207)
      1 frame