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

[jira] Updated: (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 ]

Eoghan Glynn updated SMX4-278:
------------------------------

    Attachment: smx4_278.patch

Patch attached, can a commiter please review and apply?

> 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.