jamesnetherton opened a new issue, #5070:
URL: https://github.com/apache/camel-quarkus/issues/5070

   ### Bug description
   
   For some reason this has recently popped up on the CI builds:
   
   ```
   2023-07-06T15:51:28.1555920Z [INFO] 
-------------------------------------------------------
   2023-07-06T15:51:28.1556320Z [INFO]  T E S T S
   2023-07-06T15:51:28.1556760Z [INFO] 
-------------------------------------------------------
   2023-07-06T15:51:29.0215396Z [INFO] Running 
org.apache.camel.quarkus.component.nitrite.it.NitriteIT
   2023-07-06T15:51:33.0323722Z 
======================================================================================
   2023-07-06T15:51:33.0324350Z   native.image.path was not set, making a guess 
for the correct path of native image
   2023-07-06T15:51:33.0325453Z   guessed path: 
/home/runner/work/camel-quarkus/camel-quarkus/integration-tests/nitrite/target/camel-quarkus-integration-test-nitrite-3.0.0-SNAPSHOT-runner
   2023-07-06T15:51:33.0326449Z 
======================================================================================
   2023-07-06T15:51:33.0336065Z Executing 
"/home/runner/work/camel-quarkus/camel-quarkus/integration-tests/nitrite/target/camel-quarkus-integration-test-nitrite-3.0.0-SNAPSHOT-runner
 -Dquarkus.http.port=8081 -Dquarkus.http.ssl-port=8444 
-Dtest.url=http://localhost:8081 
-Dquarkus.log.file.path=/home/runner/work/camel-quarkus/camel-quarkus/integration-tests/nitrite/target/quarkus.log
 -Dquarkus.log.file.enable=true -Dquarkus.log.category."io.quarkus".level=INFO 
-Dcamel.quarkus.nitrite.test.db.file=/tmp/NitriteTestResource-db-file-17819878958287804087"
   2023-07-06T15:51:33.1319606Z 2023-07-06 15:51:33,050 INFO  
[org.apa.cam.qua.cor.CamelBootstrapRecorder] (main) Bootstrap runtime: 
org.apache.camel.quarkus.main.CamelMainRuntime
   2023-07-06T15:51:33.1321026Z 2023-07-06 15:51:33,051 INFO  
[org.apa.cam.mai.MainSupport] (main) Apache Camel (Main) 4.0.0-RC1 is starting
   2023-07-06T15:51:33.1321867Z 2023-07-06 15:51:33,060 INFO  
[org.apa.cam.imp.eng.AbstractCamelContext] (main) Apache Camel 4.0.0-RC1 
(camel-1) is starting
   2023-07-06T15:51:33.1322916Z 2023-07-06 15:51:33,060 INFO  
[org.apa.cam.imp.eng.AbstractCamelContext] (main) Routes startup (started:0)
   2023-07-06T15:51:33.1323847Z 2023-07-06 15:51:33,060 INFO  
[org.apa.cam.imp.eng.AbstractCamelContext] (main) Apache Camel 4.0.0-RC1 
(camel-1) started in 0ms (build:0ms init:0ms start:0ms)
   2023-07-06T15:51:33.1325085Z 2023-07-06 15:51:33,064 INFO  [io.quarkus] 
(main) camel-quarkus-integration-test-nitrite 3.0.0-SNAPSHOT native (powered by 
Quarkus 3.2.0.Final) started in 0.042s. Listening on: http://0.0.0.0:8081
   2023-07-06T15:51:33.1325889Z 2023-07-06 15:51:33,064 INFO  [io.quarkus] 
(main) Profile prod activated. 
   2023-07-06T15:51:33.1326938Z 2023-07-06 15:51:33,064 INFO  [io.quarkus] 
(main) Installed features: [camel-core, camel-nitrite, cdi, resteasy, 
resteasy-jackson, smallrye-context-propagation, vertx]
   2023-07-06T15:51:43.1229021Z ##[error]Exception in thread "MVStore 
background writer nio:/tmp/NitriteTestResource-db-file-17819878958287804087" 
java.lang.IllegalStateException: java.lang.IllegalArgumentException: Could not 
serialize [[3941604762136]NO₂] [1.4.200/0] [1.4.200/3]
   2023-07-06T15:51:43.1524187Z         at 
org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:950)
   2023-07-06T15:51:43.2171401Z         at 
org.h2.mvstore.MVStore.store(MVStore.java:1338)
   2023-07-06T15:51:43.2172037Z         at 
org.h2.mvstore.MVStore.store(MVStore.java:1312)
   2023-07-06T15:51:43.2172518Z         at 
org.h2.mvstore.MVStore.tryCommit(MVStore.java:1272)
   2023-07-06T15:51:43.2173014Z         at 
org.h2.mvstore.MVStore.writeInBackground(MVStore.java:2780)
   2023-07-06T15:51:43.2173539Z         at 
org.h2.mvstore.MVStore$BackgroundWriterThread.run(MVStore.java:3290)
   2023-07-06T15:51:43.2174239Z         at 
org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:807)
   2023-07-06T15:51:43.2175172Z         at 
org.graalvm.nativeimage.builder/com.oracle.svm.core.posix.thread.PosixPlatformThreads.pthreadStartRoutine(PosixPlatformThreads.java:210)
   2023-07-06T15:51:43.2176353Z Caused by: java.lang.IllegalArgumentException: 
Could not serialize [[3941604762136]NO₂] [1.4.200/0]
   2023-07-06T15:51:43.2177316Z         at 
org.h2.mvstore.DataUtils.newIllegalArgumentException(DataUtils.java:924)
   2023-07-06T15:51:43.2177939Z         at 
org.h2.mvstore.type.ObjectDataType.serialize(ObjectDataType.java:359)
   2023-07-06T15:51:43.2178655Z         at 
org.h2.mvstore.type.ObjectDataType$SerializedObjectType.write(ObjectDataType.java:1527)
   2023-07-06T15:51:43.2179593Z         at 
org.h2.mvstore.type.ObjectDataType.write(ObjectDataType.java:127)
   2023-07-06T15:51:43.2180134Z         at 
org.h2.mvstore.type.ObjectDataType.write(ObjectDataType.java:121)
   2023-07-06T15:51:43.2180627Z         at 
org.h2.mvstore.Page$Leaf.writeValues(Page.java:1516)
   2023-07-06T15:51:43.2181033Z         at 
org.h2.mvstore.Page.write(Page.java:670)
   2023-07-06T15:51:43.2181483Z         at 
org.h2.mvstore.Page$Leaf.writeUnsavedRecursive(Page.java:1525)
   2023-07-06T15:51:43.2181950Z         at 
org.h2.mvstore.MVStore.storeNow(MVStore.java:1427)
   2023-07-06T15:51:43.2182597Z         at 
org.h2.mvstore.MVStore.store(MVStore.java:1334)
   2023-07-06T15:51:43.2182939Z         ... 6 more
   2023-07-06T15:51:43.2184215Z Caused by: 
com.oracle.svm.core.jdk.UnsupportedFeatureError: 
SerializationConstructorAccessor class not found for declaringClass: 
java.util.concurrent.ConcurrentSkipListSet (targetConstructorClass: 
java.util.AbstractSet). Usually adding 
java.util.concurrent.ConcurrentSkipListSet to serialization-config.json fixes 
the problem.
   2023-07-06T15:51:43.2185371Z         at 
org.graalvm.nativeimage.builder/com.oracle.svm.core.util.VMError.unsupportedFeature(VMError.java:92)
   2023-07-06T15:51:43.2186351Z         at 
org.graalvm.nativeimage.builder/com.oracle.svm.core.reflect.serialize.SerializationSupport.getSerializationConstructorAccessor(SerializationSupport.java:143)
   2023-07-06T15:51:43.2187439Z         at 
java.base@17.0.7/jdk.internal.reflect.MethodAccessorGenerator.generateSerializationConstructor(MethodAccessorGenerator.java:61)
   2023-07-06T15:51:43.2188304Z         at 
java.base@17.0.7/jdk.internal.reflect.ReflectionFactory.generateConstructor(ReflectionFactory.java:463)
   2023-07-06T15:51:43.2189111Z         at 
java.base@17.0.7/jdk.internal.reflect.ReflectionFactory.newConstructorForSerialization(ReflectionFactory.java:455)
   2023-07-06T15:51:43.2189887Z         at 
java.base@17.0.7/java.io.ObjectStreamClass.getSerializableConstructor(ObjectStreamClass.java:1443)
   2023-07-06T15:51:43.2190498Z         at 
java.base@17.0.7/java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:412)
   2023-07-06T15:51:43.2191003Z         at 
java.base@17.0.7/java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:384)
   2023-07-06T15:51:43.2191593Z         at 
java.base@17.0.7/java.security.AccessController.executePrivileged(AccessController.java:171)
   2023-07-06T15:51:43.2192233Z         at 
java.base@17.0.7/java.security.AccessController.doPrivileged(AccessController.java:318)
   2023-07-06T15:51:43.2192802Z         at 
java.base@17.0.7/java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:384)
   2023-07-06T15:51:43.2193385Z         at 
java.base@17.0.7/java.io.ObjectStreamClass$Caches$1.computeValue(ObjectStreamClass.java:110)
   2023-07-06T15:51:43.2194017Z         at 
java.base@17.0.7/java.io.ObjectStreamClass$Caches$1.computeValue(ObjectStreamClass.java:107)
   2023-07-06T15:51:43.2195550Z         at 
java.base@17.0.7/java.io.ClassCache$1.computeValue(ClassCache.java:73)
   2023-07-06T15:51:43.2195961Z         at 
java.base@17.0.7/java.io.ClassCache$1.computeValue(ClassCache.java:70)
   2023-07-06T15:51:43.2196389Z         at 
java.base@17.0.7/java.lang.ClassValue.get(JavaLangSubstitutions.java:681)
   2023-07-06T15:51:43.2196790Z         at 
java.base@17.0.7/java.io.ClassCache.get(ClassCache.java:84)
   2023-07-06T15:51:43.2197216Z         at 
java.base@17.0.7/java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:363)
   2023-07-06T15:51:43.2197720Z         at 
java.base@17.0.7/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1137)
   2023-07-06T15:51:43.2198233Z         at 
java.base@17.0.7/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:350)
   2023-07-06T15:51:43.2198983Z         at 
org.h2.mvstore.type.ObjectDataType.serialize(ObjectDataType.java:356)
   2023-07-06T15:51:43.2199343Z         ... 14 more
   2023-07-06T15:51:43.2200696Z 2023-07-06 15:51:43,064 ERROR 
[io.qua.ver.htt.run.QuarkusErrorHandler] (executor-thread-1) HTTP Request to 
/nitrite/repositoryClass?mappable=false failed, error id: 
36f95039-4468-4295-a769-49c146d7d407-1: 
org.jboss.resteasy.spi.UnhandledException: 
org.apache.camel.CamelExecutionException: Exception occurred during execution 
on the exchange: Exchange[]
   2023-07-06T15:51:43.2201712Z         at 
org.jboss.resteasy.core.ExceptionHandler.handleApplicationException(ExceptionHandler.java:107)
   2023-07-06T15:51:43.2202363Z         at 
org.jboss.resteasy.core.ExceptionHandler.handleException(ExceptionHandler.java:344)
   2023-07-06T15:51:43.2203006Z         at 
org.jboss.resteasy.core.SynchronousDispatcher.writeException(SynchronousDispatcher.java:205)
   2023-07-06T15:51:43.2203641Z         at 
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:452)
   2023-07-06T15:51:43.2204243Z         at 
org.jboss.resteasy.core.SynchronousDispatcher.lambda$invoke$4(SynchronousDispatcher.java:240)
   2023-07-06T15:51:43.2205009Z         at 
org.jboss.resteasy.core.SynchronousDispatcher.lambda$preprocess$0(SynchronousDispatcher.java:154)
   2023-07-06T15:51:43.2205810Z         at 
org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:321)
   2023-07-06T15:51:43.2206598Z         at 
org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:157)
   2023-07-06T15:51:43.2207202Z         at 
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:229)
   2023-07-06T15:51:43.2207839Z         at 
io.quarkus.resteasy.runtime.standalone.RequestDispatcher.service(RequestDispatcher.java:82)
   2023-07-06T15:51:43.2208538Z         at 
io.quarkus.resteasy.runtime.standalone.VertxRequestHandler.dispatch(VertxRequestHandler.java:147)
   2023-07-06T15:51:43.2209222Z         at 
io.quarkus.resteasy.runtime.standalone.VertxRequestHandler$1.run(VertxRequestHandler.java:93)
   2023-07-06T15:51:43.2209813Z         at 
io.quarkus.vertx.core.runtime.VertxCoreRecorder$14.runWith(VertxCoreRecorder.java:576)
   2023-07-06T15:51:43.2210364Z         at 
org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
   2023-07-06T15:51:43.2210919Z         at 
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
   2023-07-06T15:51:43.2211427Z         at 
org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:29)
   2023-07-06T15:51:43.2211987Z         at 
org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:29)
   2023-07-06T15:51:43.2212601Z         at 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
   2023-07-06T15:51:43.2213074Z         at 
java.base@17.0.7/java.lang.Thread.run(Thread.java:833)
   2023-07-06T15:51:43.2213640Z         at 
org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:807)
   2023-07-06T15:51:43.2214493Z         at 
org.graalvm.nativeimage.builder/com.oracle.svm.core.posix.thread.PosixPlatformThreads.pthreadStartRoutine(PosixPlatformThreads.java:210)
   2023-07-06T15:51:43.2215255Z Caused by: 
org.apache.camel.CamelExecutionException: Exception occurred during execution 
on the exchange: Exchange[]
   2023-07-06T15:51:43.2215862Z         at 
org.apache.camel.support.ExchangeHelper.extractResultBody(ExchangeHelper.java:653)
   2023-07-06T15:51:43.2216545Z         at 
org.apache.camel.impl.engine.DefaultFluentProducerTemplate.request(DefaultFluentProducerTemplate.java:368)
   2023-07-06T15:51:43.2217320Z         at 
org.apache.camel.impl.engine.DefaultFluentProducerTemplate.request(DefaultFluentProducerTemplate.java:333)
   2023-07-06T15:51:43.2218127Z         at 
org.apache.camel.quarkus.component.nitrite.it.NitriteResource.postRepositoryClass(NitriteResource.java:87)
   2023-07-06T15:51:43.2218916Z         at 
org.apache.camel.quarkus.component.nitrite.it.NitriteResource_ClientProxy.postRepositoryClass(Unknown
 Source)
   2023-07-06T15:51:43.2219474Z         at 
java.base@17.0.7/java.lang.reflect.Method.invoke(Method.java:568)
   2023-07-06T15:51:43.2220237Z         at 
org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:154)
   2023-07-06T15:51:43.2220834Z         at 
org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:118)
   2023-07-06T15:51:43.2221593Z         at 
org.jboss.resteasy.core.ResourceMethodInvoker.internalInvokeOnTarget(ResourceMethodInvoker.java:560)
   2023-07-06T15:51:43.2222359Z         at 
org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTargetAfterFilter(ResourceMethodInvoker.java:452)
   2023-07-06T15:51:43.2223073Z         at 
org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invokeOnTarget$2(ResourceMethodInvoker.java:413)
   2023-07-06T15:51:43.2223876Z         at 
org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:321)
   2023-07-06T15:51:43.2224673Z         at 
org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:415)
   2023-07-06T15:51:43.2225303Z         at 
org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:378)
   2023-07-06T15:51:43.2225895Z         at 
org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:356)
   2023-07-06T15:51:43.2226579Z         at 
org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:70)
   2023-07-06T15:51:43.2227163Z         at 
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:429)
   2023-07-06T15:51:43.2227556Z         ... 17 more
   2023-07-06T15:51:43.2227921Z Caused by: 
org.dizitart.no2.exceptions.NitriteIOException: NO2.2004: store is closed
   2023-07-06T15:51:43.2228524Z         at 
org.dizitart.no2.internals.DefaultNitriteCollection.checkOpened(DefaultNitriteCollection.java:394)
   2023-07-06T15:51:43.2229214Z         at 
org.dizitart.no2.internals.DefaultNitriteCollection.update(DefaultNitriteCollection.java:320)
   2023-07-06T15:51:43.2229861Z         at 
org.dizitart.no2.objects.DefaultObjectRepository.update(DefaultObjectRepository.java:141)
   2023-07-06T15:51:43.2230489Z         at 
org.dizitart.no2.objects.DefaultObjectRepository.update(DefaultObjectRepository.java:126)
   2023-07-06T15:51:43.2231180Z         at 
org.apache.camel.component.nitrite.operation.common.UpsertOperation.execute(UpsertOperation.java:41)
   2023-07-06T15:51:43.2231880Z         at 
org.apache.camel.component.nitrite.NitriteProducer.process(NitriteProducer.java:78)
   2023-07-06T15:51:43.2232637Z         at 
org.apache.camel.support.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:66)
   2023-07-06T15:51:43.2233453Z         at 
org.apache.camel.impl.engine.SharedCamelInternalProcessor.process(SharedCamelInternalProcessor.java:214)
   2023-07-06T15:51:43.2234191Z         at 
org.apache.camel.impl.engine.SharedCamelInternalProcessor$1.process(SharedCamelInternalProcessor.java:111)
   2023-07-06T15:51:43.2234982Z         at 
org.apache.camel.impl.engine.DefaultAsyncProcessorAwaitManager.process(DefaultAsyncProcessorAwaitManager.java:81)
   2023-07-06T15:51:43.2235782Z         at 
org.apache.camel.impl.engine.SharedCamelInternalProcessor.process(SharedCamelInternalProcessor.java:108)
   2023-07-06T15:51:43.2236467Z         at 
org.apache.camel.support.cache.DefaultProducerCache.send(DefaultProducerCache.java:180)
   2023-07-06T15:51:43.2237116Z         at 
org.apache.camel.impl.engine.DefaultProducerTemplate.send(DefaultProducerTemplate.java:176)
   2023-07-06T15:51:43.2237769Z         at 
org.apache.camel.impl.engine.DefaultProducerTemplate.send(DefaultProducerTemplate.java:172)
   2023-07-06T15:51:43.2238490Z         at 
org.apache.camel.impl.engine.DefaultFluentProducerTemplate.request(DefaultFluentProducerTemplate.java:360)
   2023-07-06T15:51:43.2239137Z         ... 32 more
   ```


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