You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Freeman Yue Fang (Jira)" <ji...@apache.org> on 2021/09/14 19:04:00 UTC

[jira] [Commented] (CAMEL-16963) tests in camel-ignite failed with JDK17

    [ https://issues.apache.org/jira/browse/CAMEL-16963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17415110#comment-17415110 ] 

Freeman Yue Fang commented on CAMEL-16963:
------------------------------------------

And even with 
--add-opens java.base/java.nio=ALL-UNNAMED
to get rid of the Illegal reflective access issue, the JVM still exits
{code}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test (default-test) on project camel-ignite: There are test failures.
[ERROR] 
[ERROR] Please refer to /Users/ffang/projects/camel/components/camel-ignite/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /bin/sh -c cd /Users/ffang/projects/camel/components/camel-ignite && /Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home/bin/java --add-opens java.base/java.nio=ALL-UNNAMED -jar /Users/ffang/projects/camel/components/camel-ignite/target/surefire/surefirebooter16612101021437560053.jar /Users/ffang/projects/camel/components/camel-ignite/target/surefire 2021-09-14T15-01-39_006-jvmRun1 surefire15289566757747289034tmp surefire_04498906657607238731tmp
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 130
[ERROR] Crashed tests:
[ERROR] org.apache.camel.component.ignite.IgniteCacheContinuousQueryTest
[ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /bin/sh -c cd /Users/ffang/projects/camel/components/camel-ignite && /Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home/bin/java --add-opens java.base/java.nio=ALL-UNNAMED -jar /Users/ffang/projects/camel/components/camel-ignite/target/surefire/surefirebooter16612101021437560053.jar /Users/ffang/projects/camel/components/camel-ignite/target/surefire 2021-09-14T15-01-39_006-jvmRun1 surefire15289566757747289034tmp surefire_04498906657607238731tmp
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 130
[ERROR] Crashed tests:
[ERROR] org.apache.camel.component.ignite.IgniteCacheContinuousQueryTest
[ERROR] 	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:748)
[ERROR] 	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:305)
[ERROR] 	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:265)
[ERROR] 	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1314)
[ERROR] 	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1159)
[ERROR] 	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:932)
[ERROR] 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
[ERROR] 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
{code}

> tests in camel-ignite failed with JDK17
> ---------------------------------------
>
>                 Key: CAMEL-16963
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16963
>             Project: Camel
>          Issue Type: Sub-task
>            Reporter: Freeman Yue Fang
>            Priority: Major
>
> {code}
> [ERROR] WARNING: Illegal reflective access by org.apache.ignite.internal.util.GridUnsafe$2 (file:/Users/ffang/.m2/repository/org/apache/ignite/ignite-core/2.10.0/ignite-core-2.10.0.jar) to field java.nio.Buffer.address
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)