

I will try stopping and restarting the TeamCity Web Server service and running another build to see if I can reproduce all of this. In Process Explorer I now see cm.exe starting and stopping at regular intervals (60 second check interval I would assume) like I would expect. I've had 3 in a row run properly once I killed that hanging cm.exe (without restarting the web server service). It seems like it's just that first time after a build right after the service starts. Further, if I kill this process and wait about a minute or so, it fires back up and TeamCity starts noticing my changes again and kicking off builds. If I attempt to debug the cm.exe child process with Visual Studio, VS tells me that the process appears to be deadlocked because it is not executing any user mode code. After the build is complete, it just runs and seems to stay there forever. Right after the web server restart, I notice cm.exe starting and stopping a few times (as I would expect if it were executing several commands sequentially).

I notice that there's a child process of 'tomcat6.exe' (which I'm assuming is teamcity web server) called 'cm.exe' that is always there after the initial build completes. Again, if I stop and restart the "TeamCity Web Service" service then it picks up the changes and functions normally.

Even if I get a successful build after restarting the service, and then I push some changes, it never seems to detect the new changes and kick off another build. It seems like I can't get more than one build at a time. SEVERE: Error getting workspace from path C:\teamcity-config\system\caches\plasticscm\plasticscm_-2364678487989621573: : Error getting log from to Error: Object reference not set to an instance of an object.Īt .PlasticVcsSupport.buildPatch(PlasticVcsSupport.java:283)Īt .(BuildPatchUtil.java:6)Īt .(PatchComposer.java:20)Īt .(PatchComposer.java:83)Īt .(PatchComposer.java:2)Īt .BuildTypeImpl.buildPatch(BuildTypeImpl.java:245)Īt .BuildTypeImpl$$FastClassB圜GLIB$$a84db719.invoke()Īt net.sf.(MethodProxy.java:149)Īt .Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)Īt .ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)Īt .(TeamCityMethodSecurityInterceptor.java:7)Īt .ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)Īt .Cglib2AopProxy$FixedChainStaticTargetInterceptor.intercept(Cglib2AopProxy.java:582)Īt .BuildTypeImpl$$EnhancerB圜GLIB$$ba35214f.buildPatch()Īt .BuildStarter$2.call(BuildStarter.java:2)Īt $Sync.innerRun(Unknown Source)Īt .run(Unknown Source)Īt $nTask(Unknown Source)Īt $n(Unknown Source)Ĭaused by: .PlasticException: Error: Object reference not set to an instance of an object.Īt .PlasticShell.execute(Unknown Source)Īt .LogCommand.execute(Unknown Source)Īt .PlasticVcsSupport.buildPatch(PlasticVcsSupport.java:279)Ĭom.: Error: Object reference not set to an instance of an object.Ģ:23:34 PM .PlasticVcsSupport updateWorkspace
