IBM Support

Google BigQuery JDBC driver causes a Java stack overflow error to be thrown as a statement is executed

Troubleshooting


Problem

A query sent to the Google BigQuery JDBC driver can fail with a Java stack overflow.

Symptom

A statement causes a Java stack overflow to be reported by Cognos Analytic due to a defect in the Google BigQuery JDBC driver.
 
Caused by: java.lang.StackOverflowError
    at java.lang.Character.getType(Character.java:6971)
    at java.lang.Character.isLetterOrDigit(Character.java:5882)
    at java.util.regex.Pattern$Bound.isWord(Pattern.java:5308)
    at java.util.regex.Pattern$Bound.check(Pattern.java:5322)
    at java.util.regex.Pattern$Bound.match(Pattern.java:5341)
    at java.util.regex.Pattern$GroupHead.match(Pattern.java:4671)
    at java.util.regex.Pattern$NotBehind.match(Pattern.java:5215)
........
at java.util.regex.Pattern$Start.match(Pattern.java:3474)
    at java.util.regex.Matcher.search(Matcher.java:1259)
    at java.util.regex.Matcher.find(Matcher.java:675)
    at com.simba.googlebigquery.support.JDBCEscaper.Scan(Unknown Source)
    at com.simba.googlebigquery.support.JDBCEscaper.Apply(Unknown Source)
    at com.simba.googlebigquery.support.JDBCEscaper.Apply(Unknown Source)
    at com.simba.googlebigquery.support.JDBCEscaper.Apply(Unknown Source)
    at com.simba.googlebigquery.googlebigquery.dataengine.BQDataEngine.prepare(Unknown Source)

 

Document Location

Worldwide

[{"Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSTSF6","label":"IBM Cognos Analytics"},"ARM Category":[{"code":"a8m50000000Cl3zAAC","label":"Administration"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"},{"Product":{"code":"SS6G84","label":"IBM Cognos Analytics on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
14 January 2026

UID

ibm16350933