Uploaded image for project: 'Modular Service Container'
  1. Modular Service Container
  2. MSC-121

NPE in org.jboss.msc.service.OptionalDependency#getController()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.0.3.GA, 1.1.0.Beta3
    • 1.0.2.GA
    • None
    • None

    Description

      It looks like in org.jboss.msc.service.OptionalDependency#getController() dependent is neither volatile nor read in a synchronized block, so may appear to be null if read from another thread.

      Showed up on a test suite run here:

      http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/as7-master-testsuite-ip6/4546/

      Attachments

        Activity

          People

            dlloyd@redhat.com David Lloyd
            sdouglas1@redhat.com Stuart Douglas
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: