[ 
https://issues.apache.org/jira/browse/IGNITE-26648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aleksandr Polovtsev updated IGNITE-26648:
-----------------------------------------
    Description: 
Try starting an embedded node without specifying “--add-opens” (follow the 
[docs|https://ignite.apache.org/docs/ignite3/latest/quick-start/embedded-mode]).
 There is an exception without any details, it is impossible to understand the 
problem:

{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:959)
        at 
org.apache.ignite.internal.util.ExceptionUtils$ExceptionFactory.createCopy(ExceptionUtils.java:781)
        at 
org.apache.ignite.internal.util.ExceptionUtils.copyExceptionWithCause(ExceptionUtils.java:583)
        at 
org.apache.ignite.internal.util.ExceptionUtils.copyExceptionWithCauseInternal(ExceptionUtils.java:716)
        at 
org.apache.ignite.internal.util.ExceptionUtils.copyExceptionWithCause(ExceptionUtils.java:561)
        at 
org.apache.ignite.internal.app.IgniteServerImpl.tryToCopyExceptionWithCause(IgniteServerImpl.java:454)
        at 
org.apache.ignite.internal.app.IgniteServerImpl.sync(IgniteServerImpl.java:446)
        at 
org.apache.ignite.internal.app.IgniteServerImpl.start(IgniteServerImpl.java:407)
        at org.apache.ignite.IgniteServer.start(IgniteServer.java:69)
        at Main.main(Main.java:11)
{code}


  was:
Try starting an embedded node without specifying “--add-opens” (follow the 
[docs|https://ignite.apache.org/docs/ignite3/latest/quick-start/embedded-mode]).
 There is an exception without any details, it is impossible to understand the 
problem:


{code:java}
Feb 11, 2025 2:00:00 PM org.apache.ignite.internal.logger.IgniteLoggerImpl 
logInternal
INFO: Configuration modules loaded 
[modules=[org.apache.ignite.internal.rest.configuration.RestConfigurationModule@6580cfdd,
 
org.gridgain.internal.snapshots.configuration.ClusterSnapshotConfigurationModule@7e0b85f9,
 
org.gridgain.internal.snapshots.configuration.NodeSnapshotConfigurationModule@63355449,
 
org.apache.ignite.client.handler.configuration.ClientHandlerConfigurationModule@9353778,
 
org.apache.ignite.internal.compute.configuration.ComputeConfigurationModule@6a28ffa4,
 
org.apache.ignite.internal.sql.configuration.distributed.SqlClusterConfigurationModule@48ae9b55,
 
org.apache.ignite.internal.sql.configuration.local.SqlNodeConfigurationModule@1700915,
 
org.gridgain.internal.eviction.configuration.EvictionConfigurationModule@21de60b4,
 
org.apache.ignite.internal.table.distributed.expiration.configuration.ExpirationConfigurationModule@c267ef4,
 org.gridgain.internal.license.LicenseConfigurationModule@30ee2816, 
org.apache.ignite.internal.storage.rocksdb.configuration.RocksDbStorageEngineLocalConfigurationModule@31d7b7bf,
 
org.apache.ignite.internal.storage.pagememory.configuration.PageMemoryStorageEngineLocalConfigurationModule@635eaaf1,
 
org.apache.ignite.internal.tx.configuration.TransactionConfigurationModule@5c30a9b0,
 
org.apache.ignite.internal.replicator.configuration.ReplicationConfigurationModule@1ddf84b8,
 
org.apache.ignite.internal.distributionzones.configuration.DistributionZonesConfigurationModule@1139b2f3,
 
org.apache.ignite.internal.deployunit.configuration.DeploymentConfigurationModule@7a69b07,
 org.gridgain.internal.encryption.EncryptionConfigurationModule@5e82df6a, 
org.apache.ignite.internal.cluster.management.configuration.ClusterManagementConfigurationModule@3f197a46,
 
org.apache.ignite.internal.pagememory.configuration.PageMemoryLocalConfigurationModule@636be97c,
 
org.apache.ignite.internal.storage.configurations.StorageConfigurationModule@50a638b5,
 
org.apache.ignite.internal.metrics.exporters.configuration.OtlpExporterConfigurationModule@1817d444,
 
org.apache.ignite.internal.security.authentication.SecurityConfigurationModule@6ca8564a,
 
org.apache.ignite.internal.schema.configuration.SchemaDistributedConfigurationModule@50b472aa,
 
org.apache.ignite.internal.catalog.configuration.SchemaSynchronizationConfigurationModule@31368b99,
 
org.apache.ignite.internal.eventlog.config.EventLogConfigurationModule@1725dc0f,
 
org.apache.ignite.internal.network.configuration.NetworkConfigurationModule@3911c2a7,
 
org.apache.ignite.internal.raft.configuration.RaftConfigurationModule@4ac3c60d, 
org.apache.ignite.internal.configuration.SystemDistributedConfigurationModule@4facf68f,
 
org.apache.ignite.internal.configuration.SystemLocalConfigurationModule@76508ed1,
 
org.apache.ignite.internal.metrics.configuration.MetricConfigurationModule@41e36e46,
 
org.apache.ignite.internal.worker.configuration.CriticalWorkersConfigurationModule@15c43bd9,
 
org.apache.ignite.internal.failure.configuration.FailureProcessorConfigurationModule@3d74bf60,
 
org.apache.ignite.internal.metastorage.configuration.MetaStorageApiConfigurationModule@4f209819,
 org.apache.ignite.internal.configuration.ClusterConfigurationModule@15eb5ee5, 
org.apache.ignite.internal.configuration.NodeConfigurationModule@2145b572], 
localRoots=[RootKey [rootName=ignite, storageType=LOCAL, schemaClass=class 
org.apache.ignite.internal.configuration.NodeConfigurationSchema, 
internal=false]], distRoots=[RootKey [rootName=ignite, storageType=DISTRIBUTED, 
schemaClass=class 
org.apache.ignite.internal.configuration.ClusterConfigurationSchema, 
internal=false]]]
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:959)
        at 
org.apache.ignite.internal.util.ExceptionUtils$ExceptionFactory.createCopy(ExceptionUtils.java:781)
        at 
org.apache.ignite.internal.util.ExceptionUtils.copyExceptionWithCause(ExceptionUtils.java:583)
        at 
org.apache.ignite.internal.util.ExceptionUtils.copyExceptionWithCauseInternal(ExceptionUtils.java:716)
        at 
org.apache.ignite.internal.util.ExceptionUtils.copyExceptionWithCause(ExceptionUtils.java:561)
        at 
org.apache.ignite.internal.app.IgniteServerImpl.tryToCopyExceptionWithCause(IgniteServerImpl.java:454)
        at 
org.apache.ignite.internal.app.IgniteServerImpl.sync(IgniteServerImpl.java:446)
        at 
org.apache.ignite.internal.app.IgniteServerImpl.start(IgniteServerImpl.java:407)
        at org.apache.ignite.IgniteServer.start(IgniteServer.java:69)
        at Main.main(Main.java:11)
{code}



> Exception details are missing when starting a node without add-opens
> --------------------------------------------------------------------
>
>                 Key: IGNITE-26648
>                 URL: https://issues.apache.org/jira/browse/IGNITE-26648
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Aleksandr Polovtsev
>            Assignee: Aleksandr Polovtsev
>            Priority: Major
>              Labels: ignite-3
>
> Try starting an embedded node without specifying “--add-opens” (follow the 
> [docs|https://ignite.apache.org/docs/ignite3/latest/quick-start/embedded-mode]).
>  There is an exception without any details, it is impossible to understand 
> the problem:
> {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:959)
>       at 
> org.apache.ignite.internal.util.ExceptionUtils$ExceptionFactory.createCopy(ExceptionUtils.java:781)
>       at 
> org.apache.ignite.internal.util.ExceptionUtils.copyExceptionWithCause(ExceptionUtils.java:583)
>       at 
> org.apache.ignite.internal.util.ExceptionUtils.copyExceptionWithCauseInternal(ExceptionUtils.java:716)
>       at 
> org.apache.ignite.internal.util.ExceptionUtils.copyExceptionWithCause(ExceptionUtils.java:561)
>       at 
> org.apache.ignite.internal.app.IgniteServerImpl.tryToCopyExceptionWithCause(IgniteServerImpl.java:454)
>       at 
> org.apache.ignite.internal.app.IgniteServerImpl.sync(IgniteServerImpl.java:446)
>       at 
> org.apache.ignite.internal.app.IgniteServerImpl.start(IgniteServerImpl.java:407)
>       at org.apache.ignite.IgniteServer.start(IgniteServer.java:69)
>       at Main.main(Main.java:11)
> {code}



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

Reply via email to