[jbossws-issues] [JBoss JIRA] (JBWS-3395) Avoid CXFInstanceProvider thowing NPE when the endpoint ServiceBean is not available

Alessio Soldano (Updated) (JIRA) jira-events at lists.jboss.org
Mon Jan 2 09:57:09 EST 2012


     [ https://issues.jboss.org/browse/JBWS-3395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alessio Soldano updated JBWS-3395:
----------------------------------

        Component/s: jbossws-cxf
                     jbossws-integration
    Forum Reference: http://community.jboss.org/message/640779#640779  (was: http://community.jboss.org/message/640779#640779)

    
> Avoid CXFInstanceProvider thowing NPE when the endpoint ServiceBean is not available
> ------------------------------------------------------------------------------------
>
>                 Key: JBWS-3395
>                 URL: https://issues.jboss.org/browse/JBWS-3395
>             Project: JBoss Web Services
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-cxf, jbossws-integration
>    Affects Versions: jbossws-cxf-4.0.0.CR1
>            Reporter: Alessio Soldano
>             Fix For: jbossws-cxf-4.0.1
>
>
> CXFInstanceProvider throws NPE at line 57 when getServiceBean returns null. That's possible when the user does not provide any endpoint in the jbossws-cxf descriptor. While that's a user mistake, the exception here hides any meaningful message that might be written later on that. So either improve the error here or figure out if it's possible to have the injection simply be skipped here (probably still not a good idea)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbossws-issues mailing list