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

Injection of javax.inject.Provider fails with OWBInjector

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.0.0
    • 1.1.0
    • Injection and Lookup
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: