java.lang.VerifyError: Cannot inherit from final class

jenkins-ci.org | 4 months ago
  1. 0

    [JENKINS-5134] findbugs plugin - error (report) - Jenkins JIRA

    jenkins-ci.org | 1 year ago
    java.lang.VerifyError: Cannot inherit from final class
  2. 0

    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

    Jenkins JIRA | 7 years ago | larsgo
    java.lang.VerifyError: Cannot inherit from final class
  3. 0

    [JENKINS-5134] findbugs plugin - error (report) - Jenkins JIRA

    jenkins-ci.org | 4 months ago
    java.lang.VerifyError: Cannot inherit from final class
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    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

    Jenkins JIRA | 7 years ago | larsgo
    java.lang.VerifyError: Cannot inherit from final class
  6. 0

    FindBugs / Bugs / #534 VerifyError when running on JDK 5

    sourceforge.net | 1 year ago
    java.lang.reflect.InvocationTargetException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.VerifyError

      Cannot inherit from final class

      at java.lang.ClassLoader.defineClass1()
    2. Java RT
      Class.getDeclaredMethod
      1. java.lang.ClassLoader.defineClass1(Native Method)
      2. java.lang.ClassLoader.defineClass(ClassLoader.java:632)
      3. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
      4. java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
      5. java.net.URLClassLoader.access$000(URLClassLoader.java:73)
      6. java.net.URLClassLoader$1.run(URLClassLoader.java:212)
      7. java.security.AccessController.doPrivileged(Native Method)
      8. java.net.URLClassLoader.findClass(URLClassLoader.java:205)
      9. java.lang.ClassLoader.loadClass(ClassLoader.java:319)
      10. java.lang.ClassLoader.loadClass(ClassLoader.java:264)
      11. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
      12. java.lang.Class.getDeclaredMethods0(Native Method)
      13. java.lang.Class.privateGetDeclaredMethods(Class.java:2444)
      14. java.lang.Class.getDeclaredMethod(Class.java:1952)
      14 frames
    3. jOpenDocument
      SAXBugCollectionHandler.startElement
      1. edu.umd.cs.findbugs.DetectorFactory$ReflectionDetectorCreator.<init>(DetectorFactory.java:54)
      2. edu.umd.cs.findbugs.DetectorFactory.<init>(DetectorFactory.java:135)
      3. edu.umd.cs.findbugs.PluginLoader.init(PluginLoader.java:329)
      4. edu.umd.cs.findbugs.PluginLoader.getPlugin(PluginLoader.java:135)
      5. edu.umd.cs.findbugs.DetectorFactoryCollection.loadPlugin(DetectorFactoryCollection.java:448)
      6. edu.umd.cs.findbugs.DetectorFactoryCollection.loadPlugins(DetectorFactoryCollection.java:333)
      7. edu.umd.cs.findbugs.DetectorFactoryCollection.ensureLoaded(DetectorFactoryCollection.java:296)
      8. edu.umd.cs.findbugs.DetectorFactoryCollection.instance(DetectorFactoryCollection.java:116)
      9. edu.umd.cs.findbugs.I18N.lookupBugPattern(I18N.java:92)
      10. edu.umd.cs.findbugs.BugInstance.<init>(BugInstance.java:159)
      11. edu.umd.cs.findbugs.SAXBugCollectionHandler.startElement(SAXBugCollectionHandler.java:202)
      11 frames
    4. Xerces2-j
      AbstractSAXParser.parse
      1. org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
      2. org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
      3. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      4. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      5. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      6. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      7. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      8. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      8 frames
    5. jOpenDocument
      SortedBugCollection.readXML
      1. edu.umd.cs.findbugs.SortedBugCollection.doReadXML(SortedBugCollection.java:286)
      2. edu.umd.cs.findbugs.SortedBugCollection.readXML(SortedBugCollection.java:263)
      2 frames
    6. hudson.plugins.findbugs
      FindBugsParser.parse
      1. hudson.plugins.findbugs.parser.NativeFindBugsParser.parse(NativeFindBugsParser.java:129)
      2. hudson.plugins.findbugs.parser.NativeFindBugsParser.parse(NativeFindBugsParser.java:69)
      3. hudson.plugins.findbugs.parser.FindBugsParser.parse(FindBugsParser.java:74)
      3 frames
    7. Static Analysis Utilities
      FilesParser.invoke
      1. hudson.plugins.analysis.core.FilesParser.parseFile(FilesParser.java:152)
      2. hudson.plugins.analysis.core.FilesParser.parseFiles(FilesParser.java:131)
      3. hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:87)
      4. hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:28)
      4 frames
    8. Hudson
      FilePath.act
      1. hudson.FilePath.act(FilePath.java:676)
      2. hudson.FilePath.act(FilePath.java:660)
      2 frames
    9. hudson.plugins.findbugs
      FindBugsPublisher.perform
      1. hudson.plugins.findbugs.FindBugsPublisher.perform(FindBugsPublisher.java:104)
      1 frame
    10. Static Analysis Utilities
      HealthAwarePublisher.perform
      1. hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:140)
      1 frame
    11. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27)
      2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:583)
      3. hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:564)
      4. hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:551)
      5. hudson.model.Build$RunnerImpl.post2(Build.java:152)
      6. hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:535)
      7. hudson.model.Run.run(Run.java:1202)
      8. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      9. hudson.model.ResourceController.execute(ResourceController.java:88)
      10. hudson.model.Executor.run(Executor.java:122)
      10 frames