Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App crashes when trying to open a Couchbase DB (version 1.2.1) #34

Closed
gmbett opened this issue May 4, 2016 · 5 comments
Closed

App crashes when trying to open a Couchbase DB (version 1.2.1) #34

gmbett opened this issue May 4, 2016 · 5 comments
Assignees

Comments

@gmbett
Copy link

gmbett commented May 4, 2016

I tried to use this library to see the content of a Couchbase db.

Whenever I try to open the .cblite2 DB the app crashes with the following exception:

android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14): Could not open database
at android.database.sqlite.SQLiteConnection.nativeOpen(Native Method)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:318)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:228)
at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:512)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:206)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:178)
at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:908)
at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:878)
at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:699)
at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:714)
at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:707)
at im.dino.dbinspector.helpers.CursorOperation.execute(CursorOperation.java:20)
at im.dino.dbinspector.helpers.DatabaseHelper.getAllTables(DatabaseHelper.java:164)
at im.dino.dbinspector.fragments.TableListFragment.onActivityCreated(TableListFragment.java:133)
at android.support.v4.app.Fragment.performActivityCreated(Fragment.java:1983)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1092)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1252)
at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:742)
at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1617)
at android.support.v4.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:570)
at im.dino.dbinspector.fragments.DatabaseListFragment.onItemClick(DatabaseListFragment.java:45)
at android.widget.AdapterView.performItemClick(AdapterView.java:334)
at android.widget.AbsListView.performItemClick(AbsListView.java:1536)
at android.widget.AbsListView$PerformClick.run(AbsListView.java:3683)
at android.widget.AbsListView$3.run(AbsListView.java:5604)
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:6134)
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)

Any idea of how to solve it ?

@reisub reisub self-assigned this May 4, 2016
@reisub
Copy link
Contributor

reisub commented May 4, 2016

Hi @gmbett,
looks like they changed a lot more than just the extension - I will have to investigate.

@gmbett
Copy link
Author

gmbett commented May 4, 2016

Ok, thank you !

@reisub
Copy link
Contributor

reisub commented May 4, 2016

This is fixed with 3.2.4 which will be uploaded to maven shortly and should show up at maven central in the next hours. Thanks for the bug report.

@reisub
Copy link
Contributor

reisub commented May 4, 2016

It should show up here in the next hour.

@reisub reisub closed this as completed May 4, 2016
@gmbett
Copy link
Author

gmbett commented May 4, 2016

Awesome ! Thank you so much !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants