Fails to Attach ZIP File using Mozilla Firefox

症状

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

原因

Antivirus is blocking ZIP files to be attached.

ソリューション

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

最終更新日 2016 年 3 月 30 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.