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

NPE on "Ctrl-C" from CLI #51

Open
shoffmeister opened this issue Sep 11, 2024 · 0 comments
Open

NPE on "Ctrl-C" from CLI #51

shoffmeister opened this issue Sep 11, 2024 · 0 comments

Comments

@shoffmeister
Copy link

Upon running kwack for a bit (java -jar ... from local unmodified build), doing some select, some create table as select, I Ctrl+C'ed from kwack, on Linux.

jdbc:duckdb::memory:> 
java.lang.NullPointerException: Cannot read field "conn_ref" because "this.conn" is null
        at org.duckdb.DuckDBPreparedStatement.cancel(DuckDBPreparedStatement.java:350)
        at sqlline.DispatchCallback.forceKillSqlQuery(DispatchCallback.java:83)
        at sqlline.SqlLine.begin(SqlLine.java:616)
        at io.kcache.kwack.KwackEngine.start(KwackEngine.java:263)
        at io.kcache.kwack.KwackEngine.start(KwackEngine.java:255)
        at io.kcache.kwack.KwackMain.call(KwackMain.java:157)
        at io.kcache.kwack.KwackMain.call(KwackMain.java:34)
        at picocli.CommandLine.executeUserObject(CommandLine.java:2045)
        at picocli.CommandLine.access$1500(CommandLine.java:148)
        at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2465)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2457)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2419)
        at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2277)
        at picocli.CommandLine$RunLast.execute(CommandLine.java:2421)
        at picocli.CommandLine.execute(CommandLine.java:2174)
        at io.kcache.kwack.KwackMain.main(KwackMain.java:297)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant