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 2022/06/28 08:56:20 UTC

[GitHub] [camel-quarkus] aldettinger commented on issue #3832: Cannot compile native image for Google PubSub integration tests

aldettinger commented on issue #3832:
URL: https://github.com/apache/camel-quarkus/issues/3832#issuecomment-1168434108

   In the stack trace we see:
   ```
   Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: com.google.rpc.ErrorInfo. This error is reported at image build time because class com.google.cloud.pubsub.v1.StreamingSubscriberConnection is registered for linking at image build time by command line
   Trace: 
   	at parsing com.google.cloud.pubsub.v1.StreamingSubscriberConnection.getMetadataMapFromThrowable(StreamingSubscriberConnection.java:478)
   Call path from entry point to com.google.cloud.pubsub.v1.StreamingSubscriberConnection.getMetadataMapFromThrowable(Throwable): 
   	at com.google.cloud.pubsub.v1.StreamingSubscriberConnection.getMetadataMapFromThrowable(StreamingSubscriberConnection.java:474)
   	at com.google.cloud.pubsub.v1.StreamingSubscriberConnection.access$3200(StreamingSubscriberConnection.java:53)
   	at com.google.cloud.pubsub.v1.StreamingSubscriberConnection$2.onFailure(StreamingSubscriberConnection.java:522)
   	at com.google.api.core.ApiFutures$1.onFailure(ApiFutures.java:67)
   	at com.google.common.util.concurrent.Futures$CallbackListener.run(Futures.java:1135)
   	at java.lang.Thread.run(Thread.java:829)
   	at com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:704)
   	at com.oracle.svm.core.posix.thread.PosixPlatformThreads.pthreadStartRoutine(PosixPlatformThreads.java:202)
   	at com.oracle.svm.core.code.IsolateEnterStub.PosixPlatformThreads_pthreadStartRoutine_38d96cbc1a188a6051c29be1299afe681d67942e(generated:0)
   ```
   
   This part of the issue might find its root cause in camel-quarkus-bom version management.
   
   The class `com.google.rpc.ErrorInfo` should apparently come from `com.google.api.grpc::proto-google-common-protos`.
   Camel-quarkus-bom manages this artifact to version 1.17.0 where the class is not present.
   The original dependency management from camel would manage this artifact to version 2.18.3 where the class is present.


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