Null Pointer Exception Retrieving Foreign Keys

Issue #76 new
Anonymous created an issue

I am getting a null pointer exception, when retrieving foreign keys for the attached database.

Comments (3)

  1. Sualeh Fatehi

    Granted that the database is badly constructed - it has a foreign key that points to an entire table, and not another table's primary key. However, this should not result in a null pointer exception.

  2. Sualeh Fatehi

    Please check if this is a duplicate of bug #53.

    java.lang.NullPointerException at org.sqlite.MetaData.escape(MetaData.java:1862) at org.sqlite.MetaData.getImportedKeys(MetaData.java:1576)

  3. Log in to comment