cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean O'Callaghan (JIRA)" <j...@apache.org>
Subject [jira] Closed: (CXF-2022) NPE being thrown from JAXBEncoderDecoder
Date Thu, 05 Feb 2009 11:23:59 GMT

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


Mime
View raw message