nicolaferraro opened a new issue #651:
URL: https://github.com/apache/camel-k-runtime/issues/651


   Getting error in e2e test with the following integration code:
   
   ```
   from('cron:tab?schedule=*+*+*+*+?')
       .routeId('groovy')
       .setHeader("m").constant("string!")
       .setBody()
           .simple('Magic${header.m}')
       .to('log:info?showAll=false')
   
   ```
   
   Error:
   
   ```
   2021-04-08 19:00:14,210 ERROR [org.apa.cam.qua.mai.CamelMainRuntime] (main) 
Failed to start application: java.lang.NullPointerException
                at 
org.apache.camel.k.cron.CronSourceLoaderInterceptor.afterConfigure(CronSourceLoaderInterceptor.java:78)
                at 
org.apache.camel.builder.RouteBuilder.checkInitialized(RouteBuilder.java:548)
                at 
org.apache.camel.builder.RouteBuilder.configureRoutes(RouteBuilder.java:487)
                at 
org.apache.camel.builder.RouteBuilder.addRoutesToCamelContext(RouteBuilder.java:462)
                at 
org.apache.camel.impl.engine.AbstractCamelContext.addRoutes(AbstractCamelContext.java:1161)
                at 
org.apache.camel.main.RoutesConfigurer.configureRoutes(RoutesConfigurer.java:200)
                at 
org.apache.camel.quarkus.main.CamelMain.configureRoutes(CamelMain.java:70)
                at 
org.apache.camel.main.BaseMainSupport.postProcessCamelContext(BaseMainSupport.java:546)
                at 
org.apache.camel.quarkus.main.CamelMain.initCamelContext(CamelMain.java:116)
                at 
org.apache.camel.quarkus.main.CamelMain.doInit(CamelMain.java:86)
                at 
org.apache.camel.support.service.BaseService.init(BaseService.java:83)
                at 
org.apache.camel.quarkus.main.CamelMain.startEngine(CamelMain.java:137)
                at 
org.apache.camel.quarkus.main.CamelMainRuntime.start(CamelMainRuntime.java:49)
                at 
org.apache.camel.quarkus.core.CamelBootstrapRecorder.start(CamelBootstrapRecorder.java:45)
                at 
io.quarkus.deployment.steps.CamelBootstrapProcessor$boot-173480958.deploy_0(CamelBootstrapProcessor$boot-173480958.zig:101)
                at 
io.quarkus.deployment.steps.CamelBootstrapProcessor$boot-173480958.deploy(CamelBootstrapProcessor$boot-173480958.zig:40)
                at 
io.quarkus.runner.ApplicationImpl.doStart(ApplicationImpl.zig:545)
                at io.quarkus.runtime.Application.start(Application.java:90)
                at 
io.quarkus.runtime.ApplicationLifecycleManager.run(ApplicationLifecycleManager.java:100)
                at io.quarkus.runtime.Quarkus.run(Quarkus.java:66)
                at io.quarkus.runtime.Quarkus.run(Quarkus.java:42)
                at io.quarkus.runtime.Quarkus.run(Quarkus.java:119)
                at io.quarkus.runner.GeneratedMain.main(GeneratedMain.zig:29)
                at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.base/java.lang.reflect.Method.invoke(Method.java:566)
                at 
io.quarkus.bootstrap.runner.QuarkusEntryPoint.doRun(QuarkusEntryPoint.java:48)
                at 
io.quarkus.bootstrap.runner.QuarkusEntryPoint.main(QuarkusEntryPoint.java:25)
   ```


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to