You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Components that leverage ScheduledPollConsumer allow you to specify the scheduler to use. When using quartz, there are failures at runtime in native mode:
2020-09-01 09:48:00,000 ERROR [org.qua.cor.ErrorLogger] (DefaultQuartzScheduler-camel-quarkus-xml_QuartzSchedulerThread) An error occured instantiating job to be executed. job= 'DEFAULT.6da64b5bd2ee-ba5b34dc-56b8-4169-bf94-a1bae35a1df5': org.quartz.SchedulerException: Problem instantiating class 'org.apache.camel.pollconsumer.quartz.QuartzScheduledPollConsumerJob' [See nested exception: java.lang.InstantiationException: Type `org.apache.camel.pollconsumer.quartz.QuartzScheduledPollConsumerJob` can not be instantiated reflectively as it does not have a no-parameter constructor or the no-parameter constructor has not been added explicitly to the native image.]
at org.quartz.simpl.SimpleJobFactory.newJob(SimpleJobFactory.java:58)
at org.quartz.simpl.PropertySettingJobFactory.newJob(PropertySettingJobFactory.java:69)
at org.quartz.core.JobRunShell.initialize(JobRunShell.java:127)
at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:392)
at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:517)
at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:193)
Caused by: java.lang.InstantiationException: Type `org.apache.camel.pollconsumer.quartz.QuartzScheduledPollConsumerJob` can not be instantiated reflectively as it does not have a no-parameter constructor or the no-parameter constructor has not been added explicitly to the native image.
at java.lang.Class.newInstance(DynamicHub.java:830)
at org.quartz.simpl.SimpleJobFactory.newJob(SimpleJobFactory.java:56)
... 5 more
The text was updated successfully, but these errors were encountered:
Components that leverage
ScheduledPollConsumer
allow you to specify the scheduler to use. When using quartz, there are failures at runtime in native mode:The text was updated successfully, but these errors were encountered: