Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-28208

Crash with J9 1.6

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Won't Fix
    • Labels:
      None
    • Environment:
      Java J9 1.6
      instant-messaging version 1.35
    • Similar Issues:

      Description

      After updating from 1.30 to 1.35, I encountered the following stack trace:

      {{SEVERE: Failed Loading plugin ircbot
      Throwable occurred: java.io.IOException: Unable to load hudson.plugins.ircbot.PluginImpl from ircbot
      at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:422)
      at hudson.PluginManager$2$1$1.run(PluginManager.java:371)
      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:905)
      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:908)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:931)
      at java.lang.Thread.run(Thread.java:738)
      Caused by: java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=hudson/plugins/im/IMPlugin, offset=6
      at java.lang.ClassLoader.defineClassImpl(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:275)
      at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1139)
      at hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:799)
      at jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1310)
      at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1366)
      at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
      at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      at java.lang.reflect.Method.invoke(Method.java:611)
      at jenkins.ClassLoaderReflectionToolkit.invoke(ClassLoaderReflectionToolkit.java:44)
      at jenkins.ClassLoaderReflectionToolkit._findClass(ClassLoaderReflectionToolkit.java:86)
      at hudson.ClassicPluginStrategy$DependencyClassLoader.findClass(ClassicPluginStrategy.java:677)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:660)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:626)
      at jenkins.util.AntClassLoader.findBaseClass(AntClassLoader.java:1398)
      at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1075)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:626)
      at hudson.plugins.ircbot.PluginImpl.<init>(PluginImpl.java:18)
      at java.lang.J9VMInternals.newInstanceImpl(Native Method)
      at java.lang.Class.newInstance(Class.java:1549)
      at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:416)
      ... 9 more}}

      Downgrading to 1.30 worked.

      I know that IBM J9 might be not supported, but I think that instant-messaging should support 1.6 version of Java.

        Attachments

          Activity

          Hide
          adrien Adrien CLERC added a comment -

          Many thanks! In the meantime, I managed to installed at least Java7 on all my slaves. Except on a Debian Etch. This one is really old But fortunately, it doesn't really matter

          Show
          adrien Adrien CLERC added a comment - Many thanks! In the meantime, I managed to installed at least Java7 on all my slaves. Except on a Debian Etch. This one is really old But fortunately, it doesn't really matter
          Hide
          kutzi kutzi added a comment -

          I've now documented it for the plugin, too.

          Show
          kutzi kutzi added a comment - I've now documented it for the plugin, too.
          Hide
          danielbeck Daniel Beck added a comment -

          FYI I increased the visibility of the changelog entry and moved it to the top.

          Show
          danielbeck Daniel Beck added a comment - FYI I increased the visibility of the changelog entry and moved it to the top.
          Hide
          danielbeck Daniel Beck added a comment -

          I was talking about the instant-messenger-plugin that does not mention the switch to Java 7 in its changelog, not the core.

          Oops... sorry about that! Now the 'as Jenkins core does' parses without error for me

          Show
          danielbeck Daniel Beck added a comment - I was talking about the instant-messenger-plugin that does not mention the switch to Java 7 in its changelog, not the core. Oops... sorry about that! Now the 'as Jenkins core does' parses without error for me
          Hide
          adrien Adrien CLERC added a comment -

          Could be bold though to be more obvious. Or at the top. Or both. I'll try to do that later today.

          I was talking about the instant-messenger-plugin that does not mention the switch to Java 7 in its changelog, not the core.

          But it should be good that the changelog of Jenkins use a big blue ball anyway

          Show
          adrien Adrien CLERC added a comment - Could be bold though to be more obvious. Or at the top. Or both. I'll try to do that later today. I was talking about the instant-messenger-plugin that does not mention the switch to Java 7 in its changelog, not the core. But it should be good that the changelog of Jenkins use a big blue ball anyway

            People

            Assignee:
            kutzi kutzi
            Reporter:
            adrien Adrien CLERC
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: