Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-3766

Null value of POJOEndpoint.viewName causes NullPointerException when building service on JDK 1.8

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jbossws-cxf-4.3
    • None
    • None
    • None

      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.

              rhn-support-asoldano Alessio Soldano
              gtrikler@redhat.com Gytis Trikleris (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: