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

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • None
    • jbossws-cxf-4.3
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: