aldettinger commented on pull request #2758:
URL: https://github.com/apache/camel-quarkus/pull/2758#issuecomment-860474128
This PR may introduce a build issue:
```
[camel-quarkus-integration-test-azure-grouped-2.0.0-SNAPSHOT-runner:26]
setup: 2,633.22 ms, 1.69 GB
java.lang.ClassNotFoundException:
com.azure.storage.blob.implementation.DirectorysImpl$DirectorysService
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:315)
at io.quarkus.runner.AutoFeature.beforeAnalysis(AutoFeature.zig:1625)
at
com.oracle.svm.hosted.NativeImageGenerator.lambda$runPointsToAnalysis$13(NativeImageGenerator.java:726)
at
com.oracle.svm.hosted.FeatureHandler.forEachFeature(FeatureHandler.java:71)
at
com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:726)
at
com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:582)
at
com.oracle.svm.hosted.NativeImageGenerator.lambda$run$2(NativeImageGenerator.java:495)
at
java.base/java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1407)
at
java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
at
java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
at
java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
at
java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
at
java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
To see how the classes got initialized, use
--trace-class-initialization=io.netty.buffer.AbstractReferenceCountedByteBuf,io.netty.buffer.UnpooledHeapByteBuf,io.netty.util.AbstractReferenceCounted,io.netty.buffer.UnpooledDirectByteBuf,io.netty.buffer.ByteBufUtil,io.netty.buffer.PooledSlicedByteBuf,io.netty.internal.tcnative.SSL,io.netty.handler.ssl.OpenSslContext,io.netty.handler.ssl.ReferenceCountedOpenSslContext,io.netty.buffer.UnpooledUnsafeDirectByteBuf,io.netty.handler.ssl.OpenSslClientContext,io.netty.handler.ssl.OpenSsl,io.netty.handler.ssl.ReferenceCountedOpenSslClientContext,io.netty.buffer.UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeDirectByteBuf,io.netty.buffer.AbstractPooledDerivedByteBuf,io.netty.channel.socket.InternetProtocolFamily,io.netty.buffer.PooledByteBufAllocator,io.netty.buffer.ByteBufAllocator
Error: Classes that should be initialized at run time got initialized during
image building:
[camel-quarkus-integration-test-azure-grouped-2.0.0-SNAPSHOT-runner:26]
analysis: 71,840.74 ms, 2.75 GB
io.netty.buffer.AbstractReferenceCountedByteBuf the class was requested to
be initialized at run time (from
jar:file:///project/lib/io.netty.netty-buffer-4.1.65.Final.jar!/META-INF/native-image/io.netty/buffer/native-image.properties).
To see why io.netty.buffer.AbstractReferenceCountedByteBuf got initialized use
--trace-class-initialization=io.netty.buffer.AbstractReferenceCountedByteBuf
io.netty.buffer.UnpooledHeapByteBuf the class was requested to be
initialized at run time (subtype of
io.netty.buffer.AbstractReferenceCountedByteBuf). To see why
io.netty.buffer.UnpooledHeapByteBuf got initialized use
--trace-class-initialization=io.netty.buffer.UnpooledHeapByteBuf
io.netty.util.AbstractReferenceCounted the class was requested to be
initialized at run time (from
jar:file:///project/lib/io.netty.netty-common-4.1.65.Final.jar!/META-INF/native-image/io.netty/common/native-image.properties).
To see why io.netty.util.AbstractReferenceCounted got initialized use
--trace-class-initialization=io.netty.util.AbstractReferenceCounted
io.netty.buffer.UnpooledDirectByteBuf the class was requested to be
initialized at run time (subtype of
io.netty.buffer.AbstractReferenceCountedByteBuf). To see why
io.netty.buffer.UnpooledDirectByteBuf got initialized use
--trace-class-initialization=io.netty.buffer.UnpooledDirectByteBuf
io.netty.buffer.ByteBufUtil the class was requested to be initialized at run
time (from
jar:file:///project/lib/io.netty.netty-buffer-4.1.65.Final.jar!/META-INF/native-image/io.netty/buffer/native-image.properties
and from feature io.quarkus.runner.AutoFeature.beforeAnalysis). To see why
io.netty.buffer.ByteBufUtil got initialized use
--trace-class-initialization=io.netty.buffer.ByteBufUtil
io.netty.buffer.PooledSlicedByteBuf the class was requested to be
initialized at run time (subtype of
io.netty.buffer.AbstractReferenceCountedByteBuf). To see why
io.netty.buffer.PooledSlicedByteBuf got initialized use
--trace-class-initialization=io.netty.buffer.PooledSlicedByteBuf
io.netty.internal.tcnative.SSL the class was requested to be initialized at
run time (from feature io.quarkus.runner.AutoFeature.beforeAnalysis). To see
why io.netty.internal.tcnative.SSL got initialized use
--trace-class-initialization=io.netty.internal.tcnative.SSL
io.netty.handler.ssl.OpenSslContext the class was requested to be
initialized at run time (subtype of
io.netty.handler.ssl.ReferenceCountedOpenSslContext). To see why
io.netty.handler.ssl.OpenSslContext got initialized use
--trace-class-initialization=io.netty.handler.ssl.OpenSslContext
io.netty.handler.ssl.ReferenceCountedOpenSslContext the class was requested
to be initialized at run time (from feature
io.quarkus.runner.AutoFeature.beforeAnalysis). To see why
io.netty.handler.ssl.ReferenceCountedOpenSslContext got initialized use
--trace-class-initialization=io.netty.handler.ssl.ReferenceCountedOpenSslContext
io.netty.buffer.UnpooledUnsafeDirectByteBuf the class was requested to be
initialized at run time (subtype of
io.netty.buffer.AbstractReferenceCountedByteBuf). To see why
io.netty.buffer.UnpooledUnsafeDirectByteBuf got initialized use
--trace-class-initialization=io.netty.buffer.UnpooledUnsafeDirectByteBuf
io.netty.handler.ssl.OpenSslClientContext the class was requested to be
initialized at run time (subtype of
io.netty.handler.ssl.ReferenceCountedOpenSslContext). To see why
io.netty.handler.ssl.OpenSslClientContext got initialized use
--trace-class-initialization=io.netty.handler.ssl.OpenSslClientContext
io.netty.handler.ssl.OpenSsl the class was requested to be initialized at
run time (from feature io.quarkus.runner.AutoFeature.beforeAnalysis). To see
why io.netty.handler.ssl.OpenSsl got initialized use
--trace-class-initialization=io.netty.handler.ssl.OpenSsl
io.netty.handler.ssl.ReferenceCountedOpenSslClientContext the class was
requested to be initialized at run time (from feature
io.quarkus.runner.AutoFeature.beforeAnalysis and subtype of
io.netty.handler.ssl.ReferenceCountedOpenSslContext). To see why
io.netty.handler.ssl.ReferenceCountedOpenSslClientContext got initialized use
--trace-class-initialization=io.netty.handler.ssl.ReferenceCountedOpenSslClientContext
io.netty.buffer.UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeDirectByteBuf
the class was requested to be initialized at run time (subtype of
io.netty.buffer.AbstractReferenceCountedByteBuf). To see why
io.netty.buffer.UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeDirectByteBuf
got initialized use
--trace-class-initialization=io.netty.buffer.UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeDirectByteBuf
io.netty.buffer.AbstractPooledDerivedByteBuf the class was requested to be
initialized at run time (subtype of
io.netty.buffer.AbstractReferenceCountedByteBuf). To see why
io.netty.buffer.AbstractPooledDerivedByteBuf got initialized use
--trace-class-initialization=io.netty.buffer.AbstractPooledDerivedByteBuf
io.netty.channel.socket.InternetProtocolFamily the class was requested to be
initialized at run time (from feature
io.quarkus.runner.AutoFeature.beforeAnalysis). To see why
io.netty.channel.socket.InternetProtocolFamily got initialized use
--trace-class-initialization=io.netty.channel.socket.InternetProtocolFamily
io.netty.buffer.PooledByteBufAllocator the class was requested to be
initialized at run time (from
jar:file:///project/lib/io.netty.netty-buffer-4.1.65.Final.jar!/META-INF/native-image/io.netty/buffer/native-image.properties
and from feature io.quarkus.runner.AutoFeature.beforeAnalysis). To see why
io.netty.buffer.PooledByteBufAllocator got initialized use
--trace-class-initialization=io.netty.buffer.PooledByteBufAllocator
io.netty.buffer.ByteBufAllocator the class was requested to be initialized
at run time (from
jar:file:///project/lib/io.netty.netty-buffer-4.1.65.Final.jar!/META-INF/native-image/io.netty/buffer/native-image.properties
and from feature io.quarkus.runner.AutoFeature.beforeAnalysis). To see why
io.netty.buffer.ByteBufAllocator got initialized use
--trace-class-initialization=io.netty.buffer.ByteBufAllocator
com.oracle.svm.core.util.UserError$UserException: Classes that should be
initialized at run time got initialized during image building:
io.netty.buffer.AbstractReferenceCountedByteBuf the class was requested to
be initialized at run time (from
jar:file:///project/lib/io.netty.netty-buffer-4.1.65.Final.jar!/META-INF/native-image/io.netty/buffer/native-image.properties).
To see why io.netty.buffer.AbstractReferenceCountedByteBuf got initialized use
--trace-class-initialization=io.netty.buffer.AbstractReferenceCountedByteBuf
io.netty.buffer.UnpooledHeapByteBuf the class was requested to be
initialized at run time (subtype of
io.netty.buffer.AbstractReferenceCountedByteBuf). To see why
io.netty.buffer.UnpooledHeapByteBuf got initialized use
--trace-class-initialization=io.netty.buffer.UnpooledHeapByteBuf
io.netty.util.AbstractReferenceCounted the class was requested to be
initialized at run time (from
jar:file:///project/lib/io.netty.netty-common-4.1.65.Final.jar!/META-INF/native-image/io.netty/common/native-image.properties).
To see why io.netty.util.AbstractReferenceCounted got initialized use
--trace-class-initialization=io.netty.util.AbstractReferenceCounted
io.netty.buffer.UnpooledDirectByteBuf the class was requested to be
initialized at run time (subtype of
io.netty.buffer.AbstractReferenceCountedByteBuf). To see why
io.netty.buffer.UnpooledDirectByteBuf got initialized use
--trace-class-initialization=io.netty.buffer.UnpooledDirectByteBuf
io.netty.buffer.ByteBufUtil the class was requested to be initialized at run
time (from
jar:file:///project/lib/io.netty.netty-buffer-4.1.65.Final.jar!/META-INF/native-image/io.netty/buffer/native-image.properties
and from feature io.quarkus.runner.AutoFeature.beforeAnalysis). To see why
io.netty.buffer.ByteBufUtil got initialized use
--trace-class-initialization=io.netty.buffer.ByteBufUtil
io.netty.buffer.PooledSlicedByteBuf the class was requested to be
initialized at run time (subtype of
io.netty.buffer.AbstractReferenceCountedByteBuf). To see why
io.netty.buffer.PooledSlicedByteBuf got initialized use
--trace-class-initialization=io.netty.buffer.PooledSlicedByteBuf
io.netty.internal.tcnative.SSL the class was requested to be initialized at
run time (from feature io.quarkus.runner.AutoFeature.beforeAnalysis). To see
why io.netty.internal.tcnative.SSL got initialized use
--trace-class-initialization=io.netty.internal.tcnative.SSL
io.netty.handler.ssl.OpenSslContext the class was requested to be
initialized at run time (subtype of
io.netty.handler.ssl.ReferenceCountedOpenSslContext). To see why
io.netty.handler.ssl.OpenSslContext got initialized use
--trace-class-initialization=io.netty.handler.ssl.OpenSslContext
io.netty.handler.ssl.ReferenceCountedOpenSslContext the class was requested
to be initialized at run time (from feature
io.quarkus.runner.AutoFeature.beforeAnalysis). To see why
io.netty.handler.ssl.ReferenceCountedOpenSslContext got initialized use
--trace-class-initialization=io.netty.handler.ssl.ReferenceCountedOpenSslContext
io.netty.buffer.UnpooledUnsafeDirectByteBuf the class was requested to be
initialized at run time (subtype of
io.netty.buffer.AbstractReferenceCountedByteBuf). To see why
io.netty.buffer.UnpooledUnsafeDirectByteBuf got initialized use
--trace-class-initialization=io.netty.buffer.UnpooledUnsafeDirectByteBuf
io.netty.handler.ssl.OpenSslClientContext the class was requested to be
initialized at run time (subtype of
io.netty.handler.ssl.ReferenceCountedOpenSslContext). To see why
io.netty.handler.ssl.OpenSslClientContext got initialized use
--trace-class-initialization=io.netty.handler.ssl.OpenSslClientContext
io.netty.handler.ssl.OpenSsl the class was requested to be initialized at
run time (from feature io.quarkus.runner.AutoFeature.beforeAnalysis). To see
why io.netty.handler.ssl.OpenSsl got initialized use
--trace-class-initialization=io.netty.handler.ssl.OpenSsl
io.netty.handler.ssl.ReferenceCountedOpenSslClientContext the class was
requested to be initialized at run time (from feature
io.quarkus.runner.AutoFeature.beforeAnalysis and subtype of
io.netty.handler.ssl.ReferenceCountedOpenSslContext). To see why
io.netty.handler.ssl.ReferenceCountedOpenSslClientContext got initialized use
--trace-class-initialization=io.netty.handler.ssl.ReferenceCountedOpenSslClientContext
io.netty.buffer.UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeDirectByteBuf
the class was requested to be initialized at run time (subtype of
io.netty.buffer.AbstractReferenceCountedByteBuf). To see why
io.netty.buffer.UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeDirectByteBuf
got initialized use
--trace-class-initialization=io.netty.buffer.UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeDirectByteBuf
io.netty.buffer.AbstractPooledDerivedByteBuf the class was requested to be
initialized at run time (subtype of
io.netty.buffer.AbstractReferenceCountedByteBuf). To see why
io.netty.buffer.AbstractPooledDerivedByteBuf got initialized use
--trace-class-initialization=io.netty.buffer.AbstractPooledDerivedByteBuf
io.netty.channel.socket.InternetProtocolFamily the class was requested to be
initialized at run time (from feature
io.quarkus.runner.AutoFeature.beforeAnalysis). To see why
io.netty.channel.socket.InternetProtocolFamily got initialized use
--trace-class-initialization=io.netty.channel.socket.InternetProtocolFamily
io.netty.buffer.PooledByteBufAllocator the class was requested to be
initialized at run time (from
jar:file:///project/lib/io.netty.netty-buffer-4.1.65.Final.jar!/META-INF/native-image/io.netty/buffer/native-image.properties
and from feature io.quarkus.runner.AutoFeature.beforeAnalysis). To see why
io.netty.buffer.PooledByteBufAllocator got initialized use
--trace-class-initialization=io.netty.buffer.PooledByteBufAllocator
io.netty.buffer.ByteBufAllocator the class was requested to be initialized
at run time (from
jar:file:///project/lib/io.netty.netty-buffer-4.1.65.Final.jar!/META-INF/native-image/io.netty/buffer/native-image.properties
and from feature io.quarkus.runner.AutoFeature.beforeAnalysis). To see why
io.netty.buffer.ByteBufAllocator got initialized use
--trace-class-initialization=io.netty.buffer.ByteBufAllocator
at com.oracle.svm.core.util.UserError.abort(UserError.java:68)
at
com.oracle.svm.hosted.classinitialization.ConfigurableClassInitialization.checkDelayedInitialization(ConfigurableClassInitialization.java:545)
at
com.oracle.svm.hosted.classinitialization.ClassInitializationFeature.duringAnalysis(ClassInitializationFeature.java:228)
at
com.oracle.svm.hosted.NativeImageGenerator.lambda$runPointsToAnalysis$14(NativeImageGenerator.java:765)
at
com.oracle.svm.hosted.FeatureHandler.forEachFeature(FeatureHandler.java:71)
at
com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:765)
at
com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:582)
at
com.oracle.svm.hosted.NativeImageGenerator.lambda$run$2(NativeImageGenerator.java:495)
at
java.base/java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1407)
at
java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
at
java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
at
java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
at
java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
at
java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
Error: Image build request failed with exit status 1
```
--
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]