Error rendering 'com.atlassian.jira.jira-view-issue-plugin:linkingmodule'.
Platform Notice: Data Center Only - This article only applies to Atlassian apps on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. 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
⚠️ Backup JIRA!
Stop JIRA.
Run the following SQL statements in JIRA's database:
delete from issuelink where linktype = '<linktype found from the above query>'Restart JIRA.
After that you should no longer see problems viewing those issues.
Cause
Was this helpful?