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-unsubscr...@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to