You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "MarcelRosenberger (via GitHub)" <gi...@apache.org> on 2025/06/18 10:38:10 UTC
[I] Any Dev Service fails to start with NullPointerException [camel-karavan]
MarcelRosenberger opened a new issue, #1533:
URL: https://github.com/apache/camel-karavan/issues/1533
### Describe the bug
Any Dev Service fails to start if the docker registry contains an image without a repository tag.
For example an image without repository tag is created if docker is used for local builds. The following image may be created (outside of karavan):
```
Image(
created=1748966208,
id=sha256:...,
parentId=b103...,
repoTags=null,
repoDigests=[],
size=80413252,
virtualSize=80413252,
sharedSize=0,
labels={io.buildah.version=1.39.4, org.opencontainers.image.ref.name=ubuntu, org.opencontainers.image.version=22.04},
containers=1
)
```
When such an image exists in the registry and the user clicks the start icon next to any Dev Service the loading state is shown for about 10 seconds and nothing happens.
The HTTP-Response looks like this `Error while executing command{"command": "deploy", pullImage": "ifNotExists"} on kafka: Cannot read the array length because "array"is null`.
### Steps to reproduce the behavior
1. Create an image without repository tag an the registry
2. Click on 'Start container' for any Dev Service
3. Loading State is shown
4. Container is not started and Browser-Console shows error-response from the Server
### Variant
Web Application
### Container Management (if applicable)
Docker
### Operating System (if applicable)
Windows
### Version
4.10.2
### Relevant log output
```shell
2025-06-18 10:57:17,569 ERROR [org.apa.cam.kar.api.ContainerResource] (executor-thread-4) Error while executing command {"command":"deploy","pullImage":"ifNotExists"} on kafka: Cannot read the array length because "array" is null
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Dev Service may fail to start with NullPointerException [camel-karavan]
Posted by "mgubaidullin (via GitHub)" <gi...@apache.org>.
mgubaidullin closed issue #1533: Dev Service may fail to start with NullPointerException
URL: https://github.com/apache/camel-karavan/issues/1533
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org