You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by tadayosi <gi...@git.apache.org> on 2016/09/08 02:46:05 UTC

[GitHub] cxf pull request #165: [CXF-7043] Fix JAXRSCxfContinuationsServlet3Test for ...

GitHub user tadayosi opened a pull request:

    https://github.com/apache/cxf/pull/165

    [CXF-7043] Fix JAXRSCxfContinuationsServlet3Test for 3.0.x

    https://issues.apache.org/jira/browse/CXF-7043
    
    `JAXRSCxfContinuationsServlet3Test` in the pull req #164 didn't work for 3.0.x branch, because a servlet context was needed to set up explicitly for 3.0.x and otherwise it threw NPE.
    ```
    Caused by: java.lang.NullPointerException
    	at org.apache.cxf.transport.servlet.ServletContextResourceResolver.getAsStream(ServletContextResourceResolver.java:54)
    	at org.apache.cxf.transport.servlet.ServletContextResourceResolver.resolve(ServletContextResourceResolver.java:114)
    	at org.apache.cxf.resource.DefaultResourceManager.findResource(DefaultResourceManager.java:113)
    	at org.apache.cxf.resource.DefaultResourceManager.resolveResource(DefaultResourceManager.java:58)
    	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.getResourceAsStream(AbstractHTTPServlet.java:153)
    	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.finalizeServletInit(AbstractHTTPServlet.java:128)
    	at org.apache.cxf.transport.servlet.CXFNonSpringServlet.init(CXFNonSpringServlet.java:88)
    	at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:532)
    	... 30 more 
    ```

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tadayosi/cxf CXF-7043_3.0.x

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cxf/pull/165.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #165
    
----
commit 2abad6c48003aea15a0d2b8e918d23ced5726f5a
Author: Tadayoshi Sato <sa...@gmail.com>
Date:   2016-09-08T02:40:04Z

    [CXF-7043] Fix JAXRSCxfContinuationsServlet3Test for 3.0.x

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cxf pull request #165: [CXF-7043] Fix JAXRSCxfContinuationsServlet3Test for ...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/cxf/pull/165


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---