Denis Chudov created IGNITE-26345:
-------------------------------------

             Summary: Wrap ExceptionInInitializerError that happens in 
contructor of IgniteImpl when launched without JVM options "--add-opens=..."
                 Key: IGNITE-26345
                 URL: https://issues.apache.org/jira/browse/IGNITE-26345
             Project: Ignite
          Issue Type: Bug
            Reporter: Denis Chudov


It is not clear what happens, because this exception doesn't have cause:
{code:java}
Exception in thread "main" java.lang.ExceptionInInitializerError        at 
java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:733)
   at 
org.apache.ignite.internal.util.ExceptionUtils$10.copy(ExceptionUtils.java:1043)
     at 
org.apache.ignite.internal.util.ExceptionUtils$ExceptionFactory.createCopy(ExceptionUtils.java:865)
  at 
org.apache.ignite.internal.util.ExceptionUtils.copyExceptionWithCause(ExceptionUtils.java:667)
       at 
org.apache.ignite.internal.util.ExceptionUtils.copyExceptionWithCauseInternal(ExceptionUtils.java:800)
       at 
org.apache.ignite.internal.util.ExceptionUtils.copyExceptionWithCause(ExceptionUtils.java:645)
       at 
org.apache.ignite.internal.app.IgniteServerImpl.tryToCopyExceptionWithCause(IgniteServerImpl.java:522)
       at 
org.apache.ignite.internal.app.IgniteServerImpl.sync(IgniteServerImpl.java:514) 
     at 
org.apache.ignite.internal.app.IgniteServerImpl.start(IgniteServerImpl.java:414)
     at org.apache.ignite.IgniteServer.start(IgniteServer.java:69)   at 
org.example.Main.main(Main.java:12) {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to