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

2014-09-27 Thread Emmanuel Bourg
Philipp,

Do you still get the "ClassNotFoundException: hudson.matrix.MatrixBuild"
error after installing the matrix-project-plugin? The ClassCastException
may still occur but this is another issue that will get resolved with
#762881

Emmanuel Bourg



signature.asc
Description: OpenPGP digital signature
__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.

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

2014-09-27 Thread Ricardo Ribalda Delgado
Hello

Maybe this is related to https://issues.jenkins-ci.org/browse/JENKINS-24864 ?

On Thu, 25 Sep 2014 14:00:59 +0200 Emmanuel Bourg  wrote:
> This is the trace for the ClassNotFoundException, do you still have the
> one for the ClassCastException?
>
>

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.


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

2014-09-25 Thread Emmanuel Bourg
This is the trace for the ClassNotFoundException, do you still have the
one for the ClassCastException?




signature.asc
Description: OpenPGP digital signature
__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.

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

2014-09-25 Thread Philipp Marek
> This is the trace for the ClassNotFoundException, do you still have the
> one for the ClassCastException?
Oh sorry.

Yes, I found it in my screen backlog:

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 hudson.model.ItemGroupMixIn$4.call(ItemGroupMixIn.java:258)
at hudson.model.ItemGroupMixIn$4.call(ItemGroupMixIn.java:256)
at hudson.model.Items.whileUpdatingByXml(Items.java:84)
at 
hudson.model.ItemGroupMixIn.createProjectFromXML(ItemGroupMixIn.java:256)
at jenkins.model.Jenkins.createProjectFromXML(Jenkins.java:2967)
at hudson.cli.CreateJobCommand.run(CreateJobCommand.java:73)
at hudson.cli.CLICommand.main(CLICommand.java:234)
at hudson.cli.CliManagerImpl.main(CliManagerImpl.java:92)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:309)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:290)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:249)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:328)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at hudson.cli.CliManagerImpl$1.call(CliManagerImpl.java:63)
at 
hudson.remoting.InterceptingExecutorService$2.call(InterceptingExecutorService.java:95)
at 
jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
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)

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.


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

2014-09-25 Thread Philipp Marek
Hello Emmanuel,

thank you for the quick answer!


> > 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".
> 
> Do you have the full stacktrace of this exception?
Here you are.

> > 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.
> 
> Could you list the plugins installed please? I'll try to reproduce this
> issue.
This:
 credentials git-client git git-parameter
 instant-messaging ircbot ldap mailer
 scm-api ssh-credentials ssh

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:
  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:
  hudson/matrix/MatrixBuild
at 
org.apache.commons.jelly.imp

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

2014-09-25 Thread Emmanuel Bourg
Hi Philipp,

Thank you for the report.

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

Do you have the full stacktrace of this exception?


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

Could you list the plugins installed please? I'll try to reproduce this
issue.

Emmanuel Bourg




signature.asc
Description: OpenPGP digital signature
__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.

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

2014-09-25 Thread Ph. Marek
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:
 
   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:
 
   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

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.