I am using SQlite in my Java application. If I run my program it will error at some point.
Sometimes it is a simple exception on other occasions the JVM has a fatal error.
java.sql.SQLException: [SQLITE_MISUSE] Library used incorrectly (out of memory)
A fatal error has been detected by the Java Runtime Environment:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006d587ab0, pid=7036, tid=6364
JRE version: Java(TM) SE Runtime Environment (8.0_73-b02) (build 1.8.0_73-b02) Java VM: Java HotSpot(TM) 64-Bit Server VM (25.73-b02 mixed mode windows-amd64 compressed oops) Problematic frame: C [sqlite-3.8.11.2-6df82281-eaf0-4204-a962-ce1e48ddd89f-sqlitejdbc.dll+0x7ab0]
Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
An error report file with more information is saved as: C:\Users\UltraMouse\workspace\co.windall.twitter\hs_err_pid7036.log
If you would like to submit a bug report, please visit: http://ift.tt/1BNqnLY The crash happened outside the Java Virtual Machine in native code. See problematic frame for where to report the bug.
The code line causing this is
ResultSet rs = stmt.executeQuery("SELECT * FROM User WHERE id=" + id.toString() + ";");
It is not consistent, it happens at a different point (This code is in a loop) each time but it always happens.
Here are both my full source files: http://ift.tt/1XqVne3 http://ift.tt/22f0KUo
I run it cleanly each time (I remove the database file). It fails on line 102 in file1 at the moment.
I have no clue what to do :(
And yes those twitter keys work for now but are limited to read access, I left them there so you can try the application out if you need too.
Aucun commentaire:
Enregistrer un commentaire