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/11/23 19:05:16 UTC

[GitHub] [camel-quarkus] ffang opened a new issue #3326: [JDK17]integration test failed in native mode caused by unresolved type during parsing: sun.security.krb5.Credentials

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


   ```
   Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: sun.security.krb5.Credentials. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
   Detailed message:
   Trace: 
   	at parsing org.postgresql.util.internal.Unsafe.credentialCacheExists(Unsafe.java:18)
   Call path from entry point to org.postgresql.util.internal.Unsafe.credentialCacheExists(): 
   	at org.postgresql.util.internal.Unsafe.credentialCacheExists(Unsafe.java:17)
   	at org.postgresql.core.v3.ConnectionFactoryImpl.credentialCacheExists(ConnectionFactoryImpl.java:413)
   	at org.postgresql.core.v3.ConnectionFactoryImpl.enableGSSEncrypted(ConnectionFactoryImpl.java:430)
   	at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:146)
   	at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:245)
   	at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:51)
   	at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:225)
   	at org.postgresql.Driver.makeConnection(Driver.java:466)
   	at org.postgresql.Driver.access$100(Driver.java:63)
   	at org.postgresql.Driver$ConnectThread.run(Driver.java:376)
   	at java.lang.Thread.run(Thread.java:833)
   	at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:596)
   	at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:192)
   	at com.oracle.svm.core.code.IsolateEnterStub.PosixJavaThreads_pthreadStartRoutine_e1f4a8c0039f8337338252cd8734f63a79b5e3df(generated:0)
   
   com.oracle.svm.core.util.UserError$UserException: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: sun.security.krb5.Credentials. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
   Detailed message:
   Trace: 
   	at parsing org.postgresql.util.internal.Unsafe.credentialCacheExists(Unsafe.java:18)
   Call path from entry point to org.postgresql.util.internal.Unsafe.credentialCacheExists(): 
   	at org.postgresql.util.internal.Unsafe.credentialCacheExists(Unsafe.java:17)
   	at org.postgresql.core.v3.ConnectionFactoryImpl.credentialCacheExists(ConnectionFactoryImpl.java:413)
   	at org.postgresql.core.v3.ConnectionFactoryImpl.enableGSSEncrypted(ConnectionFactoryImpl.java:430)
   	at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:146)
   	at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:245)
   	at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:51)
   	at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:225)
   	at org.postgresql.Driver.makeConnection(Driver.java:466)
   	at org.postgresql.Driver.access$100(Driver.java:63)
   	at org.postgresql.Driver$ConnectThread.run(Driver.java:376)
   	at java.lang.Thread.run(Thread.java:833)
   	at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:596)
   	at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:192)
   	at com.oracle.svm.core.code.IsolateEnterStub.PosixJavaThreads_pthreadStartRoutine_e1f4a8c0039f8337338252cd8734f63a79b5e3df(generated:0)
   
   	at com.oracle.svm.core.util.UserError.abort(UserError.java:87)
   	at com.oracle.svm.hosted.FallbackFeature.reportAsFallback(FallbackFeature.java:233)
   	at com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:759)
   	at com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:529)
   	at com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:488)
   	at com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:403)
   	at com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:569)
   	at com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:122)
   	at com.oracle.svm.hosted.NativeImageGeneratorRunner$JDK9Plus.main(NativeImageGeneratorRunner.java:599)
   ```
   
   This is JDK17 specifiic and should occur on all OS


-- 
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 edited a comment on issue #3326: [JDK17]integration test failed in native mode caused by unresolved type during parsing: sun.security.krb5.Credentials

Posted by GitBox <gi...@apache.org>.
ffang edited a comment on issue #3326:
URL: https://github.com/apache/camel-quarkus/issues/3326#issuecomment-977030352


   affected tests
   
   - debezium
   - pg-replication-slot
   
   We can fix it by adding property <quarkus.native.additional-build-args>-J--add-exports=java.security.jgss/sun.security.krb5=ALL-UNNAMED</quarkus.native.additional-build-args> in native profile
   
   Also, this is reported and fixed at quarkus by https://github.com/quarkusio/quarkus/issues/21359


-- 
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 edited a comment on issue #3326: [JDK17]integration test failed in native mode caused by unresolved type during parsing: sun.security.krb5.Credentials

Posted by GitBox <gi...@apache.org>.
ffang edited a comment on issue #3326:
URL: https://github.com/apache/camel-quarkus/issues/3326#issuecomment-977030352


   affected tests
   debezium
   
   We can fix it by adding property <quarkus.native.additional-build-args>-J--add-exports=java.security.jgss/sun.security.krb5=ALL-UNNAMED</quarkus.native.additional-build-args> in native profile
   
   Also, this is reported and fixed at quarkus by https://github.com/quarkusio/quarkus/issues/21359


-- 
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 #3326: [JDK17]integration test failed in native mode caused by unresolved type during parsing: sun.security.krb5.Credentials

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


   affected tests
   debezium
   
   We can fix it by adding property <quarkus.native.additional-build-args>-J--add-exports=java.security.jgss/sun.security.krb5=ALL-UNNAMED</quarkus.native.additional-build-args> in native profile


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