java.lang.ExceptionInInitializerError

Exception #2444061

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web7

  • via GitHub by franzejr
    ,
  • Stack trace

    • java.lang.ExceptionInInitializerError at org.xutils.http.request.HttpRequest.<clinit>(HttpRequest.java:61) at org.xutils.http.request.UriRequestFactory.getUriRequest(UriRequestFactory.java:48) at org.xutils.http.HttpTask.createNewRequest(HttpTask.java:139) at org.xutils.http.HttpTask.doBackground(HttpTask.java:199) at org.xutils.common.task.TaskProxy$1.run(TaskProxy.java:62) at org.xutils.common.task.PriorityRunnable.run(PriorityRunnable.java:21) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569) at java.lang.Thread.run(Thread.java:856) Caused by: android.database.sqlite.SQLiteDatabaseLockedException: error code 5: database is locked at android.database.sqlite.SQLiteStatement.native_1x1_string(Native Method) at android.database.sqlite.SQLiteStatement.simpleQueryForString(SQLiteStatement.java:161) at android.database.DatabaseUtils.stringForQuery(DatabaseUtils.java:812) at android.database.DatabaseUtils.stringForQuery(DatabaseUtils.java:800) at android.database.sqlite.SQLiteDatabase.setJournalMode(SQLiteDatabase.java:1060) at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:996) at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:962) at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1043) at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1036) at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:761) at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:215) at org.xutils.db.DbManagerImpl.openOrCreateDatabase(DbManagerImpl.java:413) at org.xutils.db.DbManagerImpl.<init>(DbManagerImpl.java:62) at org.xutils.db.DbManagerImpl.getInstance(DbManagerImpl.java:77) at org.xutils.x.getDb(x.java:76) at org.xutils.http.cookie.DbCookieStore.<init>(DbCookieStore.java:37) at org.xutils.http.cookie.DbCookieStore.<clinit>(DbCookieStore.java:27)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    lribeirolribeiro
    2 times, last one
    brunosatrianibrunosatriani
    5 times, last one
    Ranjana DangolRanjana Dangol
    3 times, last one
    Diogo JaymDiogo Jaym
    2 times, last one
    bayukresnobayukresno
    3 times, last one