You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Freeman Yue Fang (Jira)" <ji...@apache.org> on 2025/02/04 17:01:00 UTC

[jira] [Updated] (CAMEL-21714) camel-cxf: CachedCxfPayload needs to LOG the parsing XMLStreamReader exception

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

Freeman Yue Fang updated CAMEL-21714:
-------------------------------------
    Affects Version/s: 4.9.0
                       4.8.3

> camel-cxf: CachedCxfPayload needs to LOG the parsing XMLStreamReader exception
> ------------------------------------------------------------------------------
>
>                 Key: CAMEL-21714
>                 URL: https://issues.apache.org/jira/browse/CAMEL-21714
>             Project: Camel
>          Issue Type: Improvement
>          Components: came-cxf
>    Affects Versions: 4.8.3, 4.9.0
>            Reporter: Freeman Yue Fang
>            Assignee: Freeman Yue Fang
>            Priority: Minor
>
> For example the exception like 
> {code}
> javax.xml.stream.XMLStreamException: Maximum attribute size limit (65536) exceeded
> 	at com.ctc.wstx.sr.StreamScanner.constructLimitViolation(StreamScanner.java:2489) ~[woodstox-core-6.6.2.jar:6.6.2]
> 	at com.ctc.wstx.sr.StreamScanner.verifyLimit(StreamScanner.java:2482) ~[woodstox-core-6.6.2.jar:6.6.2]
> 	at com.ctc.wstx.sr.BasicStreamReader._checkAttributeLimit(BasicStreamReader.java:2058) ~[woodstox-core-6.6.2.jar:6.6.2]
> 	at com.ctc.wstx.sr.BasicStreamReader.parseAttrValue(BasicStreamReader.java:2038) ~[woodstox-core-6.6.2.jar:6.6.2]
> 	at com.ctc.wstx.sr.BasicStreamReader.handleNsAttrs(BasicStreamReader.java:3153) ~[woodstox-core-6.6.2.jar:6.6.2]
> 	at com.ctc.wstx.sr.BasicStreamReader.handleStartElem(BasicStreamReader.java:3050) ~[woodstox-core-6.6.2.jar:6.6.2]
> 	at com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2928) ~[woodstox-core-6.6.2.jar:6.6.2]
> 	at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1122) ~[woodstox-core-6.6.2.jar:6.6.2]
> 	at org.apache.cxf.staxutils.DepthXMLStreamReader.next(DepthXMLStreamReader.java:219) ~[cxf-core-4.0.6.jar:4.0.6]
> 	at org.apache.cxf.staxutils.DepthXMLStreamReader.next(DepthXMLStreamReader.java:219) ~[cxf-core-4.0.6.jar:4.0.6]
> 	at org.apache.cxf.staxutils.FragmentStreamReader.next(FragmentStreamReader.java:101) ~[cxf-core-4.0.6.jar:4.0.6]
> 	at org.apache.camel.component.cxf.converter.DelegatingXMLStreamReader.next(DelegatingXMLStreamReader.java:54) ~[camel-cxf-common-4.8.3.jar:4.8.3]
> 	at org.apache.cxf.staxutils.StaxUtils.copy(StaxUtils.java:776) ~[cxf-core-4.0.6.jar:4.0.6]
> 	at org.apache.cxf.staxutils.StaxUtils.copy(StaxUtils.java:707) ~[cxf-core-4.0.6.jar:4.0.6]
> 	at org.apache.cxf.staxutils.StaxUtils.copy(StaxUtils.java:663) ~[cxf-core-4.0.6.jar:4.0.6]
> {code}
> is caught but ignored without a DEBUG level log, which wasn't this case in CAMEL 2.x



--
This message was sent by Atlassian Jira
(v8.20.10#820010)