Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
4.7.0
-
None
-
Unknown
Description
https://github.com/apache/camel-spring-boot-examples/tree/main/fhir-auth-tx
[ERROR] Failures: [ERROR] sample.camel.MyCamelApplicationTest.shouldPushConvertedHl7toFhir [ERROR] Run 1: MyCamelApplicationTest.shouldPushConvertedHl7toFhir:46 mock://fhir:transaction/withResources Received message count. Expected: <1> but was: <0> [ERROR] Run 2: MyCamelApplicationTest.shouldPushConvertedHl7toFhir:46 mock://fhir:transaction/withResources Received message count. Expected: <1> but was: <0> [ERROR] Run 3: MyCamelApplicationTest.shouldPushConvertedHl7toFhir:46 mock://fhir:transaction/withResources Received message count. Expected: <1> but was: <0>
java.lang.NoClassDefFoundError: org/apache/commons/io/function/Uncheck at org.apache.commons.csv.CSVParser$CSVRecordIterator.getNextRecord(CSVParser.java:149) ~[commons-csv-1.11.0.jar:1.11.0] at org.apache.commons.csv.CSVParser$CSVRecordIterator.hasNext(CSVParser.java:158) ~[commons-csv-1.11.0.jar:1.11.0] at org.apache.camel.dataformat.csv.CsvUnmarshaller$BulkCsvUnmarshaller.asList(CsvUnmarshaller.java:123) ~[camel-csv-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] at org.apache.camel.dataformat.csv.CsvUnmarshaller$BulkCsvUnmarshaller.unmarshal(CsvUnmarshaller.java:115) ~[camel-csv-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] at org.apache.camel.dataformat.csv.CsvDataFormat.unmarshal(CsvDataFormat.java:100) ~[camel-csv-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] at org.apache.camel.support.processor.UnmarshalProcessor.process(UnmarshalProcessor.java:81) ~[camel-support-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] at org.apache.camel.processor.errorhandler.RedeliveryErrorHandler$RedeliveryTask.doRun(RedeliveryErrorHandler.java:808) ~[camel-core-processor-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] at org.apache.camel.processor.errorhandler.RedeliveryErrorHandler$RedeliveryTask.run(RedeliveryErrorHandler.java:714) ~[camel-core-processor-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] at org.apache.camel.impl.engine.DefaultReactiveExecutor$Worker.doRun(DefaultReactiveExecutor.java:199) ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] at org.apache.camel.impl.engine.DefaultReactiveExecutor$Worker.executeReactiveWork(DefaultReactiveExecutor.java:189) ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] at org.apache.camel.impl.engine.DefaultReactiveExecutor$Worker.tryExecuteReactiveWork(DefaultReactiveExecutor.java:166) ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] at org.apache.camel.impl.engine.DefaultReactiveExecutor$Worker.schedule(DefaultReactiveExecutor.java:148) ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] at org.apache.camel.impl.engine.DefaultReactiveExecutor.scheduleMain(DefaultReactiveExecutor.java:59) ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] at org.apache.camel.processor.Pipeline.process(Pipeline.java:163) ~[camel-core-processor-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] at org.apache.camel.impl.engine.CamelInternalProcessor.processNonTransacted(CamelInternalProcessor.java:346) ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] at org.apache.camel.impl.engine.CamelInternalProcessor.process(CamelInternalProcessor.java:322) ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] at org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:457) ~[camel-file-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] at org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:243) ~[camel-file-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] at org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:204) ~[camel-file-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] at org.apache.camel.support.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:205) ~[camel-support-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] at org.apache.camel.support.ScheduledPollConsumer.run(ScheduledPollConsumer.java:119) ~[camel-support-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) ~[na:na] at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) ~[na:na] at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) ~[na:na] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[na:na] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[na:na] at java.base/java.lang.Thread.run(Thread.java:840) ~[na:na] Caused by: java.lang.ClassNotFoundException: org.apache.commons.io.function.Uncheck at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[na:na] at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) ~[na:na] at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[na:na] ... 27 common frames omitted
Uncheck class was added in commons-io 2.12.0 https://commons.apache.org/proper/commons-io/apidocs/org/apache/commons/io/function/Uncheck.html so between the 2 conflicting versions.
Attachments
Attachments
Issue Links
- links to