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/08/03 15:10:42 UTC
[GitHub] [camel-quarkus] jamesnetherton opened a new issue #2980: [Quarkus 2.2.0] Spring RabbitMQ native build fails
jamesnetherton opened a new issue #2980:
URL: https://github.com/apache/camel-quarkus/issues/2980
We need to examine exactly which Spring APIs this extension uses so that we can exclude the original `org.springframework` JARs and use the shaded versions that we produce in the `spring-support` module.
```
Caused by: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: No instances of java.io.FilePermission are allowed in the image heap as this class should be initialized at image runtime. To see how this object got instantiated use --trace-object-instantiation=java.io.FilePermission.
Detailed message:
Trace: Object was reached by
reading field java.util.concurrent.ConcurrentHashMap$Node.val of
constant java.util.concurrent.ConcurrentHashMap$Node@1ed6bdb8 reached by
indexing into array
constant java.util.concurrent.ConcurrentHashMap$Node[]@15d92b6f reached by
reading field java.util.concurrent.ConcurrentHashMap.table of
constant java.util.concurrent.ConcurrentHashMap@2d7f8159 reached by
reading field java.io.FilePermissionCollection.perms of
constant java.io.FilePermissionCollection@4b6ffdd3 reached by
reading field java.util.concurrent.ConcurrentHashMap$Node.val of
constant java.util.concurrent.ConcurrentHashMap$Node@4864a28f reached by
indexing into array
constant java.util.concurrent.ConcurrentHashMap$Node[]@3200d261 reached by
reading field java.util.concurrent.ConcurrentHashMap.table of
constant java.util.concurrent.ConcurrentHashMap@7e2c1a0c reached by
reading field java.security.Permissions.permsMap of
constant java.security.Permissions@7d8a9dac reached by
reading field java.security.ProtectionDomain.permissions of
constant java.security.ProtectionDomain@1a1a14ee reached by
scanning method org.springframework.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:528)
Call path from entry point to org.springframework.cglib.core.ReflectUtils.defineClass(String, byte[], ClassLoader, ProtectionDomain, Class):
at org.springframework.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:501)
at org.springframework.cglib.core.AbstractClassGenerator.generate(AbstractClassGenerator.java:363)
at org.springframework.cglib.proxy.Enhancer.generate(Enhancer.java:585)
at org.springframework.cglib.core.AbstractClassGenerator$ClassLoaderData$3.apply(AbstractClassGenerator.java:110)
at org.springframework.cglib.core.AbstractClassGenerator$ClassLoaderData$3.apply(AbstractClassGenerator.java:108)
at org.springframework.cglib.core.internal.LoadingCache$2.call(LoadingCache.java:54)
at java.util.concurrent.FutureTask.run(FutureTask.java:264)
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)
at com.oracle.svm.core.code.IsolateEnterStub.PosixJavaThreads_pthreadStartRoutine_e1f4a8c0039f8337338252cd8734f63a79b5e3df(generated:0)
```
--
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 #2980: [Quarkus 2.2.0] Spring RabbitMQ native build fails
Posted by GitBox <gi...@apache.org>.
jamesnetherton closed issue #2980:
URL: https://github.com/apache/camel-quarkus/issues/2980
--
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 #2980: [Quarkus 2.2.0] Spring RabbitMQ native build fails
Posted by GitBox <gi...@apache.org>.
jamesnetherton closed issue #2980:
URL: https://github.com/apache/camel-quarkus/issues/2980
--
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