Skip to content

Attemped it dereference unique_ptr that is null #78

@Stongtong

Description

@Stongtong

hi guys:
I meet this problem in my practice and confused a little, I use java call it ( java version is jdk 11 and duck db version is 1.0.0), the detail log is below:

Caused by: java.sql.SQLException: FATAL Error: Failed: database has been invalidated because of a previous fatal error. the database must be restarted prior to being used again.
Original error: "Failed: database has been invalidated because of a previous fatal error. the database must be restarted prior to being used again.
Original error: "Failed: database has been invalidated because of a previous fatal error. the database must be restarted prior to being used again.
Original error: "Failed: database has been invalidated because of a previous fatal error. the database must be restarted prior to being used again.
Original error: "Attemped it dereference unique_ptr that is NULL!""""
at org.duckdb.DuckDBNative.duckdb_jdbc_execute(Native Method)
at org.duckdb.DuckDBPrepareStatement.execute(DuckDBPrepareStatement.java:143)
at org.duckdb.DuckDBPrepareStatement.execute(DuckDBPrepareStatement.java:197)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions