An exception occured while rendering the web panel

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

An exception occured while rendering the web panel: com.atlassian.jira.jira-view-issue-plugin:attachmentmodule (null)
java.lang.IllegalArgumentException: invalid extra field length
at java.util.zip.ZipEntry.setExtra(ZipEntry.java:243)

Cause

From the logs, we found this following stack trace error :

2015-03-12 01:48:21,335 http-bio-8180-exec-6741 ERROR gannasr 108x4302739x1 ywyb22 134.37.74.122,10.47.102.245 /browse/ARGO-69595 [jira.web.component.ModuleWebComponentImpl] An exception occured while rendering the web panel: com.atlassian.jira.jira-view-issue-plugin:attachmentmodule (null)
java.lang.IllegalArgumentException: invalid extra field length
	at java.util.zip.ZipEntry.setExtra(ZipEntry.java:243)

Troubleshooting Steps

  1. Ask the user to provide the following SQL result

    select * from fileattachment where issueid = (select id from jiraissue where pkey = 'ARGO-69595');

    (info) Replace "ARGO-69595" with the issue key which is stated in the error from the stack trace.

     

  2. After looking at the sql result, we noticed that the fileattachment table contained NULL variable in ZIP column.



 

Resolution

  1. Backup JIRA
  2. Stop JIRA
  3. Run the following SQL command on the database

    update fileattachment set zip = '1' where ID in ('162115');

    or

    update fileattachment set zip = '1' where ID in ('162,115');
  4. Start JIRA
Last modified on Feb 26, 2016

Was this helpful?

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