I’m using SQLiteDatabase. Now I applied the 4.3.0 package then SQLiteDatabase.delete() method causes NullPointerException (Attempt to get length of null array) because of setting null as the third argument whereArgs. With 4.2.0 it has not caused.
Hi @shimm05
That’s interesting, the usage of the 3rd parameter whereArgs
is guarded with a null check. Do you have an example you can reproduce within the SQLCipher for Android test suite?
Hi @shimm05
I think you may be referring to the usage of the overloaded function here? This was not changed between 4.2.0 and 4.3.0, however we can certainly add a null check to the String[]
variant of the function for a future release.
Thank you for your fixing the issue.
As you supposed, I use many "delete(String , String , String)"s in an actual application with 3.5.9. I will apply the new one when next release.