You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Aymen Alquaiti (JIRA)" <ji...@apache.org> on 2015/05/13 13:41:00 UTC

[jira] [Created] (CXF-6402) JettyHTTPServerEngine cannot set a provided Jetty Server

Aymen Alquaiti created CXF-6402:
-----------------------------------

             Summary: JettyHTTPServerEngine cannot set a provided Jetty Server
                 Key: CXF-6402
                 URL: https://issues.apache.org/jira/browse/CXF-6402
             Project: CXF
          Issue Type: Bug
          Components: Transports
    Affects Versions: 3.0.4
         Environment: JRE 7
            Reporter: Aymen Alquaiti


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. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)