dbeaver throws java.lang.IndexOutOfBoundsException on `set mode`
Open
bug
- Dominant language
- Java
- Stars
- 5.6k
- Forks
- 559
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 34
Description
The following H2 configuration statement causes dbeaver to throw an exception:
```
SET MODE PostgreSQL;
```
```
java.lang.IndexOutOfBoundsException: Index -1 out of bounds for length 16
```
The file is still formatted on `spotless:apply` and in most projects the entire spotless process succeeds, but sometimes the next formating step freezes.
Maven 3.8.7
OpenJDK 11.0.18
spotless 2.31.0
Contributor guide
Assessment
This issue has not been assessed yet.