You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2009/04/22 05:35:31 UTC

[jira] Resolved: (SMX4-278) cxf-transport-osgi: OsgiServlet fails to set Message.REQUEST_URI property, resulting in NPE in JAXRSInInterceptor

     [ https://issues.apache.org/activemq/browse/SMX4-278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang resolved SMX4-278.
-------------------------------

    Resolution: Fixed

apply patch on behalf of Eoghan with thanks
http://svn.apache.org/viewvc?rev=767355&view=rev

> cxf-transport-osgi: OsgiServlet fails to set Message.REQUEST_URI property, resulting in NPE in JAXRSInInterceptor
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: SMX4-278
>                 URL: https://issues.apache.org/activemq/browse/SMX4-278
>             Project: ServiceMix 4
>          Issue Type: Bug
>    Affects Versions: 4.0.0
>            Reporter: Eoghan Glynn
>            Assignee: Eoghan Glynn
>             Fix For: 4.1.0
>
>         Attachments: smx4_278.patch
>
>
> The OsgiServlet fails to set Message.REQUEST_URI property, which is required by JAX-RS.
> As a result, dispatching an incoming JAX-RS request falls over with a NullPointerException in the preprocess logic.
> I'll submit a patch will a fix for the immediate issue, but long-term a better solution would be to refactor the inheritance of OsgiDestination from the CXF AbstractHTTPDestination so that the property setting logic is completely common and not duplicated in OsgiServlet. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.