java.lang.VerifyError: Cannot inherit from final class

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Jenkins JIRA by larsgo, 1 year ago
Cannot inherit from final class
via Jenkins JIRA by larsgo, 1 year ago
Cannot inherit from final class
via jenkins-ci.org by Unknown author, 1 year ago
via jenkins-ci.org by Unknown author, 2 years ago
via Jenkins JIRA by jjv, 1 year ago
Cannot inherit from final class
via Jenkins JIRA by jjv, 1 year ago
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 edu.umd.cs.findbugs.DetectorFactory$ReflectionDetectorCreator.(DetectorFactory.java:54)
at edu.umd.cs.findbugs.DetectorFactory.(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.(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 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.FilePath.act(FilePath.java:676)
at hudson.FilePath.act(FilePath.java:660)
at hudson.plugins.findbugs.FindBugsPublisher.perform(FindBugsPublisher.java:104)
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)

Users with the same issue

Once, 7 months ago
6 times, 7 months ago
5 times, 10 months ago
13 times, 1 year ago
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.