GridGain Developers Hub

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 Description

IGN-CMN-1

Operation was stopped because node is stopping.

IGN-CMN-2

Operation was stopped because the component is not started.

IGN-CMN-3

Operation failed because an illegal argument or argument in a wrong format has been passed.

IGN-CMN-4

Operation failed because SSL could not be configured.

IGN-CMN-5

Operation failed because a node has left the cluster.

IGN-CMN-6

Operation failed because the cursor is already closed.

IGN-CMN-7

An error occurred while closing resources.

IGN-CMN-8

An error occurred while marshalling or unmarshalling objects.

IGN-CMN-9

The method cannot return a null value.

IGN-CMN-65535

Internal error has occurred.

Table Exceptions

Exception Description

IGN-TBL-1

Table already exists.

IGN-TBL-2

Table not found.

IGN-TBL-3

Column already exists.

IGN-TBL-4

Column not found.

IGN-TBL-5

Table is currently stopping.

IGN-TBL-6

Table definition not correct.

IGN-TBL-7

Schema version mismatch.

IGN-TBL-8

Partition type not supported.

Client Exceptions

Exception Description

IGN-CLIENT-1

Connection to client failed.

IGN-CLIENT-2

An issue occurred with connection protocol.

IGN-CLIENT-3

Incompatible protocol version.

IGN-CLIENT-4

Failed to find the table by ID.

IGN-CLIENT-5

An error occurred during authentication.

IGN-CLIENT-6

An error occurred during authorization.

IGN-CLIENT-7

An error occurred with client configuration.

IGN-CLIENT-8

Cluster ID mismatch.

IGN-CLIENT-9

Client SSL configuration is not valid.

IGN-CLIENT-10

Invalid header in client handshake message.

SQL Exceptions

Exception Description

IGN-SQL-1

Failed to read response from a query that does not return rows.

IGN-SQL-2

Schema not found error.

IGN-SQL-3

Statement parsing error. SQL string is not grammatically valid.

IGN-SQL-4

Statement validation error. SQL string is not semantically valid or contains prohibited operations.

IGN-SQL-5

Constraint violation error, for example, primary key violation.

IGN-SQL-6

Statement got cancelled.

IGN-SQL-7

Runtime error. Usually caused an SQL error, for example numeric overflow.

IGN-SQL-8

Planning timed out without finding any valid plan.

IGN-SQL-9

SQL engine was unable to map query on current cluster topology. Most likely, the partition or view is not available because all nodes containing it are offline.

IGN-SQL-10

Execution of transaction control statement inside an external transaction is forbidden.

Meta Storage Exceptions

Exception Description

IGN-META-1

Failed to start the underlying key value storage.

IGN-META-2

Failed to restore the underlying key value storage.

IGN-META-3

Failed to compact the underlying key value storage.

IGN-META-4

Failed to perform an operation on the underlying key value storage.

IGN-META-5

Failed to perform an operation within a specified time period.

Index Exceptions

Exception Description

IGN-IDX-1

Invalid index definition.

IGN-IDX-2

Failed to find the specified index.

IGN-IDX-3

Specified index already exists.

Transactions Exceptions

Exception Description

IGN-TX-1

Default error for transaction state storage.

IGN-TX-2

Transaction state storage is stopped.

IGN-TX-3

Unexpected transaction state on state change.

IGN-TX-4

Failed to acquire a lock on a key due to a conflict.

IGN-TX-5

Failed to acquire a lock on a key within the timeout.

IGN-TX-6

Failed to commit a transaction.

IGN-TX-7

Failed to roll back a transaction.

IGN-TX-8

Failed to put read-write operation into read-only transaction.

IGN-TX-9

Replica is not ready to handle a request.

IGN-TX-10

Transaction state storage rebalancing error.

IGN-TX-11

Failed to create a read-only transaction with a timestamp older than the data available in the tables.

IGN-TX-12

Failure due to an incompatible schema change.

IGN-TX-13

Failure due to primary replica expiration.

IGN-TX-14

Transaction already finished.

IGN-TX-15

Failure due to a stale operation of a completed transaction.

IGN-TX-16

Failure due to cache operations enlisted into table transaction or vice versa.

Replicator Exceptions

Exception Description

IGN-REP-1

Default error for the replication procedure.

IGN-REP-2

Replica with the same identifier already exists.

IGN-REP-3

Timeout has happened during the replication procedure.

IGN-REP-4

The replication level tried to handle an unsupported request.

IGN-REP-5

Replica is not ready to handle the request.

IGN-REP-6

Replica is not the current primary replica.

IGN-REP-7

Failed to close cursor.

IGN-REP-8

Replica is already stopping.

IGN-REP-9

Replication safe time reordering.

Storage Exceptions

Exception Description

IGN-STORAGE-1

Default error code for storage exceptions.

IGN-STORAGE-2

Failed to create a directory.

IGN-STORAGE-3

Failed to perform operation because the storage is closed.

IGN-STORAGE-4

Storage rebalancing error.

IGN-STORAGE-5

Failed to perform operation because the storage is destroyed.

IGN-STORAGE-6

Error reading from an index that has not yet been built.

Distribution Zone Exceptions

Exception Description

IGN-DISTRZONES-1

Distribution zone is not found.

Network Exceptions

Exception Description

IGN-NETWORK-1

Unresolvable consistent ID.

IGN-NETWORK-2

Port is already in use.

IGN-NETWORK-5

Recipient node has left the physical topology.

IGN-NETWORK-6

Could not resolve address.

Node Configuration Exceptions

Exception Description

IGN-NODECFG-1

Failed to read configuration.

IGN-NODECFG-2

Failed to create a configuration file.

IGN-NODECFG-3

Failed to write configuration.

IGN-NODECFG-4

Failed to parse configuration.

Code Deployment Exceptions

Exception Description

IGN-CODEDEPLOY-1

Access attempt to a non-existing deployment unit.

IGN-CODEDEPLOY-2

Duplicate deployment unit.

IGN-CODEDEPLOY-3

Deployment unit content read error.

IGN-CODEDEPLOY-4

Deployment unit is unavailable for computing.

Garbage Collector Exceptions

Exception Description

IGN-GC-1

Garbage collector closed.

Authentication Exceptions

Exception Description

IGN-AUTHENTICATION-1

Authentication error caused by unsupported authentication type.

IGN-AUTHENTICATION-2

Authentication error caused by invalid credentials.

IGN-AUTHENTICATION-3

Basic authentication provider is not found.

Compute Exceptions

Exception Description

IGN-COMPUTE-1

Classpath error.

IGN-COMPUTE-2

Class loader error.

IGN-COMPUTE-3

Failed to initialize the job class.

IGN-COMPUTE-4

Execution queue overflow.

IGN-COMPUTE-5

Compute job status transition error.

IGN-COMPUTE-6

Failed to cancel compute job.

IGN-COMPUTE-7

Compute job result not found.

IGN-COMPUTE-8

Compute job state cannot be retrieved.

IGN-COMPUTE-9

Compute job failed.

IGN-COMPUTE-10

Failed to change job priority, because compute job was not found.

IGN-COMPUTE-11

Failed to change job priority, because compute job is already executing.

IGN-COMPUTE-12

Failed to resolve primary replica for colocated execution.

IGN-COMPUTE-13

Failed to change job priority.

IGN-COMPUTE-14

Specified node is not found in the cluster.

IGN-COMPUTE-15

Compute job owner cannot be retrieved.

Catalog Exceptions

Exception Description

IGN-CATALOG-1

Command to the catalog has not passed the validation. See exception message for details.

Placement Driver Exceptions

Exception Description

IGN-PLACEMENTDRIVER-1

Primary replica await timeout error.

IGN-PLACEMENTDRIVER-2

Primary replica await error.

Critical Workers Exceptions

Exception Description

IGN-WORKERS-1

System worker does not update its heartbeat for a long time.

IGN-WORKERS-2

System-critical operation timed out.

Disaster Recovery Exceptions

Exception Description

IGN-RECOVERY-1

Partition ID is not in valid range.

IGN-RECOVERY-2

Nodes were not found.

IGN-RECOVERY-3

Failed to recover partition states.

IGN-RECOVERY-4

Cluster is under load.