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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.0.7, 9.0.0-M7
    • Fix Version/s: 8.0.8, 9.0.0-M8
    • Component/s: None
    • Labels:
      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

              • Assignee:
                jgallimore Jonathan Gallimore
                Reporter:
                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