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

Hello

We have an issue with attached files and after selecting this issue, we have the error message given in the title of this question.

I googled it and I saw Jira Issue JRA-29357 that is Unresolved and Unassigned.

I've exported the files from data directory to my computer and I can already open the files.

The "thumbs" sub-directory is empty. I tried to erase it and renew the page then I got the same error message and the sub-directory is recreated and is empty again.

Does anyone have a solution ?

2 answers

1 accepted

This widget could not be displayed.
Henning Tietgens Community Champion Apr 24, 2013

You can use the manage attachments link to delete the attachments (after downloading, if you don't have them already).

After all attachments are removed the display should be back to normal. Now you can upload the attachments one by one to identify the attachment where the error occurs. Now you should rename this attachment, so that JIRA doesn't try to display it (something like .rename_me at the end should work).

Henning

Thanks for your answer.

In fact, I tried to delete the uploads one by one and recharge the page after each delete and it works. I could preserve 12 files.

The strange thing is that the crashed files can be read on my computer. I've tried to upload them again and it failed.
I've noticed that the author of the issue have tried to upload the crashed files several times. Could it be the cause of the problem ?

Henning Tietgens Community Champion May 12, 2013

IMO the Java code used to display the attachment has a problem with the attachment. Details should be visible in the log file.

I've found thi error in catalina.out :

2013-05-13 12:28:28,064 ajp-bio-8009-exec-1578 ERROR chuette 748x86063x1 1v32s19 90.7.222.63 /plugins/servlet/streams [atlassian.streams.api.StreamsEntry] An unknown error occurred while rendering a Streams entry
java.lang.IllegalArgumentException: Numbers of source Raster bands and source color space components do not match
at java.awt.image.ColorConvertOp.filter(Unknown Source)
at com.sun.imageio.plugins.jpeg.JPEGImageReader.acceptPixels(Unknown Source)
at com.sun.imageio.plugins.jpeg.JPEGImageReader.readImage(Native Method)
at com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(Unknown Source)
at com.sun.imageio.plugins.jpeg.JPEGImageReader.read(Unknown Source)

It seems that it concerns JPEGImageReader but I don't understand what it means exactly.
Can it be caused by a bad JPEG format in entry ?

Henning Tietgens Community Champion May 12, 2013

Yes, seems to be a malformed jpeg file (or a bug in the jpeg reading method). In http://stackoverflow.com/questions/10416378/imageio-read-illegal-argument-exception-raster-bands-colour-space-components it's most of the time a greyscale jpeg with wrong color profile. But details are beyond my knowledge :-)

OK thank you.
The author of the issue have uploaded her files in pdf and it works.
Problem solved for me.

This widget could not be displayed.

Thanks for your answer.

In fact, I tried to delete the uploads one by one and recharge the page after each delete and it works. I could preserve 12 files.

The strange thing is that the crashed files can be read on my computer. I've tried to upload them again and it failed.
I've noticed that the author of the issue have tried to upload the crashed files several times. Could it be the cause of the problem ?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

216 views 1 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you