Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-6402

JettyHTTPServerEngine cannot set a provided Jetty Server

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.4
    • Fix Version/s: 3.1.1, 3.0.6, 2.7.17
    • Component/s: Transports
    • Labels:
    • Environment:

      JRE 7

    • Estimated Complexity:
      Novice
    • Flags:
      Patch, Important

      Description

      JettyHTTPServerEngine cannot accept setting a provided Jetty Server instance. Such thing will throw NullPointerException in line 460 (CXf 3.0.4)
      The exception is thrown because an object (contexts) of class ContextHandlerCollection is only initialised when no jetty server is provided. Providing a server will leave the object uninitialised, throwing exception in runtime.

        Attachments

          Activity

            People

            • Assignee:
              sergey_beryozkin Sergey Beryozkin
              Reporter:
              aalquaiti Aymen Alquaiti
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: