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

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

XMLWordPrintable

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

      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/

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

                Created:
                Updated:
                Resolved: