You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/12/23 16:04:04 UTC

[GitHub] [camel-quarkus] ffang opened a new issue #3417: [quarkus-main][MAC OS]java.lang.UnsatisfiedLinkError: no awt in java.library.path in native tests

ffang opened a new issue #3417:
URL: https://github.com/apache/camel-quarkus/issues/3417


   ```
   Caused by: java.lang.UnsatisfiedLinkError: no awt in java.library.path
   	at com.oracle.svm.core.jdk.NativeLibrarySupport.loadLibraryRelative(NativeLibrarySupport.java:132)
   	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:197)
   	at java.lang.Runtime.loadLibrary0(Runtime.java:830)
   	at java.lang.System.loadLibrary(System.java:1871)
   	at java.awt.image.ColorModel$1.run(ColorModel.java:209)
   	at java.awt.image.ColorModel$1.run(ColorModel.java:207)
   	at java.security.AccessController.doPrivileged(AccessController.java:87)
   	at java.awt.image.ColorModel.loadLibraries(ColorModel.java:206)
   	at java.awt.image.ColorModel.<clinit>(ColorModel.java:219)
   	at com.oracle.svm.core.classinitialization.ClassInitializationInfo.invokeClassInitializer(ClassInitializationInfo.java:375)
   	at com.oracle.svm.core.classinitialization.ClassInitializationInfo.initialize(ClassInitializationInfo.java:295)
   	at java.awt.image.Raster.<clinit>(Raster.java:172)
   	at com.oracle.svm.core.classinitialization.ClassInitializationInfo.invokeClassInitializer(ClassInitializationInfo.java:375)
   	at com.oracle.svm.core.classinitialization.ClassInitializationInfo.initialize(ClassInitializationInfo.java:295)
   	at org.apache.pdfbox.pdmodel.PDDocument.<clinit>(PDDocument.java:107)
   	at com.oracle.svm.core.classinitialization.ClassInitializationInfo.invokeClassInitializer(ClassInitializationInfo.java:375)
   	at com.oracle.svm.core.classinitialization.ClassInitializationInfo.initialize(ClassInitializationInfo.java:295)
   	at org.apache.camel.component.pdf.PdfProducer.doCreate(PdfProducer.java:117)
   	at org.apache.camel.component.pdf.PdfProducer.process(PdfProducer.java:67)
   	at org.apache.camel.support.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:66)
   	... 39 more
   
   2021-12-23 11:00:54,993 ERROR [io.qua.ver.htt.run.QuarkusErrorHandler] (executor-thread-0) HTTP Request to /pdf/appendText failed, error id: a02d1ca7-ea37-4b13-86a8-13bd83a678a4-2: org.jboss.resteasy.spi.UnhandledException: java.lang.NoClassDefFoundError: Could not initialize class org.apache.pdfbox.pdmodel.PDDocument
   	at org.jboss.resteasy.core.ExceptionHandler.handleApplicationException(ExceptionHandler.java:105)
   	at org.jboss.resteasy.core.ExceptionHandler.handleException(ExceptionHandler.java:359)
   	at org.jboss.resteasy.core.SynchronousDispatcher.writeException(SynchronousDispatcher.java:218)
   	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:519)
   	at org.jboss.resteasy.core.SynchronousDispatcher.lambda$invoke$4(SynchronousDispatcher.java:261)
   	at org.jboss.resteasy.core.SynchronousDispatcher.lambda$preprocess$0(SynchronousDispatcher.java:161)
   	at org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:364)
   	at org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:164)
   	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:247)
   	at io.quarkus.resteasy.runtime.standalone.RequestDispatcher.service(RequestDispatcher.java:73)
   	at io.quarkus.resteasy.runtime.standalone.VertxRequestHandler.dispatch(VertxRequestHandler.java:151)
   	at io.quarkus.resteasy.runtime.standalone.VertxRequestHandler$1.run(VertxRequestHandler.java:91)
   	at io.quarkus.vertx.core.runtime.VertxCoreRecorder$13.runWith(VertxCoreRecorder.java:543)
   	at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449)
   	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478)
   	at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:29)
   	at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:29)
   	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
   	at java.lang.Thread.run(Thread.java:829)
   	at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:567)
   	at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:192)
   ```
   tika and pdf itests are affected by this(on both JDK11 and JDK17)


-- 
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-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-quarkus] jamesnetherton commented on issue #3417: [Quarkus 2.7.0][MAC OS]java.lang.UnsatisfiedLinkError: no awt in java.library.path in native tests

Posted by GitBox <gi...@apache.org>.
jamesnetherton commented on issue #3417:
URL: https://github.com/apache/camel-quarkus/issues/3417#issuecomment-1016559692


   @ffang is there anything else needed here? https://github.com/apache/camel-quarkus/commit/0d0f0f1cbad8aecc843df3f067bb82f6444ad669 has been merged to `main`.


-- 
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-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-quarkus] ffang commented on issue #3417: [quarkus-main][MAC OS]java.lang.UnsatisfiedLinkError: no awt in java.library.path in native tests

Posted by GitBox <gi...@apache.org>.
ffang commented on issue #3417:
URL: https://github.com/apache/camel-quarkus/issues/3417#issuecomment-1000431491


   PR to disable those native tests on mac osx
   https://github.com/apache/camel-quarkus/pull/3418


-- 
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-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-quarkus] jamesnetherton closed issue #3417: [Quarkus 2.7.0][MAC OS]java.lang.UnsatisfiedLinkError: no awt in java.library.path in native tests

Posted by GitBox <gi...@apache.org>.
jamesnetherton closed issue #3417:
URL: https://github.com/apache/camel-quarkus/issues/3417


   


-- 
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-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org