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

NPE while removing dependent beans

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.6, 1.1.7
    • 1.1.8
    • Context and Scopes
    • None

    Description

      CreationalContextImpl#removeAllDependents on line 281:
      Collection<List<DependentCreationalContext<?>>> values = dependentObjects.values();

      dependentObjects can be null.
      We should do a second null check inside the synchronized block.

      There are other synchronized blocks in this class, maybe we should check them too.

      Attachments

        1. OWB-736.patch
          6 kB
          Thomas Andraschko
        2. OWB-736.patch
          6 kB
          Thomas Andraschko

        Issue Links

          Activity

            People

              tandraschko Thomas Andraschko
              tandraschko Thomas Andraschko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: