Failed to perform checkout on agent: Could not initialize class

This seems to happen frequently but not all the time when checking for changes against CVS.

Open a ticket with JetBrains.

Sent from my magical iPhone.

 


On Aug 31, 2011, at 10:39 AM, "Christopher, Paul J" <Christopher.Paul@con-way.com> wrote:

Can’t find much out there about this issue.

 

[10:02:44]: Updating sources: agent side checkout...

[10:02:44]: [Updating sources: agent side checkout...] Failed to perform checkout on agent: Could not initialize class com.intellij.cvsSupport2.connections.CvsMethod


java.lang.NoClassDefFoundError: Could not initialize class com.intellij.cvsSupport2.connections.CvsMethod


  at com.intellij.cvsSupport2.connections.CvsRootParser.extractMethod(CvsRootParser.java:197)


  at com.intellij.cvsSupport2.connections.CvsRootParser.valueOf(CvsRootParser.java:61)


  at com.intellij.cvsSupport2.connections.RootFormatter.createConfiguration(RootFormatter.java:22)


  at jetbrains.buildServer.buildTriggers.vcs.cvs.CvsUtil.getRootData(CvsUtil.java:211)


  at jetbrains.buildServer.buildTriggers.vcs.cvs.CvsSettings.<init>(CvsSettings.java:47)


  at jetbrains.buildServer.buildTriggers.vcs.cvs.IncludeRuleSettings.<init>(IncludeRuleSettings.java:28)


  at jetbrains.buildServer.buildTriggers.vcs.cvs.CvsUtil.createCvsSettings(CvsUtil.java:281)


  at jetbrains.buildServer.buildTriggers.vcs.cvs.CvsCheckoutOnAgent.updateSources(CvsCheckoutOnAgent.java:23)


  at jetbrains.buildServer.agent.impl.vcs.CheckoutByIncludeRuleAdapter$1$1.process(CheckoutByIncludeRuleAdapter.java:32)


  at jetbrains.buildServer.agent.impl.vcs.CheckoutByIncludeRuleAdapter$4.updateSources(CheckoutByIncludeRuleAdapter.java:98)


  at jetbrains.buildServer.agent.impl.patch.ProjectSourcesOnAgent.checkoutSources(ProjectSourcesOnAgent.java:72)


  at jetbrains.buildServer.agent.impl.patch.UpdateSourcesFromAgent.updateSources(UpdateSourcesFromAgent.java:60)


  at jetbrains.buildServer.agent.impl.patch.UpdateSourcesBuildStageBase.doSourceUpdate(UpdateSourcesBuildStageBase.java:91)


  at jetbrains.buildServer.agent.impl.patch.UpdateSourcesBuildStageBase.doRecoverableStage(UpdateSourcesBuildStageBase.java:59)


  at jetbrains.buildServer.agent.impl.buildStages.startStages.RecoverableBuildStage.doBuildStage(RecoverableBuildStage.java:74)


  at jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor$1.callStage(BuildStagesExecutor.java:31)


  at jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor$1.callStage(BuildStagesExecutor.java:29)


  at jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.callRunStage(StagesExecutor.java:76)


  at jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.doStages(StagesExecutor.java:36)


  at jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor.doStages(BuildStagesExecutor.java:24)


  at jetbrains.buildServer.agent.impl.BuildRunAction.doStages(BuildRunAction.java:65)


  at jetbrains.buildServer.agent.impl.BuildRunAction.runBuild(BuildRunAction.java:52)


  at jetbrains.buildServer.agent.impl.BuildAgentImpl.doActualBuild(BuildAgentImpl.java:246)


  at jetbrains.buildServer.agent.impl.BuildAgentImpl.access$100(BuildAgentImpl.java:49)


  at jetbrains.buildServer.agent.impl.BuildAgentImpl$1.run(BuildAgentImpl.java:219)


  at java.lang.Thread.run(Thread.java:619)


<image001.gif>

<image001.gif>

Edit tags

Cancel <image002.gif>

<image001.gif>

Pin build


Edit tags:

Cancel <image002.gif>

<image001.gif>

Add build comment

Cancel <image002.gif>

<image001.gif>

Promote build #6

Promote build #6 to:

Help Feedback

TeamCity Enterprise Version 6.5.3 (build 17985)

License agreement

<image001.gif>

<image001.gif>

Mute test

<image002.gif>

<image001.gif>

<image001.gif>

Server communication failure

Server is unavailable

Server stopped or communication with the server is not possible due to network failure.

Server shutdown started.

<image001.gif>

TODO

Loading related builds... <image002.gif>

Cancel <image002.gif>

  • me
  • -- This project      committers for the last 5 days --
  • Luc Vu (lvvu)
  • -- All registered users      --
  • Barbara Hale (bshale)
  • Bob Pfingsten      (bapfingsten)
  • Gary Swales (glswales)
  • Greg Rodgers (garodgers)
  • Karen Dolphin (kmdolphin)
  • Khaled Abou Eich      (kaaboueich)
  • Kiran Somarapu      (kxsomarapu)
  • Lance Andrews (lpandrews)
  • Luc Vu (lvvu)
  • Marjono Reksopuro      (reksopuro.marjono)
  • mmmathew (mmmathew)
  • Paul Christopher      (pjchristopher)
  • Ram Vittal (vittal.ram)
  • Scott Robertson      (srrobertson)
  • Stephen Kirby (sjkirby)
  • Van Smith (vpsmith)
  • Vicent Mulka      (mulka.vincent)
2 comments
Comment actions Permalink

Paul, are there any other errors in the teamcity-agent.log on the agent where this error occurred?

0
Comment actions Permalink

Bad agent configuration.  Recreated agent and all is good.

0

Please sign in to leave a comment.