SonarSource/sonar-java — pull request #5 by wjam (2013-07-19 14:50:52+00:00)
Title: Fetch bug information from Findbugs before shutting it down in case bugs came from custom plugins

Hi all,

I've experienced a bug when writing my own custom findbugs plugin where the message being displayed within Sonar was 'Unknown bug pattern...' rather than the actual message. The cause was that custom plugins were being unloaded before the retrieving the bug message but the bug message uses information which was contained within the custom plugin.

To experience this for yourself, try out the 'fb-contrib' plugin which experiences the same problem.

See my emails on the sonar-dev mailing list [1] about the issue.

Cheers,

Will.

1 http://sonar.15.x6.nabble.com/sonar-dev-Custom-FindBugs-rules-FB-Contrib-and-Unknown-bug-pattern-td5013991.html