Hi,

I've found a case where a NPE is thrown in
JAXBEncoderDecoder.findExtraNamespaces(). I've attached a sample project
that shows the problem.

The following request passes:
<Envelope xmlns="http://www.w3.org/2003/05/soap-envelope";
    xmlns:val="http://cxf.apache.org/jaxws/schemavalidation"; >
    <Body>
        <val:ckRequest>
            <val:request id="aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" />
        </val:ckRequest>
    </Body>
</Envelope>

But this requests causes an NPE:
<Envelope xmlns="http://www.w3.org/2003/05/soap-envelope";>
    <Body>
        <val:ckRequest
xmlns:val="http://cxf.apache.org/jaxws/schemavalidation";>
            <val:request id="aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" />
        </val:ckRequest>
    </Body>
</Envelope>

Shall I create a JIRA issue?

Regards
Andi http://cxf.547215.n5.nabble.com/file/n5550405/cxf-problem.zip
cxf-problem.zip 

--
View this message in context: 
http://cxf.547215.n5.nabble.com/NPE-in-JAXBEncoderDecoder-findExtraNamespaces-tp5550405p5550405.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to