You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Andriy Redko (Jira)" <ji...@apache.org> on 2022/11/25 13:49:00 UTC

[jira] [Created] (CXF-8798) UDPDestination throws NPE at some conditions

Andriy Redko created CXF-8798:
---------------------------------

             Summary: UDPDestination throws NPE at some conditions
                 Key: CXF-8798
                 URL: https://issues.apache.org/jira/browse/CXF-8798
             Project: CXF
          Issue Type: Bug
            Reporter: Andriy Redko


{noformat}
javax.xml.ws.WebServiceException: java.lang.NullPointerException
      at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:373)
      at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:255)
      at org.apache.cxf.ws.discovery.internal.WSDiscoveryServiceImpl.startup(WSDiscoveryServiceImpl.java:258)
      at org.apache.cxf.ws.discovery.internal.WSDiscoveryServiceImpl.serverStarted(WSDiscoveryServiceImpl.java:153)
      at org.apache.cxf.ws.discovery.listeners.WSDiscoveryServerListener.startServer(WSDiscoveryServerListener.java:73)
      at org.apache.cxf.bus.managers.ServerLifeCycleManagerImpl.startServer(ServerLifeCycleManagerImpl.java:61)
      at org.apache.cxf.endpoint.ServerImpl.start(ServerImpl.java:150)
      at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:220)
      at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:211)

Caused by: java.lang.NullPointerException: null
      at org.apache.cxf.transport.udp.UDPDestination.findNetworkInterface(UDPDestination.java:205)
      at org.apache.cxf.transport.udp.UDPDestination.activate(UDPDestination.java:169)
      at org.apache.cxf.transport.AbstractObservable.setMessageObserver(AbstractObservable.java:53)
      at org.apache.cxf.binding.AbstractBindingFactory.addListener(AbstractBindingFactory.java:95)
      at org.apache.cxf.binding.soap.SoapBindingFactory.addListener(SoapBindingFactory.java:894)
      at org.apache.cxf.endpoint.ServerImpl.start(ServerImpl.java:130)
      at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:364) {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)