I believe the fix for this issue is likely similar to these two commits that were made for
We are connecting to an AWS Aurora RDS datasource using a connection string that looks like this:
After connecting successfully, we are occasionally getting this NullPointerException on calls to prepareStatement:
In this instance, our input into Groovy's eachRow method was:
sql: "SELECT table_name FROM information_schema.tables where table_schema=current_database() and lower(table_name)=?"
closure: irrelevant, we weren't getting far enough into execution for the code to hit this parameter