Mantis - Resin
Viewing Issue Advanced Details
1823 major always 06-25-07 03:13 07-26-07 17:17
jkriesten  
ferg  
normal  
closed 3.1.1  
fixed  
none    
none 3.1.3  
0001823: createXMLStreamReader throws NullPointerException on charsetName
trying to use caucho's createXMLStreamReader with cxf (http://incubator.apache.org/cxf/) [^] results in a npe on charsetName (see additional information).

changing to another implementation

    <system-property javax.xml.stream.XMLInputFactory="com.ctc.wstx.stax.WstxInputFactory" />
    <system-property javax.xml.stream.XMLOutputFactory="com.ctc.wstx.stax.WstxOutputFactory" />
    <system-property javax.xml.stream.XMLEventFactory="com.ctc.wstx.stax.WstxEventFactory" />

solves it.

[11:51:40.963] Creating Service {http://silberlicht.de/ConfigService}IConfigServiceService [^] from class de.silberlicht.services.config
.IConfigService
[11:51:41.427] Interceptor has thrown exception, unwinding now
[11:51:41.427] java.lang.NullPointerException: charsetName
[11:51:41.427] at java.io.InputStreamReader.<init>(InputStreamReader.java:82)
[11:51:41.427] at com.caucho.xml.stream.XMLInputFactoryImpl.createXMLStreamReader(XMLInputFactoryImpl.java:149)
[11:51:41.427] at org.apache.cxf.interceptor.StaxInInterceptor.handleMessage(StaxInInterceptor.java:67)

Notes
(0002150)
ferg   
07-26-07 17:17   
xml/300x