You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "yueyijingque (via GitHub)" <gi...@apache.org> on 2025/06/10 11:41:54 UTC
[I] v4.10.2 & v4.10.0 KaravanStartupLoader] (main) Error during services project creation: java.lang.NullPointerException [camel-karavan]
yueyijingque opened a new issue, #1531:
URL: https://github.com/apache/camel-karavan/issues/1531
### Describe the bug
I deployed the 4.10.2 image in microk8s 1.31. After creating a project through Karavan, it cannot be synchronized to the Git repository. The following errors were found in the log:
```
2025-06-09 01:19:47,128 INFO [org.apa.cam.kar.KaravanStartupLoader] (main) Add configuration project
2025-06-09 01:19:47,143 INFO [org.apa.cam.kar.KaravanStartupLoader] (main) Add dev services project
2025-06-09 01:19:47,143 ERROR [org.apa.cam.kar.KaravanStartupLoader] (main) Error during services project creation: java.lang.NullPointerException
at java.base/java.util.Objects.requireNonNull(Objects.java:209)
at org.apache.camel.karavan.service.CodeService.listResources(CodeService.java:435)
at org.apache.camel.karavan.service.CodeService.getDevServicesFiles(CodeService.java:244)
at org.apache.camel.karavan.service.CodeService_ClientProxy.getDevServicesFiles(Unknown Source)
at org.apache.camel.karavan.KaravanStartupLoader.addServicesProject(KaravanStartupLoader.java:224)
at org.apache.camel.karavan.KaravanStartupLoader.tryStart(KaravanStartupLoader.java:110)
at org.apache.camel.karavan.KaravanStartupLoader.onStart(KaravanStartupLoader.java:93)
at org.apache.camel.karavan.KaravanStartupLoader_Observer_onStart_t31YlvCWzsNKY9Dr1PgVKKlHpOE.notify(Unknown Source)
at io.quarkus.arc.impl.EventImpl$Notifier.notifyObservers(EventImpl.java:365)
at io.quarkus.arc.impl.EventImpl$Notifier.notify(EventImpl.java:347)
at io.quarkus.arc.impl.EventImpl.fire(EventImpl.java:81)
at io.quarkus.arc.runtime.ArcRecorder.fireLifecycleEvent(ArcRecorder.java:163)
at io.quarkus.arc.runtime.ArcRecorder.handleLifecycleEvents(ArcRecorder.java:114)
at io.quarkus.runner.recorded.LifecycleEventsBuildStep$startupEvent1144526294.deploy_0(Unknown Source)
at io.quarkus.runner.recorded.LifecycleEventsBuildStep$startupEvent1144526294.deploy(Unknown Source)
at io.quarkus.runner.ApplicationImpl.doStart(Unknown Source)
at io.quarkus.runtime.Application.start(Application.java:101)
at io.quarkus.runtime.ApplicationLifecycleManager.run(ApplicationLifecycleManager.java:121)
at io.quarkus.runtime.Quarkus.run(Quarkus.java:77)
at io.quarkus.runtime.Quarkus.run(Quarkus.java:48)
at io.quarkus.runtime.Quarkus.run(Quarkus.java:137)
at io.quarkus.runner.GeneratedMain.main(Unknown Source)
```
### Steps to reproduce the behavior
[karavan-65ff89f74-gc4tw_karavan.log](https://github.com/user-attachments/files/20671930/karavan-65ff89f74-gc4tw_karavan.log)
### Variant
Web Application
### Container Management (if applicable)
None
### Operating System (if applicable)
None
### Version
4.7.0
### Relevant log output
```shell
```
--
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] v4.10.2 & v4.10.0 KaravanStartupLoader] (main) Error during services project creation: java.lang.NullPointerException [camel-karavan]
Posted by "enter-marlah (via GitHub)" <gi...@apache.org>.
enter-marlah commented on issue #1531:
URL: https://github.com/apache/camel-karavan/issues/1531#issuecomment-3668921870
We have this same problem with 4.14.2. 4.10.2 was working fine for us. Running on K3S.
Any ideas?
--
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