You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Richard Zowalla (Jira)" <ji...@apache.org> on 2021/06/26 16:12:00 UTC

[jira] [Resolved] (TOMEE-3752) Field injection of @Resource WebServiceContext fails when endpoint uses CDI interceptor

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

Richard Zowalla resolved TOMEE-3752.
------------------------------------
    Resolution: Fixed

The PR is merged, so I assume it is fixed. Thanks Jon!

> Field injection of @Resource WebServiceContext fails when endpoint uses CDI interceptor
> ---------------------------------------------------------------------------------------
>
>                 Key: TOMEE-3752
>                 URL: https://issues.apache.org/jira/browse/TOMEE-3752
>             Project: TomEE
>          Issue Type: Bug
>    Affects Versions: 8.0.7, 9.0.0-M7
>            Reporter: Jonathan Gallimore
>            Assignee: Jonathan Gallimore
>            Priority: Major
>             Fix For: 8.0.8, 9.0.0-M8
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> When using a webservice endpoint, with a CDI interceptor, injecting a WebServiceContext into a field with @Resource, the WebServiceContext is injected into the proxy, and not the underlying instance, resulting in a NullPointerException when trying to use the injected context.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)