You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sean O'Callaghan (JIRA)" <ji...@apache.org> on 2009/02/05 12:23:59 UTC

[jira] Closed: (CXF-2022) NPE being thrown from JAXBEncoderDecoder

     [ 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.