You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Thomas Diesler (JIRA)" <ji...@apache.org> on 2007/12/05 14:53:43 UTC

[jira] Updated: (CXF-1259) NPE when SEI methods throws RemoteException

     [ https://issues.apache.org/jira/browse/CXF-1259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Diesler updated CXF-1259:
--------------------------------

          Description: 
[tdiesler@tddell trunk]$ ant -Dtest=jaxws/samples/webservice test

tests-run-internal:
    [junit] Running org.jboss.test.ws.jaxws.samples.webservice.WebServiceJSETestCase
    [junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 10.317 sec
    [junit] Test org.jboss.test.ws.jaxws.samples.webservice.WebServiceJSETestCase FAILED

java.lang.NullPointerException
        at org.apache.cxf.helpers.ServiceUtils.makeServiceNameFromClassName(ServiceUtils.java:42)
        at org.apache.cxf.service.factory.DefaultServiceConfiguration.getFaultName(DefaultServiceConfiguration.java:63)
        at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.getFaultName(ReflectionServiceFactoryBean.java:1343)
        at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.setFaultClassInfo(JaxWsServiceFactoryBean.java:270)
        at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.initializeClassInfo(JaxWsServiceFactoryBean.java:364)
        at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.initializeWSDLOperation(JaxWsServiceFactoryBean.java:170)
        at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeWSDLOperations(ReflectionServiceFactoryBean.java:389)
        at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.initializeWSDLOperations(JaxWsServiceFactoryBean.java:179)
        at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromWSDL(ReflectionServiceFactoryBean.java:263)
        at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:331)
        at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:151)
        at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:93)
        at org.apache.cxf.jaxws.ServiceImpl.createPort(ServiceImpl.java:333)
        at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:245)
        at javax.xml.ws.Service.getPort(Service.java:120)

@WebService(name = "EndpointInterface", targetNamespace = "http://www.openuri.org/2004/04/HelloWorld")
@SOAPBinding(style = Style.RPC)
public interface EndpointInterface extends Remote
{
   String echo(String input) throws RemoteException;
}

    Affects Version/s: 2.0.3

> NPE when SEI methods throws RemoteException
> -------------------------------------------
>
>                 Key: CXF-1259
>                 URL: https://issues.apache.org/jira/browse/CXF-1259
>             Project: CXF
>          Issue Type: Sub-task
>    Affects Versions: 2.0.3
>            Reporter: Thomas Diesler
>
> [tdiesler@tddell trunk]$ ant -Dtest=jaxws/samples/webservice test
> tests-run-internal:
>     [junit] Running org.jboss.test.ws.jaxws.samples.webservice.WebServiceJSETestCase
>     [junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 10.317 sec
>     [junit] Test org.jboss.test.ws.jaxws.samples.webservice.WebServiceJSETestCase FAILED
> java.lang.NullPointerException
>         at org.apache.cxf.helpers.ServiceUtils.makeServiceNameFromClassName(ServiceUtils.java:42)
>         at org.apache.cxf.service.factory.DefaultServiceConfiguration.getFaultName(DefaultServiceConfiguration.java:63)
>         at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.getFaultName(ReflectionServiceFactoryBean.java:1343)
>         at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.setFaultClassInfo(JaxWsServiceFactoryBean.java:270)
>         at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.initializeClassInfo(JaxWsServiceFactoryBean.java:364)
>         at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.initializeWSDLOperation(JaxWsServiceFactoryBean.java:170)
>         at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeWSDLOperations(ReflectionServiceFactoryBean.java:389)
>         at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.initializeWSDLOperations(JaxWsServiceFactoryBean.java:179)
>         at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromWSDL(ReflectionServiceFactoryBean.java:263)
>         at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:331)
>         at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:151)
>         at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:93)
>         at org.apache.cxf.jaxws.ServiceImpl.createPort(ServiceImpl.java:333)
>         at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:245)
>         at javax.xml.ws.Service.getPort(Service.java:120)
> @WebService(name = "EndpointInterface", targetNamespace = "http://www.openuri.org/2004/04/HelloWorld")
> @SOAPBinding(style = Style.RPC)
> public interface EndpointInterface extends Remote
> {
>    String echo(String input) throws RemoteException;
> }

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