cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick McGuire (JIRA)" <>
Subject [jira] Updated: (CXF-646) NPE in JaxWsServiceConfiguration.getOutParameterName()
Date Fri, 11 May 2007 15:37:15 GMT


Rick McGuire updated CXF-646:

    Attachment: serviceimpl.patch

This should be double checked to determine if this property can be set unconditionally. 

> NPE in JaxWsServiceConfiguration.getOutParameterName()
> ------------------------------------------------------
>                 Key: CXF-646
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 2.0
>            Reporter: Rick McGuire
>         Attachments: serviceimpl.patch
> I'm seeing some NPEs in JaxWsServiceConfiguration.getOutParameterName().  The NPE occur
because the OperationInfo argument passed to the method is null.  I've been able to trace
the source of the null back to line 332 in JaxWsServiceFactoryBean.  The getUnwrappedOperation()
call is returning null.  It appears this is happening because the setPopulateFromClass() attribute
is not getting set, which prevents the unwrappered information from getting created.  I've
got a patch to ServiceImpl that fixes the NPEs I'm seeing, but I'm not certain if setting
of that property needs to be conditional or not. 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message