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

java.lang.ClassNotFoundException: hudson.matrix.MatrixBuild

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Cannot Reproduce
    • Component/s: git-client-plugin
    • Labels:
    • Environment:
      Jenkins ver. 1.565.2, on Debian wheezy/sid, amd64
      Git client plugin 1.10.2
    • Similar Issues:

      Description

      Enabling the Git Client plugin gives an error in the "/configure" URL, see the attached file.

      Stack trace
      
      javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: jar:file:/run/jenkins/war/WEB-INF/lib/jenkins-core-1.565.2.jar!/lib/form/section.jelly:48:21: <d:invokeBody> hudson/matrix/MatrixBuild
      	at org.kohsuke.stapler.jelly.JellyFacet$1.dispatch(JellyFacet.java:103)
      	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:631)
      	at org.kohsuke.stapler.Stapler.service(Stapler.java:225)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1496)
      	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)
      	at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484)
      	at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      	at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      	at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484)
      	at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484)
      	at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1476)
      	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501)
      	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
      	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533)
      	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
      	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
      	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)
      	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
      	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
      	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
      	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
      	at org.eclipse.jetty.server.Server.handle(Server.java:370)
      	at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
      	at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)
      	at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)
      	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
      	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
      	at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
      	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)
      	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)
      	at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: org.apache.commons.jelly.JellyTagException: jar:file:/run/jenkins/war/WEB-INF/lib/jenkins-core-1.565.2.jar!/lib/form/section.jelly:48:21: <d:invokeBody> hudson/matrix/MatrixBuild
      	at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:745)
      	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:289)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99)
      	at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
      	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
      	at org.apache.commons.jelly.tags.core.WhenTag.doTag(WhenTag.java:46)
      	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
      	at org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:38)
      	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      	at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      	at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120)
      	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      	at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:95)
      	at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:147)
      	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      	at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99)
      	at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
      	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
      	at org.apache.commons.jelly.tags.core.OtherwiseTag.doTag(OtherwiseTag.java:41)
      	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
      	at org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:38)
      	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      	at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
      	at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150)
      	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99)
      	at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
      	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      	at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99)
      	at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
      	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      	at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99)
      	at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
      	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      	at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120)
      	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      	at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:95)
      	at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63)
      	at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53)
      	at org.kohsuke.stapler.jelly.JellyFacet$1.dispatch(JellyFacet.java:95)
      	... 43 more
      Caused by: java.lang.NoClassDefFoundError: hudson/matrix/MatrixBuild
      	at java.lang.Class.getDeclaredFields0(Native Method)
      	at java.lang.Class.privateGetDeclaredFields(Class.java:2436)
      	at java.lang.Class.privateGetPublicFields(Class.java:2469)
      	at java.lang.Class.getFields(Class.java:1415)
      	at org.kohsuke.stapler.ClassDescriptor.<init>(ClassDescriptor.java:72)
      	at org.kohsuke.stapler.MetaClass.buildDispatchers(MetaClass.java:105)
      	at org.kohsuke.stapler.MetaClass.<init>(MetaClass.java:93)
      	at org.kohsuke.stapler.WebApp.getMetaClass(WebApp.java:203)
      	at org.kohsuke.stapler.jelly.groovy.GroovyFacet.createRequestDispatcher(GroovyFacet.java:106)
      	at org.kohsuke.stapler.RequestImpl.getView(RequestImpl.java:183)
      	at org.kohsuke.stapler.RequestImpl.getView(RequestImpl.java:178)
      	at hudson.model.Descriptor.getHelpFile(Descriptor.java:648)
      	at hudson.model.Descriptor.getHelpFile(Descriptor.java:630)
      	at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258)
      	at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
      	at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
      	at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
      	at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51)
      	at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)
      	at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:74)
      	at org.apache.commons.jelly.tags.core.CoreTagLibrary$3.run(CoreTagLibrary.java:134)
      	at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      	at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99)
      	at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
      	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      	... 121 more
      Caused by: java.lang.ClassNotFoundException: hudson.matrix.MatrixBuild
      	at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1375)
      	at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325)
      	at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
      	... 153 more
      

        Attachments

          Activity

          Hide
          ribalda Ricardo Ribalda added a comment - - edited

          I have tried with matrix-project and git plugin enabled, and still no luck. Check the attached log. There is already a debian bug related to this https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762798

          If I downgrade, everything works again. Maybe another missing plugin?

          Running from: /usr/share/jenkins/jenkins.war
          Sep 26, 2014 9:37:03 AM winstone.Logger logInternal
          INFO: Beginning extraction from war file
          Sep 26, 2014 9:37:03 AM org.eclipse.jetty.util.log.JavaUtilLog info
          INFO: jetty-8.y.z-SNAPSHOT
          Sep 26, 2014 9:37:04 AM org.eclipse.jetty.util.log.JavaUtilLog info
          INFO: NO JSP Support for , did not find org.apache.jasper.servlet.JspServlet
          Jenkins home directory: /var/lib/jenkins found at: EnvVars.masterEnvVars.get("JENKINS_HOME")
          Sep 26, 2014 9:37:04 AM org.eclipse.jetty.util.log.JavaUtilLog info
          INFO: Started SelectChannelConnector@0.0.0.0:8080
          Sep 26, 2014 9:37:04 AM winstone.Logger logInternal
          INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled
          Sep 26, 2014 9:37:04 AM jenkins.InitReactorRunner$1 onAttained
          INFO: Started initialization
          Sep 26, 2014 9:37:04 AM jenkins.InitReactorRunner$1 onAttained
          INFO: Listed all plugins
          Sep 26, 2014 9:37:04 AM jenkins.InitReactorRunner$1 onAttained
          INFO: Prepared all plugins
          Sep 26, 2014 9:37:04 AM jenkins.InitReactorRunner$1 onAttained
          INFO: Started all plugins
          Sep 26, 2014 9:37:04 AM jenkins.InitReactorRunner$1 onAttained
          INFO: Augmented all extensions
          Sep 26, 2014 9:37:06 AM jenkins.InitReactorRunner$1 onTaskFailed
          SEVERE: Failed Loading job Altium Database to Sqlite
          java.lang.ClassCastException: java.util.Vector cannot be cast to hudson.util.DescribableList
          	at hudson.model.AbstractProject.triggers(AbstractProject.java:339)
          	at hudson.model.AbstractProject.onLoad(AbstractProject.java:322)
          	at hudson.model.Project.onLoad(Project.java:90)
          	at hudson.model.Items.load(Items.java:273)
          	at jenkins.model.Jenkins$18.run(Jenkins.java:2587)
          	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:900)
          	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.runWorker(ThreadPoolExecutor.java:1145)
          	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
          	at java.lang.Thread.run(Thread.java:745)
          
          Sep 26, 2014 9:37:06 AM jenkins.InitReactorRunner$1 onTaskFailed
          SEVERE: Failed Loading job AXI_LX100T_CMOSIF-multi-12b-xformlegacy
          java.lang.ClassCastException: java.util.Vector cannot be cast to hudson.util.DescribableList
          	at hudson.model.AbstractProject.triggers(AbstractProject.java:339)
          	at hudson.model.AbstractProject.onLoad(AbstractProject.java:322)
          	at hudson.model.Project.onLoad(Project.java:90)
          	at hudson.model.Items.load(Items.java:273)
          	at jenkins.model.Jenkins$18.run(Jenkins.java:2587)
          	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:900)
          	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.runWorker(ThreadPoolExecutor.java:1145)
          	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
          	at java.lang.Thread.run(Thread.java:745)
          
          Show
          ribalda Ricardo Ribalda added a comment - - edited I have tried with matrix-project and git plugin enabled, and still no luck. Check the attached log. There is already a debian bug related to this https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762798 If I downgrade, everything works again. Maybe another missing plugin? Running from: /usr/share/jenkins/jenkins.war Sep 26, 2014 9:37:03 AM winstone.Logger logInternal INFO: Beginning extraction from war file Sep 26, 2014 9:37:03 AM org.eclipse.jetty.util.log.JavaUtilLog info INFO: jetty-8.y.z-SNAPSHOT Sep 26, 2014 9:37:04 AM org.eclipse.jetty.util.log.JavaUtilLog info INFO: NO JSP Support for , did not find org.apache.jasper.servlet.JspServlet Jenkins home directory: / var /lib/jenkins found at: EnvVars.masterEnvVars.get( "JENKINS_HOME" ) Sep 26, 2014 9:37:04 AM org.eclipse.jetty.util.log.JavaUtilLog info INFO: Started SelectChannelConnector@0.0.0.0:8080 Sep 26, 2014 9:37:04 AM winstone.Logger logInternal INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled Sep 26, 2014 9:37:04 AM jenkins.InitReactorRunner$1 onAttained INFO: Started initialization Sep 26, 2014 9:37:04 AM jenkins.InitReactorRunner$1 onAttained INFO: Listed all plugins Sep 26, 2014 9:37:04 AM jenkins.InitReactorRunner$1 onAttained INFO: Prepared all plugins Sep 26, 2014 9:37:04 AM jenkins.InitReactorRunner$1 onAttained INFO: Started all plugins Sep 26, 2014 9:37:04 AM jenkins.InitReactorRunner$1 onAttained INFO: Augmented all extensions Sep 26, 2014 9:37:06 AM jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Loading job Altium Database to Sqlite java.lang.ClassCastException: java.util.Vector cannot be cast to hudson.util.DescribableList at hudson.model.AbstractProject.triggers(AbstractProject.java:339) at hudson.model.AbstractProject.onLoad(AbstractProject.java:322) at hudson.model.Project.onLoad(Project.java:90) at hudson.model.Items.load(Items.java:273) at jenkins.model.Jenkins$18.run(Jenkins.java:2587) 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:900) 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.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang. Thread .run( Thread .java:745) Sep 26, 2014 9:37:06 AM jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Loading job AXI_LX100T_CMOSIF-multi-12b-xformlegacy java.lang.ClassCastException: java.util.Vector cannot be cast to hudson.util.DescribableList at hudson.model.AbstractProject.triggers(AbstractProject.java:339) at hudson.model.AbstractProject.onLoad(AbstractProject.java:322) at hudson.model.Project.onLoad(Project.java:90) at hudson.model.Items.load(Items.java:273) at jenkins.model.Jenkins$18.run(Jenkins.java:2587) 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:900) 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.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang. Thread .run( Thread .java:745)
          Hide
          ebourg Emmanuel Bourg added a comment - - edited

          Hi, I'm the one who packaged the latest version of Jenkins in Debian. There is notable difference with the package from the Debian repository vs the one downloaded from the jenkins-ci.org site, it's installed with no plugin enabled. We haven't managed to package all the default plugins yet. So if a plugin assumes another one is installed by default and doesn't declare the dependency explicitly, it may cause such issues.

          The ClassCastException exception is a Debian specific issue which is going to be resolved (bytecode-compatibility-transformer isn't available in Debian yet, we patched the code around this issue in the meantime but it seems to be incomplete).

          Show
          ebourg Emmanuel Bourg added a comment - - edited Hi, I'm the one who packaged the latest version of Jenkins in Debian. There is notable difference with the package from the Debian repository vs the one downloaded from the jenkins-ci.org site, it's installed with no plugin enabled. We haven't managed to package all the default plugins yet. So if a plugin assumes another one is installed by default and doesn't declare the dependency explicitly, it may cause such issues. The ClassCastException exception is a Debian specific issue which is going to be resolved (bytecode-compatibility-transformer isn't available in Debian yet, we patched the code around this issue in the meantime but it seems to be incomplete).
          Hide
          markewaite Mark Waite added a comment -

          I am unable to duplicate the problem. The steps I took included:

          1. Login to my Debian Jessie x64 machine
          2. Remove the .jenkins directory (rm -rf .jenkins)
          3. Start /usr/share/jenkins/jenkins.war (java -jar /usr/share/jenkins/jenkins.war --httpPort=9090)
          4. Browse to Jenkins Configure System page (http://jessie64a:9090/configure), confirm it is well behaved
          5. Refresh the Jenkins plugin list from update center (Check Now button at http://jessie64a:9090/pluginManager/advanced)
          6. Installed the latest versions of all the plugin updates detected
          7. Restart Jenkins
          8. Install additional plugins (git, git parameter, and more)
          9. Restart Jenkins
          10. Browse to Jenkins Configure System page (http://jessie64a:9090/configure), confirm it is well behaved
          11. Disable git-client plugin
          12. Restart Jenkins
          13. Browse to Jenkins Configure System page (http://jessie64a:9090/configure), confirm it is well behaved

          For reference, the contents of my .jenkins/plugins directory is:

          ant                                   git.jpi                mapdb-api                  ssh-credentials.bak
          antisamy-markup-formatter             git-parameter          mapdb-api.jpi              ssh-credentials.jpi
          antisamy-markup-formatter.bak         git-parameter.jpi      matrix-auth                ssh-credentials.jpi.pinned
          antisamy-markup-formatter.jpi         instant-messaging      matrix-auth.bak            ssh-slaves
          antisamy-markup-formatter.jpi.pinned  instant-messaging.jpi  matrix-auth.jpi            ssh-slaves.bak
          ant.jpi                               ircbot                 matrix-auth.jpi.pinned     ssh-slaves.jpi
          credentials                           ircbot.jpi             matrix-project             ssh-slaves.jpi.pinned
          credentials.bak                       javadoc                matrix-project.bak         subversion
          credentials.jpi                       javadoc.bak            matrix-project.jpi         subversion.bak
          credentials.jpi.pinned                javadoc.jpi            matrix-project.jpi.pinned  subversion.jpi
          cvs                                   javadoc.jpi.pinned     maven-plugin               subversion.jpi.pinned
          cvs.bak                               ldap                   maven-plugin.bak           translation
          cvs.jpi                               ldap.bak               maven-plugin.jpi           translation.bak
          cvs.jpi.pinned                        ldap.jpi               maven-plugin.jpi.pinned    translation.jpi
          external-monitor-job                  ldap.jpi.pinned        pam-auth                   translation.jpi.pinned
          external-monitor-job.jpi              mailer                 pam-auth.jpi               windows-slaves
          git                                   mailer.bak             scm-api                    windows-slaves.jpi
          git-client                            mailer.jpi             scm-api.jpi
          git-client.jpi                        mailer.jpi.pinned      ssh-credentials
          
          Show
          markewaite Mark Waite added a comment - I am unable to duplicate the problem. The steps I took included: Login to my Debian Jessie x64 machine Remove the .jenkins directory (rm -rf .jenkins) Start /usr/share/jenkins/jenkins.war (java -jar /usr/share/jenkins/jenkins.war --httpPort=9090) Browse to Jenkins Configure System page ( http://jessie64a:9090/configure ), confirm it is well behaved Refresh the Jenkins plugin list from update center (Check Now button at http://jessie64a:9090/pluginManager/advanced ) Installed the latest versions of all the plugin updates detected Restart Jenkins Install additional plugins (git, git parameter, and more) Restart Jenkins Browse to Jenkins Configure System page ( http://jessie64a:9090/configure ), confirm it is well behaved Disable git-client plugin Restart Jenkins Browse to Jenkins Configure System page ( http://jessie64a:9090/configure ), confirm it is well behaved For reference, the contents of my .jenkins/plugins directory is: ant git.jpi mapdb-api ssh-credentials.bak antisamy-markup-formatter git-parameter mapdb-api.jpi ssh-credentials.jpi antisamy-markup-formatter.bak git-parameter.jpi matrix-auth ssh-credentials.jpi.pinned antisamy-markup-formatter.jpi instant-messaging matrix-auth.bak ssh-slaves antisamy-markup-formatter.jpi.pinned instant-messaging.jpi matrix-auth.jpi ssh-slaves.bak ant.jpi ircbot matrix-auth.jpi.pinned ssh-slaves.jpi credentials ircbot.jpi matrix-project ssh-slaves.jpi.pinned credentials.bak javadoc matrix-project.bak subversion credentials.jpi javadoc.bak matrix-project.jpi subversion.bak credentials.jpi.pinned javadoc.jpi matrix-project.jpi.pinned subversion.jpi cvs javadoc.jpi.pinned maven-plugin subversion.jpi.pinned cvs.bak ldap maven-plugin.bak translation cvs.jpi ldap.bak maven-plugin.jpi translation.bak cvs.jpi.pinned ldap.jpi maven-plugin.jpi.pinned translation.jpi external-monitor-job ldap.jpi.pinned pam-auth translation.jpi.pinned external-monitor-job.jpi mailer pam-auth.jpi windows-slaves git mailer.bak scm-api windows-slaves.jpi git-client mailer.jpi scm-api.jpi git-client.jpi mailer.jpi.pinned ssh-credentials
          Hide
          markewaite Mark Waite added a comment -

          Emmanuel Bourg thanks for the clarification that the issue may be specific to the Jenkins package bundled with Debian.

          The last time I attempted to use the Jenkins package bundled with Debian was several years ago. For reasons I do not recall, I eventually decided that it was better to use the Debian repository from the Jenkins project to deliver Jenkins, even on Debian, rather than using the Jenkins package provided by Debian.

          I'll stop my investigation of the issue, since you're investigating, and you're probably already tracking it through the Debian bug report.

          Show
          markewaite Mark Waite added a comment - Emmanuel Bourg thanks for the clarification that the issue may be specific to the Jenkins package bundled with Debian. The last time I attempted to use the Jenkins package bundled with Debian was several years ago. For reasons I do not recall, I eventually decided that it was better to use the Debian repository from the Jenkins project to deliver Jenkins, even on Debian, rather than using the Jenkins package provided by Debian. I'll stop my investigation of the issue, since you're investigating, and you're probably already tracking it through the Debian bug report .
          Hide
          markewaite Mark Waite added a comment -

          Bug in the Jenkins package provided by the Debian project. Cannot reproduce it with the Jenkins package provided by the Jenkins project.

          The Debian bug is being investigate by Emmanuel Bourg.

          Show
          markewaite Mark Waite added a comment - Bug in the Jenkins package provided by the Debian project. Cannot reproduce it with the Jenkins package provided by the Jenkins project. The Debian bug is being investigate by Emmanuel Bourg .

            People

            Assignee:
            markewaite Mark Waite
            Reporter:
            pmarek Philipp Marek
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: