[ 
https://issues.apache.org/jira/browse/CXF-7339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15985020#comment-15985020
 ] 

ASF GitHub Bot commented on CXF-7339:
-------------------------------------

Github user asoldano commented on the issue:

    https://github.com/apache/cxf/pull/262
  
    OK, thanks, I've merged the PR.


> NPE in org.apache.cxf.common.util.CacheMap.remove
> -------------------------------------------------
>
>                 Key: CXF-7339
>                 URL: https://issues.apache.org/jira/browse/CXF-7339
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>            Reporter: Alessio Soldano
>            Assignee: Alessio Soldano
>             Fix For: 3.2.0, 3.1.12
>
>
> {noformat}
> 2017-04-17 19:12:28,910 INFO  
> [org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] (MSC 
> service thread 1-6) Creating Service 
> {http://org.jboss.ws/jaxws/context}EndpointService from class 
> org.jboss.test.ws.jaxws.samples.context.EndpointJSE
> 2017-04-17 19:12:28,915 ERROR [org.jboss.msc.service.fail] (MSC service 
> thread 1-6) MSC000001: Failed to start service 
> jboss.deployment.unit."jaxws-samples-context-jse.war".INSTALL: 
> org.jboss.msc.service.StartException in service 
> jboss.deployment.unit."jaxws-samples-context-jse.war".INSTALL: WFLYSRV0153: 
> Failed to process phase INSTALL of deployment "jaxws-samples-context-jse.war"
>       at 
> org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:154)
>       at 
> org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
>       at 
> org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>       at java.lang.Thread.run(Thread.java:745)
> Caused by: javax.xml.ws.WebServiceException: java.lang.NullPointerException
>       at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:375)
>       at 
> org.jboss.wsf.stack.cxf.deployment.EndpointImpl.doPublish(EndpointImpl.java:79)
>       at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:255)
>       at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:543)
>       at 
> org.jboss.wsf.stack.cxf.configuration.BusHolder.configure(BusHolder.java:235)
>       at 
> org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.startDeploymentBus(BusDeploymentAspect.java:97)
>       at 
> org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.start(BusDeploymentAspect.java:59)
>       at 
> org.jboss.as.webservices.deployers.AspectDeploymentProcessor.deploy(AspectDeploymentProcessor.java:73)
>       at 
> org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147)
>       ... 5 more
> Caused by: java.lang.NullPointerException
>       at org.apache.cxf.common.util.CacheMap.remove(CacheMap.java:126)
>       at 
> org.apache.cxf.common.jaxb.JAXBContextCache.getCachedContextAndSchemas(JAXBContextCache.java:232)
>       at 
> org.apache.cxf.jaxb.JAXBDataBinding.createJAXBContextAndSchemas(JAXBDataBinding.java:472)
>       at 
> org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:327)
>       at 
> org.apache.cxf.service.factory.AbstractServiceFactoryBean.initializeDataBindings(AbstractServiceFactoryBean.java:86)
>       at 
> org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:470)
>       at 
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:696)
>       at 
> org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:530)
>       at 
> org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:263)
>       at 
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:199)
>       at 
> org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:102)
>       at 
> org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:168)
>       at 
> org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:211)
>       at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:460)
>       at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:338)
>       ... 13 more
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to