Legacy Knowledge Base
Published Jun. 30, 2025

Why is Jenkins build failing with SynchronousResumeNotSupportedException?

Written By

Sebastian Madaras

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • We are facing an issue where the builds are failing and we are getting the below error: 
org.jenkinsci.plugins.workflow.steps.SynchronousResumeNotSupportedException: Resume after a restart not supported for non-blocking synchronous steps
	at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.onResume(SynchronousNonBlockingStepExecution.java:75)
	at org.jenkinsci.plugins.workflow.flow.FlowExecutionList$ItemListenerImpl$1.onSuccess(FlowExecutionList.java:187)
	at org.jenkinsci.plugins.workflow.flow.FlowExecutionList$ItemListenerImpl$1.onSuccess(FlowExecutionList.java:182)
	at com.google.common.util.concurrent.Futures$CallbackListener.run(Futures.java:1138)
	at org.jenkinsci.plugins.workflow.flow.DirectExecutor.execute(DirectExecutor.java:33)
	at com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:1270)
	at com.google.common.util.concurrent.AbstractFuture.addListener(AbstractFuture.java:761)
	at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.addListener(AbstractFuture.java:136)
	at com.google.common.util.concurrent.Futures.addCallback(Futures.java:1105)
	at org.jenkinsci.plugins.workflow.flow.FlowExecutionList$ItemListenerImpl.onLoaded(FlowExecutionList.java:182)
	at jenkins.model.Jenkins.<init>(Jenkins.java:1037)

Environment

  • Liferay PaaS

Resolution

  • The general analyses has shown that a memory limit was reached and therefore the process couldn't move foward. Check if the properly "org.gradle.parallel=" is active or not. In some cases using the property "org.gradle.parallel=true" can speed up the build time. However, also take into account that the property can require a lot of memory.
  • Please consider changing the JVM options and the LCP.json to adjust memory usage for Jenkins.       

Additional Information

 

 

 

Did this article resolve your issue ?

Legacy Knowledge Base