cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-6999) Undocumented IllegalArgumentException thrown on getAcceptableLanguages
Date Mon, 08 Aug 2016 20:22:21 GMT

    [ https://issues.apache.org/jira/browse/CXF-6999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15412393#comment-15412393
] 

Sergey Beryozkin commented on CXF-6999:
---------------------------------------

Hi, it may have been required by TCK. Can you please investigate how Jersey reacts in such
cases ?
thanks 

> Undocumented IllegalArgumentException thrown on getAcceptableLanguages
> ----------------------------------------------------------------------
>
>                 Key: CXF-6999
>                 URL: https://issues.apache.org/jira/browse/CXF-6999
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 3.1.0
>            Reporter: Neeraj Krishna
>            Priority: Minor
>
> The following exception stack trace is observed when an user provides incorrect language
header and getAcceptableLanguages is invoked in the implementation of ExceptionMapper
> err] java.lang.IllegalArgumentException: Illegal locale value : zh-Hans-VN
> 2016-08-02T09:48:39.691+0530
> [App/2]
> err
> [err] at org.apache.cxf.jaxrs.utils.HttpUtils.getLocale(HttpUtils.java:281)
> 2016-08-02T09:48:39.692+0530
> [App/2]
> err
> [err] at org.apache.cxf.jaxrs.utils.ExceptionUtils.convertFaultToResponse(ExceptionUtils.java:86)
> 2016-08-02T09:48:39.692+0530
> [App/2]
> err
> [err] at org.apache.cxf.jaxrs.impl.tl.ThreadLocalHttpHeaders.getAcceptableLanguages(ThreadLocalHttpHeaders.java:57)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message