KB-2426 Snowflake JDBC Connected System fails with ExceptionInInitializerError in CredentialManager
Symptoms
When attempting to connect to Snowflake, the following error appears in the front-end user interface:
Error obtaining a connection to the database
Cannot create PoolableConnectionFactory (JDBC driver not able to connect to Snowflake. Error code: 200,002, Message: Could not initialize class net.snowflake.client.core.CredentialManager$CredentialManagerHolder.)Additionally, tomcat-stdOut.log records the following trace errors:
java.lang.NoClassDefFoundError: Could not initialize class net.snowflake.client.core.CredentialManager$CredentialManagerHolder
...
at net.snowflake.client.core.SecureStorageLinuxManager.getInstance(SecureStorageLinuxManager.java:46)
...
Caused by: java.lang.NullPointerException: Cannot invoke "java.io.File.getAbsolutePath()" because "this.cacheFile" is nullCause
This issue is caused by a known Snowflake JDBC driver defect tracked as SNOW-3053365: ExceptionInInitializerError in SecureStorageLinuxManager. The defect causes an initialization exception when the system home directory is unavailable. This defect was resolved in Snowflake JDBC driver version 4.0.2+.
Action
This issue is resolved in Snowflake JDBC driver version 4.0.2 and later. To resolve this issue, deploy Snowflake JDBC driver version 4.0.2 or later to your site.
To deploy the JDBC driver to your Appian Cloud site, open a support case with Appian Support and provide:
- The Snowflake JDBC driver (version 4.0.2+).
- The corresponding driver icon image.
Affected Versions
This article applies to all versions of Appian with Snowflake JDBC installed.
Last Reviewed: October 2026.
