Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-3752

Field injection of @Resource WebServiceContext fails when endpoint uses CDI interceptor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 8.0.7, 9.0.0-M7
    • 8.0.8, 9.0.0-M8
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              jgallimore Jonathan Gallimore
              jgallimore Jonathan Gallimore
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h