SQLiteDatabase Error, unhelpful Log

后端 未结 3 701
时光取名叫无心
时光取名叫无心 2021-01-15 01:26

I released an update of my app and am getting a ton of errors from users and I can\'t recreate it or pin-point the problem.

Two errors I\'m getting: java.lang.

3条回答
  •  臣服心动
    2021-01-15 02:01

    I could not recreate issue because in testing, I was upgrading from DB version 3 to version 4. Many of my users were upgrading from version 2 to version 4. Some of the code for upgrading from 2 to 3 was method-based. I ended up changing some of those methods for version 4, which broke the version 3 upgrade. I then was getting a caught exception from a cursorToObject() method I had, which caused the database.close to be skipped and then I got the sqlite exception

提交回复
热议问题