You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.simplejavamail.internal.clisupport.serialization.SerializationUtil.initKryo(SerializationUtil.java:43)
at org.simplejavamail.internal.clisupport.serialization.SerializationUtil.<clinit>(SerializationUtil.java:36)
at org.simplejavamail.internal.clisupport.CliSupport.produceCliDeclaredOptionSpec(CliSupport.java:57)
at org.simplejavamail.internal.clisupport.CliSupport.<clinit>(CliSupport.java:47)
at org.simplejavamail.cli.SimpleJavaMail.main(SimpleJavaMail.java:31)
Caused by: java.lang.RuntimeException: Could not access source collection field in java.util.Collections$UnmodifiableCollection.
at de.javakaffee.kryoserializers.UnmodifiableCollectionsSerializer.<clinit>(UnmodifiableCollectionsSerializer.java:62)
... 5 more
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field final java.util.Collection java.util.Collections$UnmodifiableCollection.c accessible: module java.base does not "opens java.util" to unnamed module @7e9a5fbe
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:178)
at java.base/java.lang.reflect.Field.setAccessible(Field.java:172)
at de.javakaffee.kryoserializers.UnmodifiableCollectionsSerializer.<clinit>(UnmodifiableCollectionsSerializer.java:55)
... 5 more
sjm works fine with Java 11.
The text was updated successfully, but these errors were encountered:
sjm fails using Graal (Java 17) with
sjm works fine with Java 11.
The text was updated successfully, but these errors were encountered: