Jira server throws 500 Error when viewing Versions page

Platform Notice: Cloud and Data Center - This article applies equally to both cloud and data center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Problem

When clicking on a specific version to navigate to the overview of the version, you will run into the following error

(Auto-migrated image: description temporarily unavailable)

The following stack trace is thrown in the UI

1 2 3 4 5 6 7 8 Referer URL: http://localhost:6422/jira/browse/EBS_DDS_SC-200?filter=17450&jql=project%20%3D%20%22PPM00009200%20DDS%20Showcase%20Germany%22%20and%20fixversion%20is%20not%20empty com.google.template.soy.tofu.SoyTofuException: In template JIRA.Projects.Templates.page: In 'print' tag, expression "$sidebarContent" evaluates to undefined. com.google.template.soy.tofu.SoyTofuException: In template JIRA.Projects.Templates.page: In 'print' tag, expression "$sidebarContent" evaluates to undefined. at com.google.template.soy.tofu.internal.BaseTofu.renderMainHelper(BaseTofu.java:341) at com.google.template.soy.tofu.internal.BaseTofu.renderMain(BaseTofu.java:300) at com.google.template.soy.tofu.internal.BaseTofu.access$100(BaseTofu.java:56) at com.google.template.soy.tofu.internal.BaseTofu$RendererImpl.render(BaseTofu.java:427) at com.atlassian.soy.impl.DefaultSoyManager.render(DefaultSoyManager.java:118)

The following stack trace is found in the atlassian-jira.log

1 2 3 4 5 6 7 8 9 10 11 2015-06-12 18:04:47,841 http-bio-6422-exec-23 WARN anonymous 1084x363x1 1p7rsnm 127.0.0.1 /projects/EBS_DDS_SC/versions/16291 [com.atlassian.ozymandias.SafePluginPointAccess] Unable to run plugin code because of 'com.atlassian.activeobjects.internal.ActiveObjectsSqlException - There was a SQL exception thrown by the Active Objects library: Database: - name:PostgreSQL - version:9.3.7 - minor version:3 - major version:9 Driver: - name:PostgreSQL Native Driver - version:PostgreSQL 9.0 JDBC4 (build 801) org.postgresql.util.PSQLException: ERROR: relation "public.AO_E8B6CC_ORGANIZATION_MAPPING" does not exist Position: 197'.

Cause

The AO_E8B6CC_ORGANIZATION_MAPPING table is from the JIRA DVCS Connector Plugin. Somehow this table is missing from the database causing the problem

Resolution

The table has to be re-created. Disabling/re-enabling the add-on will recreate the table

  1. Browse to *Administration > Add-ons > Manage add-ons*.

  2. Change 'User Installed' to 'All add-ons'.

  3. Filter by DVCS. This will display in the 'System add-ons' page.

  4. Disable the add-on.

  5. Re-enable it.

  6. Verify if the versions functionality is working

If this doesn't work, restart your JIRA instance

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.