Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Since today the maven builds in hudson started failing with this stacktrace:

Parsing POMs
[workspace] $ /usr/lib/jvm/java-6-sun/bin/java -cp /usr/share/tomcat5.5/.hudson/plugins/maven-plugin/WEB-INF/lib/maven-agent-1.377.jar:/usr/share/maven2/boot/classworlds.jar hudson.maven.agent.Main /usr/share/maven2 /var/lib/tomcat5.5/webapps/hudson/WEB-INF/lib/remoting-1.377.jar /usr/share/tomcat5.5/.hudson/plugins/maven-plugin/WEB-INF/lib/maven-interceptor-1.377.jar 37299
<===[HUDSON REMOTING CAPACITY]===>���channel started
channel stopped
ERROR: Failed to parse POMs Remote call on Channel to Maven [/usr/lib/jvm/java-6-sun/bin/java, -cp, /usr/share/tomcat5.5/.hudson/plugins/maven-plugin/WEB-INF/lib/maven-agent-1.377.jar:/usr/share/maven2/boot/classworlds.jar, hudson.maven.agent.Main, /usr/share/maven2, /var/lib/tomcat5.5/webapps/hudson/WEB-INF/lib/remoting-1.377.jar, /usr/share/tomcat5.5/.hudson/plugins/maven-plugin/WEB-INF/lib/maven-interceptor-1.377.jar, 37299] failed
 at hudson.maven.ProcessCache$
 at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(
 at hudson.model.AbstractBuild$
 at hudson.model.ResourceController.execute(
Caused by: java.lang.NoClassDefFoundError: hudson/maven/agent/PluginManagerInterceptor
 at hudson.maven.MavenModuleSetBuild$
 at hudson.maven.MavenModuleSetBuild$
 at hudson.remoting.UserRequest.perform(
 at hudson.remoting.UserRequest.perform(
 at hudson.remoting.Request$
 at java.util.concurrent.Executors$
 at java.util.concurrent.FutureTask$Sync.innerRun(
 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
 at java.util.concurrent.ThreadPoolExecutor$

Any ideas?

share|improve this question

I have seen this a few times on my Hudson build slaves. I'm not sure what the root cause is, but deleting the workspace and letting Hudson rebuild it and in particular re-download java seemed to work.

Of course, if this is happening on the master node, that won't help you much.

share|improve this answer

Is your maven plugin version in sync with your hudson version? I would also check if you can build the projects from command line. As dsolimano said he wipes out the workspace. Not sure how redownloading java fits into the picture.

I haven't experienced this, since I never use update with my SCM. I experienced issues when using update with subversion. We were not able to track down the root cause (may be out of sync clocks), but the fix for us was always deleting the whole source folder and download the entire project. So we always run a clean build from scratch.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.