1.0 version crash after upgrade from 1.0-alpha or 1.0-beta



  • android 5.1,

    logcat:
    I/MemorizingTrustManager(20936): getAppKeyStore(/data/data/at.bitfire.davdroid/app_KeyStore/KeyStore.bks) - exception loading file key store
    I/MemorizingTrustManager(20936): java.io.FileNotFoundException: /data/data/at.bitfire.davdroid/app_KeyStore/KeyStore.bks: open failed: ENOENT (No such file or directory)
    I/MemorizingTrustManager(20936):        at libcore.io.IoBridge.open(IoBridge.java:456)
    I/MemorizingTrustManager(20936):        at java.io.FileInputStream.<init>(FileInputStream.java:76)
    I/MemorizingTrustManager(20936):        at de.duenndns.ssl.MemorizingTrustManager.loadAppKeyStore(MemorizingTrustManager.java:327)
    I/MemorizingTrustManager(20936):        at de.duenndns.ssl.MemorizingTrustManager.init(MemorizingTrustManager.java:152)
    I/MemorizingTrustManager(20936):        at de.duenndns.ssl.MemorizingTrustManager.<init>(MemorizingTrustManager.java:130)
    I/MemorizingTrustManager(20936):        at at.bitfire.davdroid.App.onCreate(App.java:59)
    ....
    I/MemorizingTrustManager(20936): Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
    I/MemorizingTrustManager(20936):        at libcore.io.Posix.open(Native Method)
    I/MemorizingTrustManager(20936):        at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
    .....
    E/AndroidRuntime(20936): FATAL EXCEPTION: main
    E/AndroidRuntime(20936): Process: at.bitfire.davdroid, PID: 20936
    E/AndroidRuntime(20936): java.lang.RuntimeException: Unable to create application at.bitfire.davdroid.App: android.database.sqlite.SQLiteException: no such table: settings (code 1): , while compiling: SELECT value FROM settings WHERE setting=?
    E/AndroidRuntime(20936):        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4583)
    E/AndroidRuntime(20936):        at android.app.ActivityThread.access$1500(ActivityThread.java:154)
    ....
    E/AndroidRuntime(20936): Caused by: android.database.sqlite.SQLiteException: no such table: settings (code 1): , while compiling: SELECT value FROM settings WHERE setting=?
    E/AndroidRuntime(20936):        at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
    ....
    W/ActivityManager( 2660):   Force finishing activity 1 at.bitfire.davdroid/.ui.AccountsActivity
    E/ActivityManager( 2660): Invalid thumbnail dimensions: 0x0
    I/ActivityManager( 2660): Process at.bitfire.davdroid (pid 20936) has died
    

    once i have erased settings - all ok.


  • developer

    Hello, please see the original post for RC1:

    If you're upgrading from DAVdroid 0.9.x there are migration routines that try to update all your settings and resources to the newest version. If you previously had an alpha or beta version, you need to uninstall and reinstall the latest version.



  • oh, i see now, my bad.


Log in to reply
 

Looks like your connection to Bitfire App Forums was lost, please wait while we try to reconnect.