Fails to Attach ZIP File using Mozilla Firefox

Symptoms

Trying to attach ZIP file using Mozilla Firefox failed, other browsers seems to be able to attach ZIP file properly without any issue.

The following appears in the atlassian-jira.log:

 
Caused by: java.lang.IllegalArgumentException: Error parsing media type '"application/x-zip"'
	at com.sun.jersey.core.impl.provider.header.MediaTypeProvider.fromString(MediaTypeProvider.java:79)
	at com.sun.jersey.core.impl.provider.header.MediaTypeProvider.fromString(MediaTypeProvider.java:53)
	at javax.ws.rs.core.MediaType.valueOf(MediaType.java:119)
	at com.sun.jersey.server.impl.model.HttpHelper.getContentType(HttpHelper.java:89)
	... 136 more
	at com.sun.jersey.core.header.reader.HttpHeaderReader.nextToken(HttpHeaderReader.java:98)
	at com.sun.jersey.core.impl.provider.header.MediaTypeProvider.valueOf(MediaTypeProvider.java:89)
	at com.sun.jersey.core.impl.provider.header.MediaTypeProvider.fromString(MediaTypeProvider.java:77)
	... 139 more

Cause

Antivirus is blocking ZIP files to be attached.

Resolution

Disable antivirus on the client computer and server that is hosting JIRA.

Last modified on Mar 30, 2016

Was this helpful?

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