Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-553

Injection of javax.inject.Provider fails with OWBInjector

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.1.0
    • Component/s: Injection and Lookup
    • Labels:
      None

      Description

      When a javax.inject.Provider is injected with the OWBInjector access to provider.get() results in a NullPointerException. The consequence is, that javax.inject.Providers cannot be injected into ServletListeners, Servlets and Filters (tested with Tomcat 6) and EJBs (guessed).

        Attachments

        1. OWB-553.patch
          3 kB
          Arne Limburg
        2. provider-bug.zip
          4 kB
          Arne Limburg

          Activity

            People

            • Assignee:
              struberg Mark Struberg
              Reporter:
              arne Arne Limburg
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: