spring-projects/spring-boot · error · IllegalStateException

Error response received when pushing image: ${errorDetail.ge

Error message

Error response received when pushing image: ${errorDetail.getMessage()}

What it means

Error "Error response received when pushing image: ${errorDetail.getMessage()}" thrown in spring-projects/spring-boot.

Source

Thrown at buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/DockerApi.java:631

		private void assertValidResponseReceived() {
			Assert.state(StringUtils.hasText(this.stream),
					() -> "Invalid response received when loading image" + image());
		}

	}

	/**
	 * {@link UpdateListener} used to capture the details of an error in a response
	 * stream.
	 */
	private static final class ErrorCaptureUpdateListener implements UpdateListener<PushImageUpdateEvent> {

		@Override
		public void onUpdate(PushImageUpdateEvent event) {
			ErrorDetail errorDetail = event.getErrorDetail();
			if (errorDetail != null) {
				throw new IllegalStateException(
						"Error response received when pushing image: " + errorDetail.getMessage());
			}
		}

	}

	enum Feature {

		BASELINE(ApiVersion.of(1, 24)),

		PLATFORM_IMAGE_PULL(ApiVersion.of(1, 41)),

		PLATFORM_CONTAINER_CREATE(ApiVersion.of(1, 41)),

		PLATFORM_IMAGE_INSPECT(ApiVersion.of(1, 49)),

		PLATFORM_IMAGE_EXPORT(ApiVersion.of(1, 48));

View on GitHub (pinned to 5b2dbdbb8b)

When it happens

Trigger: Thrown at buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/DockerApi.java:631 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of spring-projects/spring-boot@5b2dbdbb8b (2026-08-04). Data as JSON: /data/errors/16442f52dc9d3c80.json. Report an issue: GitHub.