Pipeline deployment failed with 'ECS Deployment Circuit Breaker was triggered' error

0

Hi, I made some code changes and deployed them to a pipeline but it failed in beta. I found this error in the CloudFormation logs:

Resource handler returned message: "Error occurred during operation 'ECS Deployment Circuit Breaker was triggered'." (RequestToken: f6d04141-b823-da53-e941-7a4030747a7e, HandlerErrorCode: GeneralServiceException)

There is also a null pointer exception in the cloud watch service logs

10 Apr 2023 20:06:06,477 [ERROR]  (localhost-startStop-1) org.apache.catalina.core.StandardContext: One or more listeners failed to start. Full details will be found in the appropriate container log file
10 Apr 2023 20:06:06,485 [ERROR]  (localhost-startStop-1) org.apache.catalina.core.StandardContext: Context [Service] startup failed due to previous errors
10 Apr 2023 20:06:06,487 [ERROR]  (localhost-startStop-1) org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[Service]: Exception sending context destroyed event to listener instance of class [com.amazon.arest.guice.ARestContextListener]
java.lang.NullPointerException
	at org.jboss.resteasy.plugins.guice.GuiceResteasyBootstrapServletContextListener.triggerAnnotatedMethods(GuiceResteasyBootstrapServletContextListener.java:150)
	at org.jboss.resteasy.plugins.guice.GuiceResteasyBootstrapServletContextListener.contextDestroyed(GuiceResteasyBootstrapServletContextListener.java:145)
	at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:5172)
	at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5865)
	at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:187)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1689)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1679)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at software.amazon.disco.agent.concurrent.decorate.DecoratedRunnable.run(DecoratedRunnable.java:112)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at software.amazon.disco.agent.concurrent.decorate.DecoratedRunnable.run(DecoratedRunnable.java:112)
	at java.base/java.lang.Thread.run(Thread.java:829)

What is the cause of these errors? Is the null pointer exception caused by the CloudFormation error or vice versa?

No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions