pierreboudes opened a new issue, #109:
URL: https://github.com/apache/pekko-samples/issues/109

   On a stable Debian (OpenJDK 17), the example 
pekko-sample-distributed-workers-scala will fail on a exception while using 
`sbt run` or `sbt "runMain worker.Main cassandra"`.
   
   The  logs 
   ```txt
   Starting Cassandra on port client port: 9042 storage port 45209 host 
127.0.0.1 java version 17.0.10+7-Debian-1deb12u1
   WARNING: A terminally deprecated method in java.lang.System has been called
   WARNING: System::setSecurityManager has been called by 
org.apache.cassandra.security.ThreadAwareSecurityManager (file 
…/pekko-samples/pekko-sample-distributed-workers-scala/target/cassandra-db/cassandra-bundle.jar)
   WARNING: Please consider reporting this to the maintainers of 
org.apache.cassandra.security.ThreadAwareSecurityManager
   WARNING: System::setSecurityManager will be removed in a future release
   Exception (java.lang.AssertionError) encountered during startup: 
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 @11b03c1f
   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 @11b03c1f
   …
   [error]      at worker.Main$.startCassandraDatabase(Main.scala:101)
   ```


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