Thank you so much for this suggestion Michael.
I got JamVm for my platform and now see a different error - anyone any
thoughts?!
( Once again the line in my code which causes the error is conn =
DriverManager.getConnection("jdbc:sqlite:testdb.db"); )
Logging in to database
running in pure-java mode
running in pure-java mode
Got jdbc driver
java.lang.reflect.InvocationTargetException
at java.lang.reflect.VMMethod.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:327)
at jamvm.java.lang.JarLauncher.main(JarLauncher.java:50)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.VMMethod.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:327)
at
org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
at java.lang.reflect.VMMethod.invoke(Native Method)
...2 more
Caused by: java.lang.NullPointerException
at org.sqlite.NestedDB$CausedSQLException.fillInStackTrace(NestedDB.java:649)
at java.lang.Throwable.<init>(Throwable.java:161)
at java.lang.Exception.<init>(Exception.java:78)
at java.sql.SQLException.<init>(SQLException.java:76)
at java.sql.SQLException.<init>(SQLException.java:113)
at org.sqlite.NestedDB$CausedSQLException.<init>(NestedDB.java:626)
at org.sqlite.NestedDB._open(NestedDB.java:63)
at org.sqlite.DB.open(DB.java:86)
at org.sqlite.Conn.open(Conn.java:140)
at org.sqlite.Conn.<init>(Conn.java:57)
at org.sqlite.JDBC.createConnection(JDBC.java:77)
at org.sqlite.JDBC.connect(JDBC.java:64)
at java.sql.DriverManager.getConnection(DriverManager.java:165)
at java.sql.DriverManager.getConnection(DriverManager.java:204)
at DataTest.main(DataTest.java:27)
at java.lang.reflect.VMMethod.invoke(Native Method)
...5 more
Best Regards,
Katie
-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of Black, Michael (IS)
Sent: 26 September 2011 14:41
To: General Discussion of SQLite Database
Subject: Re: [sqlite] SQLite on armv7l GNU/Linux - JDBC issues -anysuggestions?!
I found an old post here that claims jamvm fixed their same (or similar?)
assertion problem with that jdbc driver.
https://evolvis.org/pipermail/jalimo-info/2009-March/000299.html
Michael D. Black
Senior Scientist
NG Information Systems
Advanced Analytics Directorate
________________________________
From: [email protected] [[email protected]] on
behalf of Katie Blake [[email protected]]
Sent: Monday, September 26, 2011 6:39 AM
To: General Discussion of SQLite Database
Subject: EXT :Re: [sqlite] SQLite on armv7l GNU/Linux - JDBC issues
-anysuggestions?!
Christian! Hi !
What a small world it is :) Thank you for helping me out!
I have tried the zentus driver, and have sent the same issue. I am now looking
at getting the http://www.ch-werner.de/javasqlite/ compiled for my platform -
fingers crossed!
I don't see any difference if I run the test program with a preceding java
-Djava.compiler=NONE ... am I doing something foolish?
Thanks so much again, very much hope that life is treating you well at the
moment.
Katie,
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Katie Blake, Software Developer
Visit us at Metering Europe, Booth B54.
Sentec Ltd phone: +44(0) 1223 303800
5 The Westbrook Centre fax: +44(0) 1223 303801
Milton Road mobile:
Cambridge email: [email protected]
CB4 1YG, UK web: www.sentec.co.uk
This email is confidential. If you have received it in error, please notify
Sentec Ltd UK at [email protected] immediately,
delete it from your system and note that you may not copy, distribute or use
its contents.
Sentec Limited is registered at the above address UK Company Number 3452194.
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users