java.lang.InstantiationException: java.lang.UnsupportedClassVersionError: com/github/bogdanlivadariu/jenkins/reporting/rspec/RSpecTestReportPublisher$DescriptorImpl : Unsupported major.minor version 52.0

GitHub | BogdanLivadariu | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 7#163946165

    GitHub | 1 year ago | BogdanLivadariu
    java.lang.InstantiationException: java.lang.UnsupportedClassVersionError: com/github/bogdanlivadariu/jenkins/reporting/rspec/RSpecTestReportPublisher$DescriptorImpl : Unsupported major.minor version 52.0
  2. 0

    GitHub comment 7#163946165

    GitHub | 1 year ago | BogdanLivadariu
    java.lang.InstantiationException: java.lang.UnsupportedClassVersionError: com/github/bogdanlivadariu/jenkins/reporting/rspec/RSpecTestReportPublisher$DescriptorImpl : Unsupported major.minor version 52.0
  3. 0

    GitHub comment 1#39986572

    GitHub | 3 years ago | ampledata
    java.lang.InstantiationException: java.lang.UnsupportedClassVersionError: biz/neustar/jenkins/plugins/packer/PackerFileEntry$DescriptorImpl : Unsupported major.minor version 51.0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Seems like since updating to 1.2.0 of hockeyapp, Jenkins has been unable to load the plugin. Here's a excerpt of the log, with the full log attached as a file: Dec 22, 2014 1:50:45 PM WARNING hudson.ExtensionFinder$Sezpoz scout Failed to scout net.hockeyapp.jenkins.releaseNotes.ChangelogReleaseNotes$DescriptorImpl java.lang.InstantiationException: java.lang.UnsupportedClassVersionError: net/hockeyapp/jenkins/releaseNotes/ChangelogReleaseNotes$DescriptorImpl : Unsupported major.minor version 51.0 at net.java.sezpoz.IndexItem.element(IndexItem.java:146) at hudson.ExtensionFinder$Sezpoz.scout(ExtensionFinder.java:666) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:349) at hudson.ExtensionList.load(ExtensionList.java:300) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:253) at hudson.ExtensionList.iterator(ExtensionList.java:143) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:348) at hudson.ExtensionList.load(ExtensionList.java:300) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:253) at hudson.ExtensionList.size(ExtensionList.java:162) at com.sonyericsson.hudson.plugins.gerrit.trigger.PluginImpl.postInitialize(PluginImpl.java:298) at hudson.PluginManager$2$1$2.run(PluginManager.java:386) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:903) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:695) Caused by: java.lang.UnsupportedClassVersionError: net/hockeyapp/jenkins/releaseNotes/ChangelogReleaseNotes$DescriptorImpl : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637) at java.lang.ClassLoader.defineClass(ClassLoader.java:621) at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1138) at hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:768) at jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1309) at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1365) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at jenkins.ClassLoaderReflectionToolkit.invoke(ClassLoaderReflectionToolkit.java:44) at jenkins.ClassLoaderReflectionToolkit._findClass(ClassLoaderReflectionToolkit.java:86) at hudson.PluginManager$UberClassLoader.findClass(PluginManager.java:1110) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at net.java.sezpoz.IndexItem.element(IndexItem.java:134) ... 19 more Can confirm downgrading to 1.1.0 resolves this issue.

    Jenkins JIRA | 2 years ago | Matt Smollinger
    java.lang.InstantiationException: java.lang.UnsupportedClassVersionError: net/hockeyapp/jenkins/releaseNotes/ChangelogReleaseNotes$DescriptorImpl : Unsupported major.minor version 51.0
  6. 0

    The plugin doesn't work if Jenkins is running with Java 1.7

    GitHub | 12 months ago | nikolay-n
    java.lang.InstantiationException: java.lang.UnsupportedClassVersionError: com/github/kostyasha/yad/DockerProvisioningStrategy : Unsupported major.minor version 52.0

    14 unregistered visitors
    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.UnsupportedClassVersionError

      com/github/bogdanlivadariu/jenkins/reporting/rspec/RSpecTestReportPublisher$DescriptorImpl : Unsupported major.minor version 52.0

      at java.lang.ClassLoader.defineClass1()
    2. Java RT
      ClassLoader.defineClass
      1. java.lang.ClassLoader.defineClass1(Native Method)
      2. java.lang.ClassLoader.defineClass(ClassLoader.java:800)
      2 frames
    3. jenkins.util
      AntClassLoader.defineClassFromData
      1. jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1139)
      1 frame
    4. Hudson
      ClassicPluginStrategy$AntClassLoader2.defineClassFromData
      1. hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:801)
      1 frame
    5. jenkins.util
      AntClassLoader.findClass
      1. jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1310)
      2. jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1366)
      3. jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
      3 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    7. jenkins
      ClassLoaderReflectionToolkit._findClass
      1. jenkins.ClassLoaderReflectionToolkit.invoke(ClassLoaderReflectionToolkit.java:44)
      2. jenkins.ClassLoaderReflectionToolkit._findClass(ClassLoaderReflectionToolkit.java:86)
      2 frames
    8. Hudson
      PluginManager$UberClassLoader.findClass
      1. hudson.PluginManager$UberClassLoader.findClass(PluginManager.java:1185)
      1 frame
    9. Java RT
      ClassLoader.loadClass
      1. java.lang.ClassLoader.loadClass(ClassLoader.java:425)
      2. java.lang.ClassLoader.loadClass(ClassLoader.java:358)
      2 frames
    10. SezPoz
      IndexItem.element
      1. net.java.sezpoz.IndexItem.element(IndexItem.java:134)
      1 frame
    11. Hudson
      ExtensionList.get
      1. hudson.ExtensionFinder$Sezpoz.scout(ExtensionFinder.java:666)
      2. hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:382)
      3. hudson.ExtensionList.load(ExtensionList.java:349)
      4. hudson.ExtensionList.ensureLoaded(ExtensionList.java:287)
      5. hudson.ExtensionList.iterator(ExtensionList.java:156)
      6. hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:381)
      7. hudson.ExtensionList.load(ExtensionList.java:349)
      8. hudson.ExtensionList.ensureLoaded(ExtensionList.java:287)
      9. hudson.ExtensionList.getComponents(ExtensionList.java:167)
      10. hudson.DescriptorExtensionList.load(DescriptorExtensionList.java:185)
      11. hudson.ExtensionList.ensureLoaded(ExtensionList.java:287)
      12. hudson.ExtensionList.iterator(ExtensionList.java:156)
      13. hudson.ExtensionList.get(ExtensionList.java:147)
      13 frames
    12. com.cloudbees.jenkins
      GitHubPushTrigger$DescriptorImpl.get
      1. com.cloudbees.jenkins.GitHubPushTrigger$DescriptorImpl.get(GitHubPushTrigger.java:320)
      1 frame
    13. org.jenkinsci.plugins
      GitHubPlugin.postInitialize
      1. org.jenkinsci.plugins.github.migration.Migrator.migrate(Migrator.java:41)
      2. org.jenkinsci.plugins.github.GitHubPlugin.postInitialize(GitHubPlugin.java:39)
      2 frames
    14. Hudson
      PluginManager$2$1$2.run
      1. hudson.PluginManager$2$1$2.run(PluginManager.java:403)
      1 frame
    15. init
      Reactor.runTask
      1. org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
      2. org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
      2 frames
    16. jenkins.model
      Jenkins$8.runTask
      1. jenkins.model.Jenkins$8.runTask(Jenkins.java:913)
      1 frame
    17. init
      Reactor$Node.run
      1. org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
      2. org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
      2 frames
    18. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames