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

JettyHTTPServerEngine cannot set a provided Jetty Server

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.4
    • 3.1.1, 3.0.6, 2.7.17
    • Transports
    • JRE 7

    • Novice
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: