java.lang.InstantiationException: java.lang.UnsupportedClassVersionError: net/hockeyapp/jenkins/releaseNotes/ChangelogReleaseNotes$DescriptorImpl : Unsupported major.minor version 51.0

Jenkins JIRA | Matt Smollinger | 2 years ago
  1. 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
  2. 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
  3. 0

    GitHub comment 7#163946165

    GitHub | 12 months ago | BogdanLivadariu
    java.lang.InstantiationException: java.lang.UnsupportedClassVersionError: com/github/bogdanlivadariu/jenkins/reporting/rspec/RSpecTestReportPublisher$DescriptorImpl : Unsupported major.minor version 52.0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

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

    GitHub | 7 months ago | nikolay-n
    java.lang.InstantiationException: java.lang.UnsupportedClassVersionError: com/github/kostyasha/yad/DockerProvisioningStrategy : Unsupported major.minor version 52.0
  6. 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

    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

      net/hockeyapp/jenkins/releaseNotes/ChangelogReleaseNotes$DescriptorImpl : Unsupported major.minor version 51.0

      at java.lang.ClassLoader.defineClass1()
    2. Java RT
      ClassLoader.defineClass
      1. java.lang.ClassLoader.defineClass1(Native Method)
      2. java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
      3. java.lang.ClassLoader.defineClass(ClassLoader.java:621)
      3 frames
    3. jenkins.util
      AntClassLoader.defineClassFromData
      1. jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1138)
      1 frame
    4. Hudson
      ClassicPluginStrategy$AntClassLoader2.defineClassFromData
      1. hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:768)
      1 frame
    5. jenkins.util
      AntClassLoader.findClass
      1. jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1309)
      2. jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1365)
      3. jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325)
      3 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      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:1110)
      1 frame
    9. Java RT
      ClassLoader.loadClass
      1. java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      2. java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      2 frames
    10. SezPoz
      IndexItem.element
      1. net.java.sezpoz.IndexItem.element(IndexItem.java:134)
      1 frame
    11. Hudson
      ExtensionList.size
      1. hudson.ExtensionFinder$Sezpoz.scout(ExtensionFinder.java:666)
      2. hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:349)
      3. hudson.ExtensionList.load(ExtensionList.java:300)
      4. hudson.ExtensionList.ensureLoaded(ExtensionList.java:253)
      5. hudson.ExtensionList.iterator(ExtensionList.java:143)
      6. hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:348)
      7. hudson.ExtensionList.load(ExtensionList.java:300)
      8. hudson.ExtensionList.ensureLoaded(ExtensionList.java:253)
      9. hudson.ExtensionList.size(ExtensionList.java:162)
      9 frames
    12. com.sonyericsson.hudson
      PluginImpl.postInitialize
      1. com.sonyericsson.hudson.plugins.gerrit.trigger.PluginImpl.postInitialize(PluginImpl.java:298)
      1 frame
    13. Hudson
      PluginManager$2$1$2.run
      1. hudson.PluginManager$2$1$2.run(PluginManager.java:386)
      1 frame
    14. 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
    15. jenkins.model
      Jenkins$7.runTask
      1. jenkins.model.Jenkins$7.runTask(Jenkins.java:903)
      1 frame
    16. 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
    17. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
      3. java.lang.Thread.run(Thread.java:695)
      3 frames