You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by "wasabii (via GitHub)" <gi...@apache.org> on 2023/03/16 04:10:43 UTC
[GitHub] [ignite] wasabii opened a new issue, #10597: OpenJDK 17 Ignite.Start, custom JvmDllPath
wasabii opened a new issue, #10597:
URL: https://github.com/apache/ignite/issues/10597
Not sure what's up with this. I'm trying to launch Ignite from within a .NET program, running Apache.Ignite 2.14.0, against OpenJDK 17.
Upon Ignition.Start, I'm receiving:
```
JavaException: java.lang.ExceptionInInitializerError
at org.apache.ignite.internal.processors.platform.memory.PlatformAbstractMemory.<clinit>(PlatformAbstractMemory.java:27)
at org.apache.ignite.internal.processors.platform.PlatformAbstractBootstrap.init(PlatformAbstractBootstrap.java:54)
at org.apache.ignite.internal.processors.platform.PlatformIgnition.start(PlatformIgnition.java:65)
Caused by: java.lang.RuntimeException: java.nio.DirectByteBuffer.address field is unavailable.
at org.apache.ignite.internal.util.GridUnsafe$2.run(GridUnsafe.java:1570)
at org.apache.ignite.internal.util.GridUnsafe$2.run(GridUnsafe.java:1557)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at org.apache.ignite.internal.util.GridUnsafe.bufferAddressOffset(GridUnsafe.java:1557)
at org.apache.ignite.internal.util.GridUnsafe.<clinit>(GridUnsafe.java:109)
... 3 more
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field long java.nio.Buffer.address accessible: module java.base does not "opens java.nio" to unnamed module @30946e09
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(Unknown Source)
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(Unknown Source)
at java.base/java.lang.reflect.Field.checkCanSetAccessible(Unknown Source)
at java.base/java.lang.reflect.Field.setAccessible(Unknown Source)
at org.apache.ignite.internal.util.GridUnsafe$2.run(GridUnsafe.java:1562)
... 7 more
```
My guess is it's probably some of these missing VM options that are supposed to be passed, and mentioned in other sources. However, I'd expect the .NET library to set all that up automatically. Maybe it's not. Will let ya'll know.
--
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: notifications-unsubscribe@ignite.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [ignite] wasabii closed issue #10597: OpenJDK 17 Ignite.Start, custom JvmDllPath
Posted by "wasabii (via GitHub)" <gi...@apache.org>.
wasabii closed issue #10597: OpenJDK 17 Ignite.Start, custom JvmDllPath
URL: https://github.com/apache/ignite/issues/10597
--
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: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [ignite] wasabii commented on issue #10597: OpenJDK 17 Ignite.Start, custom JvmDllPath
Posted by "wasabii (via GitHub)" <gi...@apache.org>.
wasabii commented on issue #10597:
URL: https://github.com/apache/ignite/issues/10597#issuecomment-1471278980
That moved it. The .NET library should probably be setting all this stuff up automatically.
--
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: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [ignite] ptupitsyn commented on issue #10597: OpenJDK 17 Ignite.Start, custom JvmDllPath
Posted by "ptupitsyn (via GitHub)" <gi...@apache.org>.
ptupitsyn commented on issue #10597:
URL: https://github.com/apache/ignite/issues/10597#issuecomment-1471353475
> The .NET library should probably be setting all this stuff up automatically.
Yes, that was fixed in Ignite 2.15: https://issues.apache.org/jira/browse/IGNITE-18191
--
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: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org