Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-5766

ReportCollectorModuleDescriptor.init() tries to load plugin classes

    XMLWordPrintable

Details

    Description

      I was investigating this question on the forums. I'm not positive, but I think this user has uncovered a bug... It looks like ModuleDescriptor.init() is called before external plugins are loaded, so calling plugin.loadClass() within init() will throw an IllegalPluginStateException. (I guess that bundled plugins are treated differently?) Fortunately the exception text has a helpful suggestion:

      Move all classloading into the enabled() method, and be sure to properly drop class and instance references in disabled().

      I think this blocks developers from writing report collector plugins.

      Attachments

        Activity

          People

            Unassigned Unassigned
            drosen Dan Rosen [Atlassian]
            Votes:
            5 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: