[jbossws-issues] [JBoss JIRA] (JBWS-3766) Null value of POJOEndpoint.viewName causes NullPointerException when building service on JDK 1.8

Alessio Soldano (JIRA) issues at jboss.org
Fri Feb 21 11:47:48 EST 2014


     [ https://issues.jboss.org/browse/JBWS-3766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alessio Soldano updated JBWS-3766:
----------------------------------

    Fix Version/s: jbossws-cxf-4.3

    
> Null value of POJOEndpoint.viewName causes NullPointerException when building service on JDK 1.8
> ------------------------------------------------------------------------------------------------
>
>                 Key: JBWS-3766
>                 URL: https://issues.jboss.org/browse/JBWS-3766
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Gytis Trikleris
>            Assignee: Alessio Soldano
>             Fix For: jbossws-cxf-4.3
>
>
> JDK 1.8 does not allow to put null values to the ConcurrentHashMap and throws NullPointerException on such occasion.
> However, WSEndpointDeploymentUnit#addEndpoint passes viewName=null to the POJOEndpoint constructor. ReflectionServiceFactoryBean#setServiceProperties later tries to put that value to the map, which causes NullPointerException.
> Currently this only happens on EAP 6.x with JDK 1.8. This fails to start application server with standalone-xts.xml configuration.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbossws-issues mailing list