Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-1477

findbugs doesn't find the description of the bug patterns

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • findbugs-plugin
    • None
    • Platform: PC, OS: Linux

      All the bugs found have a similar message:

      File: Role.java, Type: MS_SHOULD_BE_FINAL, Priority: High, Category: CORRECTNESS

      TEST: Unknown warning MS_SHOULD_BE_FINAL in com.oursite.util.Role.HOTEL_ADMIN;
      core bug patterns not found

      A warning was recorded, but findbugs can't find the description of this bug
      pattern and so can't describe it. This should occur only in cases of a bug in
      FindBugs or its configuration, or perhaps if an analysis was generated using a
      plugin, but that plugin is not currently loaded.

      I am using Hudson 1.200, findbugs plugin 2.2, FindBugs 1.3.2, ant 1.7 and jdk
      1.6 and I am also using ant deployment.

      I use Hudson with jboss-4.2.0.GA and have it set up to use container security.
      I have the unpacked hudson war file because I needed to change some settings for
      security.
      It is under: /usr/jbosses/current/server/default/deploy/hudson.war/

      findbugs-1.3.2.jar is under $HUDSON_HOME/plugins/findbugs/WEB-INF/lib

      ls $HUDSON_HOME/plugins/findbugs/WEB-INF/lib

      annotations-1.0.0.jar asm-analysis-3.0.jar asm-tree-3.0.jar asm-xml-3.0.jar
      commons-lang-2.3.jar dom4j-1.3.jar java2html-5.0.jar localizer-1.5.jar
      asm-3.0.jar asm-commons-3.0.jar asm-util-3.0.jar bcel-1.3.2.jar
      coreplugin-1.3.2.jar findbugs-1.3.2.jar jsr305-1.3.2.jar

      where $HUDSON_HOME is /usr/hudson

            drulli Ulli Hafner
            unchiujar unchiujar
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: