Skip to content

[BUG] JSQLParser fails with an exception with empty query #1963

Closed
@tomershay

Description

@tomershay

Calling CCJSqlParserUtil.parse() with an empty string (empty SQL query) fails with the following exception:

java.lang.ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 0

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions