stage stuck
Asked by Brennon Obst:

I have a initial stage that runs and completes successfully. There is only one agent on my system. The log from the first stages ends like this

```
simple	11-Sep-2014 14:19:18	Finished task 'Tar Deployment Folder'simple	11-Sep-2014 14:19:18	Running post build plugin 'Artifact Copier'simple	11-Sep-2014 14:19:18	Publishing an artifact: Sourcesimple	11-Sep-2014 14:20:52	Finished publishing of artifact Shared artifact: [Source], pattern: [source.tar.gz] in 94ssimple	11-Sep-2014 14:20:52	Running post build plugin 'NCover Results Collector'simple	11-Sep-2014 14:20:52	Running post build plugin 'Clover Results Collector'simple	11-Sep-2014 14:20:52	Finalising the build...simple	11-Sep-2014 14:20:52	Stopping timer.simple	11-Sep-2014 14:20:52	Build PG-FD-ASDF-38 completed.simple	11-Sep-2014 14:20:53	Running on server: post build plugin 'NCover Results Collector'simple	11-Sep-2014 14:20:53	Running on server: post build plugin 'Clover Delta Calculator'simple	11-Sep-2014 14:20:53	Running on server: post build plugin 'Build Hanging Detection Configuration'simple	11-Sep-2014 14:20:53	Running on server: post build plugin 'Maven Dependencies Postprocessor'simple	11-Sep-2014 14:20:53	All post build plugins have finishedsimple	11-Sep-2014 14:20:53	Generating build results summary...simple	11-Sep-2014 14:20:53	Saving build results to disk...simple	11-Sep-2014 14:20:53	Indexing build results...simple	11-Sep-2014 14:20:53	Finished building PG-FD-ASDF-38.
```

The next stages do not run.

\*the agent is not busy

\*they use to run, im not sure what might have changed I did move the project

Thanks in advance,

./Brennon


Answers:
author: Brennon Obst
body: Could be this is the problem <https://jira.atlassian.com/browse/BAM-13655>


author: Brennon Obst
body: I have found an error now, not sure if its from "moving a plan" but thats what I suspect.

System Error Details {#toc-hId-1812528933}
==========================================

com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:artifactdownloadertask   
(java.lang.IllegalStateException : Unable to find plan \[PG-FDAP\])

Occurrences: 4   
First Occurred: 15 Sep 2014, 11:26:09 AM   
Last Occurred: 15 Sep 2014, 6:12:31 PM

*** ** * ** ***

```
java.lang.IllegalStateException: Unable to find plan [PG-FDAP]	at com.atlassian.bamboo.plugins.artifact.ArtifactDownloaderRuntimeDataProvider.populateRuntimeTaskData(ArtifactDownloaderRuntimeDataProvider.java:81)	at com.atlassian.bamboo.chains.ChainPluginSupportHelper.prepareRuntimeTaskData(ChainPluginSupportHelper.java:37)	at com.atlassian.bamboo.chains.ChainPluginSupportImpl$10.run(ChainPluginSupportImpl.java:289)	at com.atlassian.bamboo.variable.CustomVariableContextRunnerImpl.execute(CustomVariableContextRunnerImpl.java:27)	at com.atlassian.bamboo.chains.ChainPluginSupportImpl.buildStarted(ChainPluginSupportImpl.java:276)	at sun.reflect.GeneratedMethodAccessor1341.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:606)	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)	at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)	at com.sun.proxy.$Proxy94.buildStarted(Unknown Source)	at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.dispatchBuildsInCurrentStage(ChainExecutionManagerImpl.java:886)	at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.access$1600(ChainExecutionManagerImpl.java:100)	at com.atlassian.bamboo.chains.ChainExecutionManagerImpl$5.run(ChainExecutionManagerImpl.java:663)	at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:321)	at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.execute(ChainExecutionManagerImpl.java:599)	at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.access$1100(ChainExecutionManagerImpl.java:100)	at com.atlassian.bamboo.chains.ChainExecutionManagerImpl$3.run(ChainExecutionManagerImpl.java:381)	at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:321)	at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.onBuildFinished(ChainExecutionManagerImpl.java:360)	at sun.reflect.GeneratedMethodAccessor1408.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:606)	at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36)	at com.atlassian.bamboo.event.spi.EventInvokerRunnable.run(EventInvokerRunnable.java:29)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)	at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49)	at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)	at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)	at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)	at java.lang.Thread.run(Thread.java:745)
```


author: Brennon Obst
body: After the completion of the first stage, the build icon is a ball that just keeps spinning with the first stage complete and green and no other stage starting.

The agent is in Status: Idle.

Why is there no logging of what is going on. Where is the system hung? How can I troubleshoot this? Any idea helpful.

Thanks,

./Brennon


Tags: bamboo-administration