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:50:00 UTC

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

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

Andriy Redko updated CXF-8798:
------------------------------
    Description: 
{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}
 * Protect against a null pointer when running on a Windows 11 PC on a corporate VPN
 * Null pointer caused by interface "TAP-Windows Adaptor V9

  was:
{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}


> 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
>            Priority: Major
>
> {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}
>  * Protect against a null pointer when running on a Windows 11 PC on a corporate VPN
>  * Null pointer caused by interface "TAP-Windows Adaptor V9



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