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

Gytis Trikleris (JIRA) issues at jboss.org
Fri Feb 21 11:41:47 EST 2014


Gytis Trikleris created JBWS-3766:
-------------------------------------

             Summary: 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


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