pjfanning commented on issue #109:
URL: https://github.com/apache/pekko-samples/issues/109#issuecomment-3442184263

   A fuller version of the exception appears to be:
   ```
   10/24 10:40:59 ERROR[main] o.a.c.s.CassandraDaemon - Exception encountered 
during startup
   java.lang.AssertionError: java.lang.reflect.InaccessibleObjectException: 
Unable to make field private int java.io.FileDescriptor.fd accessible: module 
java.base does not "opens java.io" to unnamed module @46d59067
        at 
org.apache.cassandra.utils.FBUtilities.getProtectedField(FBUtilities.java:608) 
~[cassandra-bundle.jar:0.0.0-1068-9a5c7580-SNAPSHOT]
        at 
org.apache.cassandra.utils.NativeLibrary.<clinit>(NativeLibrary.java:80) 
~[cassandra-bundle.jar:0.0.0-1068-9a5c7580-SNAPSHOT]
        at 
org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:196) 
~[cassandra-bundle.jar:0.0.0-1068-9a5c7580-SNAPSHOT]
        at 
org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:602) 
~[cassandra-bundle.jar:0.0.0-1068-9a5c7580-SNAPSHOT]
        at 
org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:691) 
~[cassandra-bundle.jar:0.0.0-1068-9a5c7580-SNAPSHOT]
   Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make 
field private int java.io.FileDescriptor.fd accessible: module java.base does 
not "opens java.io" to unnamed module @46d59067
        at 
java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
 ~[na:na]
        at 
java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
 ~[na:na]
        at 
java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:178) ~[na:na]
        at java.base/java.lang.reflect.Field.setAccessible(Field.java:172) 
~[na:na]
        at 
org.apache.cassandra.utils.FBUtilities.getProtectedField(FBUtilities.java:603) 
~[cassandra-bundle.jar:0.0.0-1068-9a5c7580-SNAPSHOT]
        ... 4 common frames omitted
   
   ```
   
   This issue is happening in Cassandra code and maybe it would be possible to 
ask Cassandra experts. I don't use Cassandra much.
   The sample runs with Java 8 and 11 so you try the sample with an older Java 
version.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to