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] [Resolved] (CXF-6918) Print the XMLInputFactory implementation class when throwing "Cannot create a secure XMLInputFactory"
Date Wed, 08 Jun 2016 11:05:21 GMT

     [ https://issues.apache.org/jira/browse/CXF-6918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sergey Beryozkin resolved CXF-6918.
-----------------------------------
       Resolution: Fixed
         Assignee: Sergey Beryozkin
    Fix Version/s: 3.2.0
                   3.1.7
                   3.0.10

Thanks for the patch

> Print the XMLInputFactory implementation class when throwing "Cannot create a secure
XMLInputFactory"
> -----------------------------------------------------------------------------------------------------
>
>                 Key: CXF-6918
>                 URL: https://issues.apache.org/jira/browse/CXF-6918
>             Project: CXF
>          Issue Type: Improvement
>    Affects Versions: 3.2.0
>            Reporter: Svetlin Zarev
>            Assignee: Sergey Beryozkin
>            Priority: Minor
>             Fix For: 3.0.10, 3.1.7, 3.2.0
>
>         Attachments: Do_not_swallow_exceptions___log_them_instead___.patch
>
>
> CXF tries to set some Woodstox specific properties and if it fails throws a runtime exception
with message "Cannot create a secure XMLInputFactory". It would be very helpful to know the
XMLInputFactory implementation class. This can be achieved in two ways:
> * add the class name to the exception message
> * log the class name before throwing the exception
> https://github.com/apache/cxf/blob/master/core/src/main/java/org/apache/cxf/staxutils/StaxUtils.java#L323



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

Mime
View raw message