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

findbugs plugin - error (report)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: findbugs-plugin
    • Labels:
      None
    • Environment:
      ver. 1.338, Java 6, ubuntu , 32bit
    • Similar Issues:

      Description

      findbugs:
      [findbugs] Executing findbugs from ant task
      [findbugs] Running FindBugs...
      [findbugs] The following classes needed for analysis were missing:
      ....
      [findbugs] org.junit.Test
      [findbugs] Warnings generated: 2
      [findbugs] Missing classes: 25
      [findbugs] Calculating exit code...
      [findbugs] Setting 'missing class' flag (2)
      [findbugs] Setting 'bugs found' flag (1)
      [findbugs] Exit code set to: 3
      [findbugs] Java Result: 3
      [findbugs] Classes needed for analysis were missing
      [findbugs] Output saved to findbugs.xml

      then

      [WARNINGS] Parsing warnings in console log...
      [WARNINGS] Found 55 annotations (0 new, 0 high, 55 normal, 0 low)
      [WARNINGS] Not changing build status, since no threshold has been exceeded
      [TASKS] Scanning workspace files for tasks...
      [TASKS] Found 0 annotations (0 new, 0 high, 0 normal, 0 low)
      [TASKS] Not changing build status, since no threshold has been exceeded
      [FINDBUGS] Collecting findbugs analysis files...
      FATAL: Cannot inherit from final class
      java.lang.VerifyError: Cannot inherit from final class
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:632)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
      at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
      at java.lang.Class.getDeclaredMethods0(Native Method)
      at java.lang.Class.privateGetDeclaredMethods(Class.java:2444)
      at java.lang.Class.getDeclaredMethod(Class.java:1952)
      at edu.umd.cs.findbugs.DetectorFactory$ReflectionDetectorCreator.<init>(DetectorFactory.java:54)
      at edu.umd.cs.findbugs.DetectorFactory.<init>(DetectorFactory.java:135)
      at edu.umd.cs.findbugs.PluginLoader.init(PluginLoader.java:329)
      at edu.umd.cs.findbugs.PluginLoader.getPlugin(PluginLoader.java:135)
      at edu.umd.cs.findbugs.DetectorFactoryCollection.loadPlugin(DetectorFactoryCollection.java:448)
      at edu.umd.cs.findbugs.DetectorFactoryCollection.loadPlugins(DetectorFactoryCollection.java:333)
      at edu.umd.cs.findbugs.DetectorFactoryCollection.ensureLoaded(DetectorFactoryCollection.java:296)
      at edu.umd.cs.findbugs.DetectorFactoryCollection.instance(DetectorFactoryCollection.java:116)
      at edu.umd.cs.findbugs.I18N.lookupBugPattern(I18N.java:92)
      at edu.umd.cs.findbugs.BugInstance.<init>(BugInstance.java:159)
      at edu.umd.cs.findbugs.SAXBugCollectionHandler.startElement(SAXBugCollectionHandler.java:202)
      at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
      at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      at edu.umd.cs.findbugs.SortedBugCollection.doReadXML(SortedBugCollection.java:286)
      at edu.umd.cs.findbugs.SortedBugCollection.readXML(SortedBugCollection.java:263)
      at hudson.plugins.findbugs.parser.NativeFindBugsParser.parse(NativeFindBugsParser.java:129)
      at hudson.plugins.findbugs.parser.NativeFindBugsParser.parse(NativeFindBugsParser.java:69)
      at hudson.plugins.findbugs.parser.FindBugsParser.parse(FindBugsParser.java:74)
      at hudson.plugins.analysis.core.FilesParser.parseFile(FilesParser.java:152)
      at hudson.plugins.analysis.core.FilesParser.parseFiles(FilesParser.java:131)
      at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:87)
      at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:28)
      at hudson.FilePath.act(FilePath.java:676)
      at hudson.FilePath.act(FilePath.java:660)
      at hudson.plugins.findbugs.FindBugsPublisher.perform(FindBugsPublisher.java:104)
      at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:140)
      at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:583)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:564)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:551)
      at hudson.model.Build$RunnerImpl.post2(Build.java:152)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:535)
      at hudson.model.Run.run(Run.java:1202)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:122)

      Page generated: Dec 21, 2009 9:51:58 PMHudson ver. 1.338

        Attachments

          Activity

            People

            • Assignee:
              drulli Ulli Hafner
              Reporter:
              larsgo larsgo
            • Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: