[SQLiteJDBC] null pointer on select

AJ Weber aweber at comcast.net
Wed Feb 17 15:32:08 EST 2010


This was developer error.  Please ignore.  My Swing app was closing the connection before I was done with it.

-AJ
  ----- Original Message ----- 
  From: AJ Weber 
  To: sqlitejdbc at lists.hcoop.net 
  Sent: Wednesday, February 17, 2010 8:29 AM
  Subject: null pointer on select


  I'm getting a null pointer exception if I try and select count(*) from a valid table that does not have any rows.  (It should return a ResultSet with a single row with a value of zero.)

  What do you need from me to help reproduce -- it should be pretty easy.

  -AJ

  Executing row count sql=SELECT COUNT(*) from party_email 
  java.lang.NullPointerException 
  at org.sqlite.Stmt.executeQuery(Stmt.java:89) 


More information about the SQLiteJDBC mailing list