Bug#762798: java.lang.ClassNotFoundException: hudson/matrix/MatrixBuild

Ph. Marek philipp.marek at linbit.com
Thu Sep 25 09:12:36 UTC 2014


Source: jenkins
Version: 1.565.2-2

Hi. 

I used jenkins=1.509.2+dfsg-2, and it worked fine, with all needed plugins.

After upgrade via apt-get the configured job is lost; importing it via 
"jenkins-cli" gives me "java.lang.ClassCastException: java.util.Vector 
cannot be cast to hudson.util.DescribableList".


Furthermore, even the "configure jenkins" page gives errors:

  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 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.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 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

This problem persists even after moving /var/lib/jenkins away and running
"apt-get install --reinstall jenkins jenkins-common".


UPDATE: deactivating the "GIT client" plugin makes the /configure URL work 
again, but that one would be required...

No, there are no (more) plugin updates available.


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



More information about the pkg-java-maintainers mailing list