[ https://issues.apache.org/jira/browse/CXF-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean O'Callaghan closed CXF-2022. --------------------------------- Resolution: Fixed > NPE being thrown from JAXBEncoderDecoder > ---------------------------------------- > > Key: CXF-2022 > URL: https://issues.apache.org/jira/browse/CXF-2022 > Project: CXF > Issue Type: Bug > Reporter: Sean O'Callaghan > Assignee: Sean O'Callaghan > Attachments: CXF-bug-2022.zip > > > SchemaInfo sch is being accessed without a check if it is null, hence NPE: > SchemaInfo sch = > part.getMessageInfo().getOperation().getInterface() > .getService().getSchema(namespace); > if (!sch.isElementFormQualified()) { // <== NPE > namespace = null; > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.