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

Samebug tips

  1. ,
    Expert tip

    This might be caused by and outdated version of Java, SonarQube now uses Java 8 as default. You might upgrade java or use an older version of SonarQube.

  2. ,
    Expert tip

    If you're using intellij plugin of sonarqube, you might have to set the JAVA_HOME ambient variable manually.

Solutions on the web

via Jenkins JIRA by Ludovic Meurillon, 1 year ago
java.lang.UnsupportedClassVersionError: Bad version number in .class file
via Jenkins JIRA by Ludovic Meurillon, 1 year ago
java.lang.UnsupportedClassVersionError: Bad version number in .class file
via JFrog JIRA by Adam Retter, 1 year ago
java.lang.RuntimeException: Failed to instantiate class org.jfrog.hudson.ArtifactoryBuilder from {"stapler-class":"org.jfrog.hudson.ArtifactoryBuilder","kind":"org.jfrog.hudson.ArtifactoryBuilder"}
via JFrog JIRA by Adam Retter, 1 year ago
java.lang.RuntimeException: Failed to instantiate class org.jfrog.hudson.ArtifactoryBuilder from {"stapler-class":"org.jfrog.hudson.ArtifactoryBuilder","kind":"org.jfrog.hudson.ArtifactoryBuilder"}
via GitHub by ilx
, 2 years ago
java.lang.RuntimeException: Failed to instantiate class com.xebialabs.deployit.ci.DeployitNotifier from {"credential":"admina2","application":"","version":"","packageProperties":{"propertyName":"exportAllPasswords","propertyValue":"true"},"verbose
via Stack Overflow by Michael Irey
, 2 years ago
java.lang.RuntimeException: Failed to instantiate class hudson.plugins.git.GitSCM from {"":["hudson.plugins.git.util.DefaultBuildChooser","7"],"authorOrCommitter":false,"branches":{"name":"**"},"browser":{"stapler-class
java.lang.UnsupportedClassVersionError: Bad version number in .class file	at java.lang.ClassLoader.defineClass1(Native Method)	at java.lang.ClassLoader.defineClass(ClassLoader.java:620)	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)	at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)	at java.net.URLClassLoader.access$100(URLClassLoader.java:56)	at java.net.URLClassLoader$1.run(URLClassLoader.java:195)	at java.security.AccessController.doPrivileged(Native Method)	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)	at winstone.classLoader.WebappClassLoader.loadClass(WebappClassLoader.java:68)	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)	at hudson.security.HudsonPrivateSecurityRealm$3.encodePassword(HudsonPrivateSecurityRealm.java:621)	at hudson.security.HudsonPrivateSecurityRealm$4.encodePassword(HudsonPrivateSecurityRealm.java:641)	at hudson.security.HudsonPrivateSecurityRealm$Details.fromPlainPassword(HudsonPrivateSecurityRealm.java:441)	at hudson.security.HudsonPrivateSecurityRealm$Details$DescriptorImpl.newInstance(HudsonPrivateSecurityRealm.java:525)	at hudson.security.HudsonPrivateSecurityRealm$Details$DescriptorImpl.newInstance(HudsonPrivateSecurityRealm.java:501)	at hudson.model.User.doConfigSubmit(User.java:520)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:585)	at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288)	at org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:28)	at org.kohsuke.stapler.Function$InterceptedFunction.invoke(Function.java:389)	at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151)	at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90)	at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111)	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574)	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)	at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241)	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574)	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:488)	at org.kohsuke.stapler.Stapler.service(Stapler.java:162)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)	at winstone.ServletConfiguration.execute(ServletConfiguration.java:248)	at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376)	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)	at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:58)	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98)	at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)	at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)	at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)	at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)	at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)	at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)	at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)	at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)	at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)	at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)	at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:63)	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)	at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)	at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66)	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)	at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)	at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)	at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)	at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50)	at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)	at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)	at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)	at winstone.RequestDispatcher.forward(RequestDispatcher.java:331)	at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:215)	at winstone.RequestHandlerThread.run(RequestHandlerThread.java:138)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)	at java.util.concurrent.FutureTask.run(FutureTask.java:123)	at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)	at java.lang.Thread.run(Thread.java:595)