glassfish
  1. glassfish
  2. GLASSFISH-20971

InjectionServices#aroundInvoke must accont for when the target is null

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: None
    • Component/s: cdi
    • Labels:
      None

      Description

      Weld is making a fix to account for static field injection. It will call InjectionServices#aroundInvoke with a null target so that we can inject resources into the static fields. We need to add code to check for target==null so we don't get NPE.

        Activity

        Hide
        jjsnyder83 added a comment -

        Committed revision 63120.

        Show
        jjsnyder83 added a comment - Committed revision 63120.
        Hide
        jjsnyder83 added a comment -

        Missed a case. Committed revision 63143.

        Show
        jjsnyder83 added a comment - Missed a case. Committed revision 63143.
        Hide
        jjsnyder83 added a comment -

        Based on fix in Weld I needed to make another modification. Committed revision 63144.

        Show
        jjsnyder83 added a comment - Based on fix in Weld I needed to make another modification. Committed revision 63144.

          People

          • Assignee:
            jjsnyder83
            Reporter:
            jjsnyder83
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: