Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] False positive exception on statement close #108

Closed
lyndonbauto opened this issue Dec 15, 2021 · 0 comments · Fixed by #111
Closed

[BUG] False positive exception on statement close #108

lyndonbauto opened this issue Dec 15, 2021 · 0 comments · Fixed by #111
Assignees
Labels
bug Something isn't working

Comments

@lyndonbauto
Copy link
Contributor

Describe the bug

Close invokes cancelQuery which dumps out a false positive exception.

2021-12-14 14:07:54.417 FINE 296 [pool-4-thread-15 - s.flush] java.sql.SQLException: Cannot cancel query, it is either completed or has not started.
at software.aws.neptune.jdbc.utilities.SqlError.createSQLException(SqlError.java:154)
at software.aws.neptune.jdbc.utilities.QueryExecutor.cancelQuery(QueryExecutor.java:223)
at software.aws.neptune.jdbc.Statement.close(Statement.java:91)
at jdk.internal.reflect.GeneratedMethodAccessor81.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.onseven.dbvis.jdbc.b.c.b(Z:3273)
at com.onseven.dbvis.jdbc.b.g$_b.call(Z:3572)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
SQLException: SQLState(HY008)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant