Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

多线程问题 #66

Open
woshigenm opened this issue Jun 29, 2023 · 0 comments
Open

多线程问题 #66

woshigenm opened this issue Jun 29, 2023 · 0 comments

Comments

@woshigenm
Copy link

[Stack Trace]:
java.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteDatabase: /storage/emulated/0/SakuraAnime/Database/sakura.db
at android.database.sqlite.SQLiteClosable.acquireReference(SQLiteClosable.java:58)
at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1708)
at android.database.sqlite.SQLiteDatabase.rawQuery(SQLiteDatabase.java:1651)
at o7.a.U(DatabaseUtil.java:1)
at my.project.sakuraproject.main.player.BasePlayerActivity.I0(BasePlayerActivity.java:10)
at my.project.sakuraproject.main.player.BasePlayerActivity.pause(Unknown Source:0)
at my.project.sakuraproject.main.player.JZPlayer.x(JZPlayer.java:10)
at cn.jzvd.Jzvd.onClick(Jzvd.java:13)
at cn.jzvd.JzvdStd.onClick(JzvdStd.java:1)
at my.project.sakuraproject.main.player.JZPlayer.onClick(JZPlayer.java:1)
at android.view.View.performClick(View.java:7564)
at android.view.View.performClickInternal(View.java:7537)
at android.view.View.-$$Nest$mperformClickInternal(Unknown Source:0)
at android.view.View$PerformClick.run(View.java:29761)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:210)
at android.os.Looper.loop(Looper.java:299)
at android.app.ActivityThread.main(ActivityThread.java:8136)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1028)

@woshigenm woshigenm changed the title java.lang.IllegalStateException 多线程问题 Jun 29, 2023
@woshigenm woshigenm reopened this Jul 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant