You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by Jonathan Gallimore <jo...@gmail.com> on 2021/05/26 10:25:23 UTC
TOMEE-3752 - Injection of WebServiceContext
Hi All,
I noticed an issue with injecting a WebServiceContext into a field
using @Resource when the endpoint uses CDI interceptors. I've created a PR
with a test and fix. Essentially, the field is being injected into the OWB
proxy, but being accessed from the underlying instance (resulting in a
NullPointerException).
The PR is here: https://github.com/apache/tomee/pull/799 - please do let me
know if you have any feedback.
Thanks
Jon
Re: TOMEE-3752 - Injection of WebServiceContext
Posted by Jonathan Gallimore <jo...@gmail.com>.
I went ahead and merged this. Please let me know if it causes and problems,
I'll be happy to revert and look again.
Jon
On Wed, May 26, 2021 at 11:25 AM Jonathan Gallimore <
jonathan.gallimore@gmail.com> wrote:
> Hi All,
>
> I noticed an issue with injecting a WebServiceContext into a field
> using @Resource when the endpoint uses CDI interceptors. I've created a PR
> with a test and fix. Essentially, the field is being injected into the OWB
> proxy, but being accessed from the underlying instance (resulting in a
> NullPointerException).
>
> The PR is here: https://github.com/apache/tomee/pull/799 - please do let
> me know if you have any feedback.
>
> Thanks
>
> Jon
>