You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Rick McGuire (JIRA)" <ji...@apache.org> on 2007/05/11 17:35:15 UTC

[jira] Created: (CXF-646) NPE in JaxWsServiceConfiguration.getOutParameterName()

NPE in JaxWsServiceConfiguration.getOutParameterName()
------------------------------------------------------

                 Key: CXF-646
                 URL: https://issues.apache.org/jira/browse/CXF-646
             Project: CXF
          Issue Type: Bug
          Components: JAX-WS Runtime
    Affects Versions: 2.0
            Reporter: Rick McGuire


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.


[jira] Updated: (CXF-646) NPE in JaxWsServiceConfiguration.getOutParameterName()

Posted by "Rick McGuire (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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: https://issues.apache.org/jira/browse/CXF-646
>             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.


[jira] Commented: (CXF-646) NPE in JaxWsServiceConfiguration.getOutParameterName()

Posted by "maomaode (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495451 ] 

maomaode commented on CXF-646:
------------------------------

Can you pass the unit test in the fr/frontend/jaxws, 

Unfortunately, i can not after i applied your patch.


> NPE in JaxWsServiceConfiguration.getOutParameterName()
> ------------------------------------------------------
>
>                 Key: CXF-646
>                 URL: https://issues.apache.org/jira/browse/CXF-646
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 2.0
>            Reporter: Rick McGuire
>         Assigned To: maomaode
>         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.


[jira] Resolved: (CXF-646) NPE in JaxWsServiceConfiguration.getOutParameterName()

Posted by "maomaode (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

maomaode resolved CXF-646.
--------------------------

    Resolution: Invalid

> NPE in JaxWsServiceConfiguration.getOutParameterName()
> ------------------------------------------------------
>
>                 Key: CXF-646
>                 URL: https://issues.apache.org/jira/browse/CXF-646
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 2.0
>            Reporter: Rick McGuire
>         Assigned To: maomaode
>         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.


[jira] Commented: (CXF-646) NPE in JaxWsServiceConfiguration.getOutParameterName()

Posted by "maomaode (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495452 ] 

maomaode commented on CXF-646:
------------------------------

As far as i know the setPopulateFromClass method is added for java2wsdl tools. i didn't realize that the runtime also need to add this.
Probably, your testcase require build service from class, but in your SEI or Impl class contains the wsdlLocation, and the builder then build from wsdl, that could be the reason. 

But ideally, buildFromWSDL and buildFromClass should generate the same result. we do have an issue previously, and it has not been resolved.


> NPE in JaxWsServiceConfiguration.getOutParameterName()
> ------------------------------------------------------
>
>                 Key: CXF-646
>                 URL: https://issues.apache.org/jira/browse/CXF-646
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 2.0
>            Reporter: Rick McGuire
>         Assigned To: maomaode
>         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.


[jira] Assigned: (CXF-646) NPE in JaxWsServiceConfiguration.getOutParameterName()

Posted by "maomaode (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

maomaode reassigned CXF-646:
----------------------------

    Assignee: maomaode

> NPE in JaxWsServiceConfiguration.getOutParameterName()
> ------------------------------------------------------
>
>                 Key: CXF-646
>                 URL: https://issues.apache.org/jira/browse/CXF-646
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 2.0
>            Reporter: Rick McGuire
>         Assigned To: maomaode
>         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.