Symptom
After installing the SAC Agent Bundle which updates both the Cloud Connector and the Cloud Agent, import connections to snowflake fail with the error:
JDBC driver internal error: exception creating result java.lang.NoClassDefFoundError: Could not initialize class net.snowflake.client.jdbc.internal.apache.arrow.memory.RootAllocator at net.snowflake.client.internal.jdbc.SnowflakeResultSetSerializableV1.<init>(SnowflakeResultSetSerializableV1.java:373).
or with the error:
Error while processing request in QueryService:
com.sap.fpa.cloud.internal.LoggingDAException: CS_SQL_ERROR JDBC driver internal error: exception creating result java.lang.NoClassDefFoundError: Could not initialize class net.snowflake.client.jdbc.internal.apache.arrow.memory.util.MemoryUtil at net.snowflake.client.jdbc.internal.apache.arrow.memory.ArrowBuf.getDirectBuffer(ArrowBuf.java:234).
at com.sap.fpa.cloud.rest.cs.service.QueryService.handleCSException(QueryService.java:506)
Environment
- SAP Analytics Cloud 2026.15.3
- SAP Cloud Connector Version: 2.19.0.2
- SAP Cloud Agent 469
- Snowflake JDBC driver 4.x (not tested with 3.x - it might still occur with that version)
Note: Issue can also occur with Cloud Agent versions prior to the listed one.
Reproducing the Issue
- Install Cloud Agent with JVM 1.8
- Attempt to create an import job using Snowflake JDBC driver
Cause
The first error message occurs because the bundle includes SAP JVM 1.8 which is not compatible with the latest Snowflake JDBC drivers.
The second error occurs if the JVM has been updated, but the necessary JVM option to force JSON output is missing.
Resolution
To resolve the first error, download SapMachine (SAP JVM version 17) and install it on the system where the Cloud Agent is located. Then modify the JAVA_HOME environment variable to point to the Java 17 folder
To resolve the second error, you need to add the JVM option
--add-opens=java.base/java.nio=ALL-UNNAMED
to the Tomcat JVM options
See Also
Snowflake, JVM, import, JDBC, error, CS_SQL_ERROR, ArrowBuf
Keywords
KBA , LOD-ANA-AQU , Import Data Connections (Acquiring Data) , Problem
SAP Knowledge Base Article - Public