Ask a Question

bug: exception when calling groovyUtilsPro.getGroovySql('<db name>')

0 Kudos

bug: exception when calling groovyUtilsPro.getGroovySql('<db name>')

I get exception when calling def sql = groovyUtilsPro.getGroovySql('<db name>'):

java.lang.indexOutOfBoundsException: No group 5

error at line: 5



def sql = Sql.newInstance(groovyUtilsPro.getJdbcConnection('<db name>').getMetaData().getURL())



import groovy.sql.Sql


def groovyUtilsPro = new GroovyUtilsPro(context)
def sql = groovyUtilsPro.getGroovySql('<db name>')



DB is MySql, same works for other Oracle DB configured in the project, so it may be connector bug

tried mysql-connector-java-8.0.24 and .23, both produce same exception

1 Comment
Champion Level 3


Either your question needs to go into the forum here

or raise a case with customer support  if not already.

This does not seem to belong here.

Welcome to the ReadyAPI Feature Requests board!

Here you can review submitted feature requests and vote up the ones you like! If you can't find the feature you want - go ahead and suggest your own idea. Ideas with the highest rating can be implemented in the product.

Check out the Create a Feature Request guide for more information.
New Here?
Welcome to the Community
Sign Up Here