Error rendering 'com.atlassian.jira.jira-view-issue-plugin:linkingmodule'.

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server 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

Symptoms

  • Viewing particular issues shows the following error:

Error rendering 'com.atlassian.jira.jira-view-issue-plugin:linkingmodule'. Please contact your JIRA administrators.

  • Dashboard may show the following error for some gadgets:

    An error occurred whilst rendering this message. Please contact the administrators, and inform them of this bug. Details: ------- org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getHtml' in class com.atlassian.jira.issue.fields.layout.column.ColumnLayoutItemImpl threw exception java.lang.NullPointerException at templates/jira/issue/table/macros.vm[line 117, column 34] a

Diagnosis

Run the following queries in JIRA's database - if anything is returning, please continue to the "Workaround" section. This could happen when issues are not properly migrated to a new issuelinktype and the older issuelinktype is not properly deleted.

select distinct linktype from issuelink where linktype not in (select id from issuelinktype)

Workaround

  1. (warning) Backup JIRA!
  2. Stop JIRA.
  3. Run the following SQL statements in JIRA's database:

    delete from issuelink where linktype = '<linktype found from the above query>'
  4. Restart JIRA.

After that you should no longer see problems viewing those issues.

Cause

JRASERVER-68683 - Delete Issue Link causes Error rendering 'com.atlassian.jira.jira-view-issue-plugin:linkingmodule' and some Dashboard gadgets



 

Last modified on Mar 7, 2025

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.