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

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: jbossws-cxf-4.3
    • Component/s: None
    • Labels:
      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  asoldano Alessio Soldano
                  Reporter:
                  gytis Gytis Trikleris
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: