cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neeraj Krishna (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-6999) Undocumented IllegalArgumentException thrown on getAcceptableLanguages
Date Mon, 08 Aug 2016 01:46:20 GMT
Neeraj Krishna created CXF-6999:
-----------------------------------

             Summary: 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