apache / camel-karaf

Apache Camel Karaf support
https://camel.apache.org
Apache License 2.0
27 stars 61 forks source link

NoClassDefFoundError in integration test of infux-db2 #451

Open essobedo opened 1 month ago

essobedo commented 1 month ago

Even if the test passes, we can see the following error in the log of the build:

2024-07-19T11:08:28.1765553Z io.reactivex.rxjava3.exceptions.UndeliverableException: The exception could not be delivered to the consumer because it has already canceled/disposed the flow or the exception has nowhere to go to begin with. Further reading: https://github.com/ReactiveX/RxJava/wiki/What's-different-in-2.0#error-handling | java.lang.NoClassDefFoundError: io/reactivex/rxjava3/exceptions/Exceptions
2024-07-19T11:08:28.1768669Z    at io.reactivex.rxjava3.plugins.RxJavaPlugins.onError(RxJavaPlugins.java:372)
2024-07-19T11:08:28.1769804Z    at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:68)
2024-07-19T11:08:28.1771399Z    at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:56)
2024-07-19T11:08:28.1772700Z    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
2024-07-19T11:08:28.1774027Z    at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
2024-07-19T11:08:28.1775023Z    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
2024-07-19T11:08:28.1776144Z    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
2024-07-19T11:08:28.1776764Z    at java.base/java.lang.Thread.run(Thread.java:840)
2024-07-19T11:08:28.1777517Z Caused by: java.lang.NoClassDefFoundError: io/reactivex/rxjava3/exceptions/Exceptions
2024-07-19T11:08:28.1778401Z    at io.reactivex.rxjava3.internal.subscribers.BasicFuseableSubscriber.fail(BasicFuseableSubscriber.java:109)
2024-07-19T11:08:28.1779406Z    at io.reactivex.rxjava3.internal.operators.flowable.FlowableMap$MapSubscriber.onNext(FlowableMap.java:66)
2024-07-19T11:08:28.1780329Z    at io.reactivex.rxjava3.subscribers.SerializedSubscriber.onNext(SerializedSubscriber.java:103)
2024-07-19T11:08:28.1781569Z    at com.influxdb.client.internal.flowable.FlowableBufferTimedFlushable$BufferExactBoundedSubscriber.accept(FlowableBufferTimedFlushable.java:227)
2024-07-19T11:08:28.1782925Z    at com.influxdb.client.internal.flowable.FlowableBufferTimedFlushable$BufferExactBoundedSubscriber.accept(FlowableBufferTimedFlushable.java:85)
2024-07-19T11:08:28.1784188Z    at io.reactivex.rxjava3.internal.subscribers.QueueDrainSubscriber.fastPathOrderedEmitMax(QueueDrainSubscriber.java:107)
2024-07-19T11:08:28.1785444Z    at com.influxdb.client.internal.flowable.FlowableBufferTimedFlushable$BufferExactBoundedSubscriber.run(FlowableBufferTimedFlushable.java:281)
2024-07-19T11:08:28.1786474Z    at io.reactivex.rxjava3.core.Scheduler$Worker$PeriodicTask.run(Scheduler.java:543)
2024-07-19T11:08:28.1787269Z    at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:65)
2024-07-19T11:08:28.1787835Z    ... 6 more
2024-07-19T11:08:28.1788884Z Caused by: java.lang.ClassNotFoundException: Unable to load class 'io.reactivex.rxjava3.exceptions.Exceptions' because the bundle wiring for io.reactivex.rxjava3.rxjava is no longer valid.
2024-07-19T11:08:28.1790221Z    at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1542)
2024-07-19T11:08:28.1791123Z    at org.apache.felix.framework.BundleWiringImpl.access$300(BundleWiringImpl.java:79)
2024-07-19T11:08:28.1791963Z    at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1976)
2024-07-19T11:08:28.1792715Z    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
2024-07-19T11:08:28.1793148Z    ... 15 more
2024-07-19T11:08:28.1796248Z ##[error]Exception in thread "RxNewThreadScheduler-1" io.reactivex.rxjava3.exceptions.UndeliverableException: The exception could not be delivered to the consumer because it has already canceled/disposed the flow or the exception has nowhere to go to begin with. Further reading: https://github.com/ReactiveX/RxJava/wiki/What's-different-in-2.0#error-handling | java.lang.NoClassDefFoundError: io/reactivex/rxjava3/exceptions/Exceptions
2024-07-19T11:08:28.1800704Z    at io.reactivex.rxjava3.plugins.RxJavaPlugins.onError(RxJavaPlugins.java:372)
2024-07-19T11:08:28.1801637Z    at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:68)
2024-07-19T11:08:28.1802528Z    at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:56)
2024-07-19T11:08:28.1803280Z    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
2024-07-19T11:08:28.1804166Z    at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
2024-07-19T11:08:28.1805162Z    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
2024-07-19T11:08:28.1806006Z    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
2024-07-19T11:08:28.1806632Z    at java.base/java.lang.Thread.run(Thread.java:840)
2024-07-19T11:08:28.1807214Z Caused by: java.lang.NoClassDefFoundError: io/reactivex/rxjava3/exceptions/Exceptions
2024-07-19T11:08:28.1808113Z    at io.reactivex.rxjava3.internal.subscribers.BasicFuseableSubscriber.fail(BasicFuseableSubscriber.java:109)
2024-07-19T11:08:28.1809118Z    at io.reactivex.rxjava3.internal.operators.flowable.FlowableMap$MapSubscriber.onNext(FlowableMap.java:66)
2024-07-19T11:08:28.1810050Z    at io.reactivex.rxjava3.subscribers.SerializedSubscriber.onNext(SerializedSubscriber.java:103)
2024-07-19T11:08:28.1811258Z    at com.influxdb.client.internal.flowable.FlowableBufferTimedFlushable$BufferExactBoundedSubscriber.accept(FlowableBufferTimedFlushable.java:227)
2024-07-19T11:08:28.1812619Z    at com.influxdb.client.internal.flowable.FlowableBufferTimedFlushable$BufferExactBoundedSubscriber.accept(FlowableBufferTimedFlushable.java:85)
2024-07-19T11:08:28.1813889Z    at io.reactivex.rxjava3.internal.subscribers.QueueDrainSubscriber.fastPathOrderedEmitMax(QueueDrainSubscriber.java:107)
2024-07-19T11:08:28.1815410Z    at com.influxdb.client.internal.flowable.FlowableBufferTimedFlushable$BufferExactBoundedSubscriber.run(FlowableBufferTimedFlushable.java:281)
2024-07-19T11:08:28.1816478Z    at io.reactivex.rxjava3.core.Scheduler$Worker$PeriodicTask.run(Scheduler.java:543)
2024-07-19T11:08:28.1817289Z    at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:65)
2024-07-19T11:08:28.1817871Z    ... 6 more
2024-07-19T11:08:28.1818914Z Caused by: java.lang.ClassNotFoundException: Unable to load class 'io.reactivex.rxjava3.exceptions.Exceptions' because the bundle wiring for io.reactivex.rxjava3.rxjava is no longer valid.
2024-07-19T11:08:28.1820254Z    at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1542)
2024-07-19T11:08:28.1821171Z    at org.apache.felix.framework.BundleWiringImpl.access$300(BundleWiringImpl.java:79)
2024-07-19T11:08:28.1822014Z    at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1976)
2024-07-19T11:08:28.1822776Z    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
2024-07-19T11:08:28.1823214Z    ... 15 more