Android Question SQLCipher Crash on Initialize

Discussion in 'Android Questions' started by headingwest, Aug 12, 2015.

  1. headingwest

    headingwest Member Licensed User

    Hi, can I get some assistance with this error please:

    My SQLCipher v1.31 is crashing on Initialise event.

    In Activity_Create
    IF FirstTime
    SQLc.Initialize(File.DirInternal, "dbchar.db", True, "password", "")

    File.DirInternal is "/data/data/jr.blast/files"

    I've also tried File.DefaultExternal with the same error.

    Here is the error:
    ==========================================

    Error occurred on line: 61 (Main)
    net.sqlcipher.database.SQLiteException: not an error
    at net.sqlcipher.database.SQLiteDatabase.dbopen(Native Method)
    at net.sqlcipher.database.SQLiteDatabase.<init>(SQLiteDatabase.java:1942)
    at net.sqlcipher.database.SQLiteDatabase.openDatabase(SQLiteDatabase.java:875)
    at net.sqlcipher.database.SQLiteDatabase.openDatabase(SQLiteDatabase.java:930)
    at anyhwheresoftware.b4a.objects.sqlcipher.SQLCipher.Initialize(SQLCipher.java:51)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at anywheresoftware.b4a.shell.Shell.runVoidMethod(Shell.java:680)
    at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:308)
    at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:238)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:121)
    at jr.dungeonblast.main.afterFirstLayout(main.java:100)
    at jr.dungeonblast.main.access$100(main.java:17)
    at jr.dungeonblast.main$WaitForLayout.run(main.java:78)
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:145)
    at android.app.ActivityThread.main(ActivityThread.java:5832)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)
     
  2. Erel

    Erel Administrator Staff Member Licensed User

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice