Re: [sqlite] sqlite3 java.lang.IllegalStateException: SQLite JDBC: inconsistent internal state

2019-05-02 Thread Rowan Worth
On Wed, 1 May 2019 at 19:30, Frank Kemmer wrote: > > https://github.com/xerial/sqlite-jdbc/blob/14839bae0ceedff805f9cda35f5e52db8c4eea88/src/main/java/org/sqlite/core/CoreResultSet.java#L86 > > Here we see, that colsMeta == null results in throwing the seen exception. > > But how can colsMeta be

Re: [sqlite] sqlite3 java.lang.IllegalStateException: SQLite JDBC: inconsistent internal state

2019-05-01 Thread Frank Kemmer
I looked into the JDBC driver source code and found the following two code lines mentioned in the stack trace. Sqlline is trying to get the tablename of the resultSet which results in the invocation of:

Re: [sqlite] sqlite3 java.lang.IllegalStateException: SQLite JDBC: inconsistent internal state

2019-04-28 Thread Frank Kemmer
Simon Slavin schrieb am Sa. 27. Apr. 2019 um 14:28: > On 27 Apr 2019, at 10:47am, Frank Kemmer wrote: > > > I can connect to the database, create a table, select from the table, > insert into the table, but the first time I try to read after an insert I > get the following exception: > > >> Are

Re: [sqlite] sqlite3 java.lang.IllegalStateException: SQLite JDBC: inconsistent internal state

2019-04-27 Thread Simon Slavin
On 27 Apr 2019, at 10:47am, Frank Kemmer wrote: > I can connect to the database, create a table, select from the table, insert > into the table, but the first time I try to read after an insert I get the > following exception: Are you checking the result codes from all these operations ? If

[sqlite] sqlite3 java.lang.IllegalStateException: SQLite JDBC: inconsistent internal state

2019-04-27 Thread Frank Kemmer
I am using: - sqlline-1.7.0-jar-with-dependencies.jar - sqlite-jdbc-3.27.2.jar I can connect to the database, create a table, select from the table, insert into the table, but the first time I try to read after an insert I get the following exception: 0: jdbc:sqlite:/maxmin> SELECT * FROM