Handling Exceptions
This section outlines basic exceptions that can be generated by GridGain 9 and provides basic instructions for handling them.
Finding Stack Trace Information
When the exception happens, GridGain 9 provides a UUID of the specific exception, but not a full stack trace. For a full stack trace, check cluster logs.
Common Exceptions
Exception Code | Description | Recommended Action |
---|---|---|
|
Operation was stopped because node is stopping. |
Check that the cluster is up and running and try again. |
|
Operation was stopped because the component is not started. |
Wait for the node to complete the startup process and start all components. |
|
Operation failed because an illegal argument or argument in a wrong format has been passed. |
Check the exception message for additional information. Specific actions depend on the operation that triggered the error. |
|
Operation failed because SSL could not be configured. |
Check the exception message for more information and update the configuration. |
|
Operation failed because a node has left the cluster. |
Wait for the node to return to the cluster, or use a different node. |
|
Operation failed because the cursor is already closed. |
Check the exception message to find out why the cursor was closed before the operation. |
|
An error occurred while closing resources. |
Check the exception message to find out why the resource was closed before the operation. |
|
An error occurred while marshalling or unmarshalling objects. |
|
|
The method cannot return a null value. |
|
|
Internal error has occurred. |
This an unexpected internal error in GridGain. In most cases, receiving it indicates a bug. |
Table Exceptions
Exception Code | Description | Recommended Action |
---|---|---|
|
Table already exists. |
Make sure to use the table name that does not exist on the cluster. |
|
Table not found. |
Check the table name and, if necessary, create it. |
|
Column already exists. |
Make sure to use the column name that does not exist in the table. |
|
Column not found. |
Check the column name and, if necessary, create it. |
|
Table is currently stopping. |
Wait for the table to stop before attempting more operations. |
|
Table definition not correct. |
Check the error message and verify the table definition. |
|
Schema version mismatch. |
The request uses a different schema than the table. |
|
Partition type not supported. |
Use a supported partition type. |
Client Exceptions
Exception Code | Description | Recommended Action |
---|---|---|
|
Connection to client failed. This error is usually caused by incorrect address or connection timeout. |
Check the exception message. If a timeout occurred, make sure the timeout values in client and server configurations allow for long-running requests. |
|
An issue occurred with connection protocol. This error can be caused by using an incompatible client version or data corruption. |
Check the exception message. If data corruption occurred, recover the data. If client versions are not compatible, use the correct client version. |
|
Protocol version does not support a specific feature. Typically this is caused by version mismatch between client and server. |
Update the client or the server to a newer version or do not use incompatible features. |
|
Failed to find the table by ID. |
Check if the table ID is correct. |
|
An error occurred during authentication. |
Check user credentials. |
|
An error occurred during authorization. |
Check the permissions of the user of the server. |
|
An error occurred with client configuration. |
Check the exception message for more information and fix the client configuration. |
|
Cluster ID mismatch. This error can be caused by the client connecting to multiple different clusters. |
Check client configuration to make sure all endpoints belong to the same cluster. |
|
Client SSL configuration is not valid. |
Check the exception message for more information. Make sure SSL configuration matches server-side configuration. |
|
Client handshake message error. This is usually caused by the client trying to connect to a wrong endpoint (for example, REST) or a non-GridGain process is trying to connect to a GridGain endpoint. |
Check the exception message for more information. If the issue is with client, check and fix client configuration. If a third-party client is trying to connect, check what it is and fix the configuration. |
SQL Exceptions
Exception Code | Description | Recommended Action |
---|---|---|
|
Exception is thrown when a query doesn’t intend to return any rows (for example, a DML or a DDL query). |
Change the request to not expect the result from the query. |
|
Exception is thrown when the specified schema cannot be found. |
Make sure you use the existing schema name. |
|
Statement parsing error. This error is returned when an SQL statement string is not valid according to syntax rules. |
Check the exception message and correct issues in the query. |
|
Statement validation error. Although statement is grammatically correct, the semantic is in question. For example, this can happen when the statement refers to relations that do not exist or describes a prohibited action. |
Check the exception message and correct the query. |
|
Constraint violation error such as primary key violation or NOT NULL. |
Check the exception message and correct the query. |
|
Statement canceled error. Statement is canceled due to timeout, admin action, etc. |
Check the exception message to find out the specific reason. |
|
Runtime error. Errors caused by programming errors in SQL statement itself, such errors happen during statement execution. For example, this can be caused by numeric overflow errors or type conversion errors. |
Check the exception message and fix the issue. |
|
SQL engine was unable to map query on current cluster topology. This may be due to a variety of reasons, but most probably because of all nodes hosting certain system view or a table partition went offline. |
Check the exception message. In most scenarios, you can rerun the query when the cluster is stable. |
|
Execution of transaction control statement inside an external transaction is forbidden. |
Do not use transaction control statements like |
Index Exceptions
Exception Code | Description | Recommended Action |
---|---|---|
|
Invalid index definition. |
Check the error message. There is an issue in the way index is specified. |
|
Failed to find the specified index. |
Make sure the index exists. |
|
Specified index already exists. |
Make sure the index does not exist when creating it. |
Transactions Exceptions
Exception Code | Description | Recommended Action |
---|---|---|
|
Default error for transaction state storage. |
|
|
Transaction state storage is stopped. |
|
|
Unexpected transaction state on state change. |
|
|
Failed to acquire a lock on a key due to a conflict. |
|
|
Failed to acquire a lock on a key within the timeout. |
|
|
Failed to commit a transaction. |
|
|
Failed to roll back a transaction. |
|
|
Failed to put read-write operation into read-only transaction. |
|
|
Replica is not ready to handle a request. |
|
|
Transaction state storage rebalancing error. |
|
|
Failed to create a read-only transaction with a timestamp older than the data available in the tables. |
|
|
Failure due to an incompatible schema change. |
|
|
Failure due to primary replica expiration. |
|
|
Transaction already finished. |
|
|
Failure due to a stale operation of a completed transaction. |
|
|
Failure due to cache operations enlisted into table transaction or vice versa. |
Replicator Exceptions
Exception Code | Description | Recommended Action |
---|---|---|
|
Default error for the replication procedure. |
|
|
Replica with the same identifier already exists. |
|
|
Timeout has occurred during the replication procedure. |
|
|
The replication level tried to handle an unsupported request. |
|
|
Replica is not ready to handle the request. |
|
|
Replica is not the current primary replica. |
|
|
Failed to close cursor. |
|
|
Replica is already stopping. |
|
|
Replication safe time reordering. |
Storage Exceptions
Exception Code | Description | Recommended Action |
---|---|---|
|
A disaster has occurred, followed by an attempt to recover from the disaster. This caused inconsistent index state in the cluster metadata. |
Wait until the index is rebuilt automatically. |
|
A disaster has occurred, which led to data corruption in the persistent storage. |
Restore the data from a backup or introduce a new node instead of the broken one (this may lead to data loss if the replication factor is too low). |
Distribution Zone Exceptions
Exception Code | Description | Recommended Action |
---|---|---|
|
Distribution zone is not found. |
Check the distribution zone name used. Most likely, it is incorrect. |
Network Exceptions
Exception Code | Description | Recommended Action |
---|---|---|
|
The node with the specified ID is not in the physical topology. |
Check the error message and node ID. Update node ID if it is incorrect. If the node is offline, check why and bring it back online. |
|
Port is already in use. |
Most likely, GridGain tried to access the port occupied by a different process. Change the port or free it, and then restart the node. |
|
Recipient node has left the physical topology. |
Check the error message. The node is unavailable and need to be brought back into the cluster. |
|
Could not resolve address. Most likely, the IP address specified in the operation is not available locally. |
Change the node configuration to make the address available or use a different IP address. |
Node Configuration Exceptions
Exception Code | Description | Recommended Action |
---|---|---|
|
Failed to read configuration. |
Make sure that the node has access to the configuration file. |
|
Failed to create a configuration file. |
Check if the node has write permissions to the folder where configuration is. |
|
Failed to write configuration. |
Check if the node has write permissions to the folder where configuration is. |
|
Failed to parse configuration. |
Make sure the configuration file is correct. |
Code Deployment Exceptions
Exception Code | Description | Recommended Action |
---|---|---|
|
Access attempt to a non-existing deployment unit. |
Make sure the deployment unit is specified correctly. |
|
Duplicate deployment unit. |
Make sure deployment unit is unique. Update deployment unit name or version. |
|
Deployment unit content read error. |
Check the error message for details. |
|
Deployment unit is unavailable for computing. |
Check the error message for details. |
Authentication Exceptions
Exception Code | Description | Recommended Action |
---|---|---|
|
Authentication error caused by unsupported authentication type. |
Check the client configuration and use the supported configuration type. |
|
Authentication error caused by invalid credentials. |
Check and correct user credentials. |
|
Basic authentication provider is not found. |
Configure basic authentication provider. |
Compute Exceptions
Exception Code | Description | Recommended Action |
---|---|---|
|
Classpath error. |
Check the exception message for additional information and fix the classpath error. |
|
Class loader error. |
Most likely, this is caused by an internal error in GridGain. |
|
Failed to initialize the job class. |
Check the exception message for more information. |
|
Execution queue overflow. |
Increase the |
|
Compute job status transition error. |
Retry the operation or check job status. |
|
Failed to cancel compute job. |
Check the error message and fix the issue in it. |
|
Compute job result not found. |
Make sure the specified job ID exists. |
|
Compute job state cannot be retrieved. |
Make sure the specified job ID exists. If it does, check the node logs for additional information. |
|
Compute job failed. |
Check the exception message for more information on the reason for failure. |
|
Failed to change job priority, because compute job was not found. |
Make sure the specified job ID exists. |
|
Failed to change job priority, because compute job is already executing. |
Wait for the job to finish before changing priority. |
|
Failed to resolve primary replica for colocated execution. |
Check the exception message for additional information. |
|
Failed to change job priority. |
Check the exception message for additional information. |
|
Specified node is not found in the cluster. |
Make sure the specified node ID is correct and the node with the ID is in the cluster. |
|
Compute job owner cannot be retrieved. |
Check the exception message for additional information and make sure that job owner is correct. |
Catalog Exceptions
Exception Code | Description | Recommended Action |
---|---|---|
|
Command to the catalog has not passed the validation. |
See the exception message for details. Typically, this is either caused by incorrect DDL query (same as IGN-SQL-4) or an internal GridGain error. |
Critical Workers Exceptions
Exception Code | Description | Recommended Action |
---|---|---|
|
System worker does not update its heartbeat for a long time. Typically, this means that the node has stalled or is running slowly. |
Restart the node. |
|
System-critical operation timed out. |
Restart the node. |
Disaster Recovery Exceptions
Exception Code | Description | Recommended Action |
---|---|---|
|
Partition ID is not in valid range. |
Check the exception message. Most likely, the specified partition ID is not correct. |
|
Nodes were not found. |
Check the exception message. Most likely, the specified node ID is not correct. |
|
Failed to recover partition states. |
Retry the operation. If it fails again, check the exception message for more information. |
|
Cluster is under load. |
Retry the operation when the cluster has less load. |
SQL Memory Quota Exceptions
Exception Code | Description | Recommended Action |
---|---|---|
|
Disk spilling I/O error occurred. |
See the exception message for details. Typically, this is caused either by disk I/O issues (not enough space, insufficient permissions etc.) or by an internal GridGain error. |
|
Disk quota used for disk spilling has been exceeded. |
Disable or increase the disk quota size using the |
|
Memory quota used for a query has been exceeded. |
Rewrite the query to use less memory or increase the memory quota for the query using the |
|
Node memory quota exceeded. |
Increase node memory quota using the |
RBAC Exceptions
Exception Code | Description | Recommended Action |
---|---|---|
|
Generic access control error. |
See the exception message for details. Typically, this error is caused either by the disabled security or by an unexpected issue. |
|
User not found. |
Check if username is correct and make sure that the user exists. |
|
An issue occurred while validating the user. |
Check the exception message for details. |
|
User with the specified name already exists. |
Check if username is correct, or use a different username. |
|
An error occurred while updating user info. |
Check the exception message for details and try again. |
|
User assignment already exists. |
Check the exception message for details and try again. |
|
Role with the specified name was not found |
Check if role name is correct, or create a role with required name. |
|
Role with the specified name already exists. |
Check if role name is correct, or use a different role name. |
|
An issue occurred while validating role information |
Check the exception message for details. |
|
Failed to assign the role to the user. |
Verify that both the user and the role exist. |
|
Role assignment already exists. |
The role with the specified name is already assigned to the user. No action is required. |
|
Role cannot be dropped because it has privileges. |
Remove privileges from the role and try again. |
|
The role already has the specified privilege. |
The privilege is already added to the role. No action is required. |
|
Failed to apply a privilege, as the privilege is invalid. |
Check the privilege syntax. Typically, this is caused by trying to assign invalid action. |
|
Failed to apply a privilege, as the action cannot have a selector, or the selector is not valid. |
Remove a selector from the action, or correct the error in the selector. |
|
User does not have permission to change access control permissions. |
Rerun the operation with an authorized user. |
|
An attempt to modify system user failed. |
System user cannot be modified. |
Security Exceptions
Exception Code | Description | Recommended Action |
---|---|---|
|
General security context error. |
Check the exception message for the error details. |
|
Security context is not set, but security is enabled. |
Change your code to use secured threads. |
LDAP Exceptions
Exception Code | Description | Recommended Action |
---|---|---|
|
General LDAP error. |
Check the exception message for information on why the error occurred. |
|
LDAP client initialization failed. |
Check the exception message for information on why the initialization failed. |
|
LDAP search request failed. |
Check the exception message for information on why the request failed. |
|
LDAP user not found. |
Check if username is correct and make sure that the user exists. |
Node Key Management Exceptions
Exception Code | Description | Recommended Action |
---|---|---|
|
Node key decoding error. |
Check the exception message for information on why the error occurred. |
|
Node key expired error. |
Update the node key. |
|
Node key generation error. |
Check the exception message for information on why the error occurred and try again. |
|
Node key not found. |
Check the if node key is correct. |
|
Node key serialization or deserialization error. |
Check the exception message for information on why the error occurred. |
|
Node key validation error. |
Check the exception message for information on why the error occurred. |
JWT Exceptions
Exception Code | Description | Recommended Action |
---|---|---|
|
JWT validation error. |
Check the exception message for information on why the error occurred. |
|
JWT serialization or deserialization error. |
Check the exception message for information on why the error occurred. |
Snapshots Exceptions
Exception Code | Description | Recommended Action |
---|---|---|
|
Generic snapshot error. |
Check the exception message for information on why the error occurred. |
|
Error indicating that a snapshot has been canceled. |
Check the exception message for information on what caused the snapshot to stop. |
|
Error indicating that an illegal or inappropriate argument was provided. |
Check the command arguments and correct the command. |
Data Center Replication Exceptions
Exception Code | Description | Recommended Action |
---|---|---|
|
Generic DCR error. |
Check the exception message for information on why the error occurred. |
|
Failed to create replication. |
Check the exception message for information on why the error occurred. |
|
Failed to start replication. |
Check the exception message for information on why the error occurred. |
|
Replication cannot be removed because it is still running. |
Stop the replication and try again. |
|
The source and target schemas for the replicated tables are incompatible. |
Make sure the local and remote clusters have the same schema. |
|
Replication failed to stop. |
Check the exception message for information on why the error occurred. |
|
Replicated source table doesn’t exist. |
Check the table name used in replication and create the table if necessary. |
|
Replication failed to start second replication for the same table. |
Check what replication is already using the table and stop it if needed. |
|
Replication with the specified name is not found. |
Check the replication name and try again. |
|
Replication with the specified name already exists. |
Use a different name for the new replication. |
Encryption Exceptions
Exception Code | Description | Recommended Action |
---|---|---|
|
Missing key provider to decrypt data from storage. |
Specify the key provider. |
|
Key provider configuration is not valid. |
Check the key provider configuration and update it. |
|
Failed to initialize encryption provider. |
Check the exception message for information on why the error occurred. |
|
Missing data encryption key to decrypt data from storage. |
Make sure the storage you are using contains the required encryption key. |
License Exceptions
Exception Code | Description | Recommended Action |
---|---|---|
|
Generic license error. |
Check the exception message for information on why the error occurred. |
|
A license is missing for cluster. |
Make sure to add the license when initializing the cluster. |
|
A license has been modified. |
Contact GridGain support. |
|
A license does not contain the required features. |
Contact GridGain support. |
|
Blocked licenses list has been modified. |
Contact GridGain support. |
Cache Store Exceptions
Exception Code | Description | Recommended Action |
---|---|---|
|
Cache store configuration failure. |
Check the exception message for information on why the error occurred. |
|
Cache store access error. |
Check the exception message for information on why the error occurred. |
Metastorage Exceptions
Exception Code | Description | Recommended Action |
---|---|---|
|
Failed to start a node because metastorage has diverged as a result of MG recovery. |
Clear the node of data and add it to the cluster as a blank node. |
© 2024 GridGain Systems, Inc. All Rights Reserved. Privacy Policy | Legal Notices. GridGain® is a registered trademark of GridGain Systems, Inc.
Apache, Apache Ignite, the Apache feather and the Apache Ignite logo are either registered trademarks or trademarks of The Apache Software Foundation.