-
Bug
-
Resolution: Unresolved
-
Medium
-
6.0.2, 7.3.8, 7.13.1, 8.2.1, 8.5.1, 8.15.0
-
6
-
78
-
Severity 3 - Minor
-
3
-
NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.
If using Spanish - Latin America (es-419) as preferred language in Google Chrome browser, some functionalities in JIRA can cause a 500 Internal Server Error, as the following:
2013-06-12 09:33:46,648 http-bio-9060-exec-11 ERROR admin 573x398x1 15465ge 127.0.0.1 /rest/project-templates/1.0/templates [jersey.spi.container.ContainerResponse] Mapped exception to response: 500 (Internal Server Error) javax.ws.rs.WebApplicationException: java.text.ParseException: String, es-419, is not a valid language tag at com.sun.jersey.server.impl.model.HttpHelper.clientError(HttpHelper.java:265) at com.sun.jersey.server.impl.model.HttpHelper.getAcceptLanguage(HttpHelper.java:222) at com.sun.jersey.server.impl.VariantSelector.selectVariant(VariantSelector.java:290) at com.sun.jersey.spi.container.ContainerRequest.selectVariant(ContainerRequest.java:679) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) <+2> (NativeMethodAccessorImpl.java:39) (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) <+1> (WebApplicationImpl.java:287) at com.sun.proxy.$Proxy1948.selectVariant(Unknown Source) <+3> (Status.java:347) (SecurityExceptionMapper.java:23) (SecurityExceptionMapper.java:15) at com.sun.jersey.spi.container.ContainerResponse.mapException(ContainerResponse.java:452) <+5> (WebApplicationImpl.java:1406) (WebApplicationImpl.java:1349) (WebApplicationImpl.java:1339) (WebComponent.java:416) (ServletContainer.java:537) ... Caused by: java.text.ParseException: String, es-419, is not a valid language tag at com.sun.jersey.core.header.LanguageTag.parse(LanguageTag.java:122) at com.sun.jersey.core.header.AcceptableLanguageTag.<init>(AcceptableLanguageTag.java:69) at com.sun.jersey.core.header.reader.HttpHeaderReader$8.create(HttpHeaderReader.java:418) at com.sun.jersey.core.header.reader.HttpHeaderReader$8.create(HttpHeaderReader.java:416) at com.sun.jersey.core.header.reader.HttpHeaderReader.readList(HttpHeaderReader.java:465) at com.sun.jersey.core.header.reader.HttpHeaderReader.readAcceptableList(HttpHeaderReader.java:436) at com.sun.jersey.core.header.reader.HttpHeaderReader.readAcceptLanguage(HttpHeaderReader.java:423) <+1> (HttpHelper.java:220)
We have a KB suggesting a workaround for this:
https://confluence.atlassian.com/kb/500-internal-server-error-due-to-parseexception-es-419-is-not-a-valid-language-tag-369295958.html
- is related to
-
CONFSERVER-29922 Incompatibility with Spanish Latin America Language in Chrome shows as 500 Internal Server Error
- Closed
-
BAM-21478 Adding Spanish (Latin America) to chrome causes 500 exception
- Closed
- relates to
-
JRACLOUD-33686 Incompatibility with Spanish Latin America language in Chrome
- Closed
-
CONFSERVER-33151 Jersey language tag parsing exception
- Gathering Impact
- has a derivative of
-
JDEV-29496 Loading...
- is blocked by
-
REST-250 Loading...
- is cloned from
-
JRADEV-22491 Loading...