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

SQLiteException #970

Closed
di72nn opened this issue May 8, 2020 · 0 comments · Fixed by #1011
Closed

SQLiteException #970

di72nn opened this issue May 8, 2020 · 0 comments · Fixed by #1011
Labels

Comments

@di72nn
Copy link
Member

di72nn commented May 8, 2020

A new crash report for 2.4.0-beta.1 on Android 9:

android.database.sqlite.SQLiteException:
  at android.database.sqlite.SQLiteConnection.nativePrepareStatement (Native Method)
  at android.database.sqlite.SQLiteConnection.acquirePreparedStatement (SQLiteConnection.java:903)
  at android.database.sqlite.SQLiteConnection.prepare (SQLiteConnection.java:514)
  at android.database.sqlite.SQLiteSession.prepare (SQLiteSession.java:588)
  at android.database.sqlite.SQLiteProgram.<init> (SQLiteProgram.java:58)
  at android.database.sqlite.SQLiteQuery.<init> (SQLiteQuery.java:37)
  at android.database.sqlite.SQLiteDirectCursorDriver.query (SQLiteDirectCursorDriver.java:46)
  at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory (SQLiteDatabase.java:1457)
  at android.database.sqlite.SQLiteDatabase.rawQuery (SQLiteDatabase.java:1387)
  at org.greenrobot.greendao.database.StandardDatabase.rawQuery (StandardDatabase.java:32)
  at org.greenrobot.greendao.query.Query.list (Query.java:88)
  at org.greenrobot.greendao.query.QueryBuilder.list (QueryBuilder.java:427)
  at fr.gaulupeau.apps.Poche.ui.ArticleListFragment.getItems (ArticleListFragment.java:191)
  at fr.gaulupeau.apps.Poche.ui.RecyclerViewListFragment.resetContent (RecyclerViewListFragment.java:177)
  at fr.gaulupeau.apps.Poche.ui.ArticleListFragment.resetContent (ArticleListFragment.java:177)
  at fr.gaulupeau.apps.Poche.ui.RecyclerViewListFragment.checkList (RecyclerViewListFragment.java:158)
  at fr.gaulupeau.apps.Poche.ui.RecyclerViewListFragment.onResume (RecyclerViewListFragment.java:106)
  at androidx.fragment.app.Fragment.performResume (Fragment.java:2649)
  at androidx.fragment.app.FragmentManagerImpl.moveToState (FragmentManagerImpl.java:922)
  at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState (FragmentManagerImpl.java:1238)
  at androidx.fragment.app.FragmentManagerImpl.moveToState (FragmentManagerImpl.java:1303)
  at androidx.fragment.app.BackStackRecord.executeOps (BackStackRecord.java:439)
  at androidx.fragment.app.FragmentManagerImpl.executeOps (FragmentManagerImpl.java:2079)
  at androidx.fragment.app.FragmentManagerImpl.executeOpsTogether (FragmentManagerImpl.java:1869)
  at androidx.fragment.app.FragmentManagerImpl.removeRedundantOperationsAndExecute (FragmentManagerImpl.java:1824)
  at androidx.fragment.app.FragmentManagerImpl.execSingleAction (FragmentManagerImpl.java:1696)
  at androidx.fragment.app.BackStackRecord.commitNowAllowingStateLoss (BackStackRecord.java:299)
  at androidx.fragment.app.FragmentPagerAdapter.finishUpdate (FragmentPagerAdapter.java:235)
  at androidx.viewpager.widget.ViewPager.populate (ViewPager.java:1244)
  at androidx.viewpager.widget.ViewPager.populate (ViewPager.java:1092)
  at androidx.viewpager.widget.ViewPager.onMeasure (ViewPager.java:1622)
  at android.view.View.measure (View.java:23355)
  at android.view.ViewGroup.measureChildWithMargins (ViewGroup.java:6758)
  at android.widget.LinearLayout.measureChildBeforeLayout (LinearLayout.java:1535)
  at android.widget.LinearLayout.measureVertical (LinearLayout.java:825)
  at android.widget.LinearLayout.onMeasure (LinearLayout.java:704)
  at android.view.View.measure (View.java:23355)
  at android.view.ViewGroup.measureChildWithMargins (ViewGroup.java:6758)
  at android.widget.FrameLayout.onMeasure (FrameLayout.java:185)
  at android.view.View.measure (View.java:23355)
  at android.view.ViewGroup.measureChildWithMargins (ViewGroup.java:6758)
  at androidx.coordinatorlayout.widget.CoordinatorLayout.onMeasureChild (CoordinatorLayout.java:760)
  at com.google.android.material.appbar.HeaderScrollingViewBehavior.onMeasureChild (HeaderScrollingViewBehavior.java:99)
  at com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior.onMeasureChild (AppBarLayout.java:1892)
  at androidx.coordinatorlayout.widget.CoordinatorLayout.onMeasure (CoordinatorLayout.java:831)
  at android.view.View.measure (View.java:23355)
  at androidx.drawerlayout.widget.DrawerLayout.onMeasure (DrawerLayout.java:1119)
  at android.view.View.measure (View.java:23355)
  at android.view.ViewGroup.measureChildWithMargins (ViewGroup.java:6758)
  at android.widget.FrameLayout.onMeasure (FrameLayout.java:185)
  at androidx.appcompat.widget.ContentFrameLayout.onMeasure (ContentFrameLayout.java:143)
  at android.view.View.measure (View.java:23355)
  at android.view.ViewGroup.measureChildWithMargins (ViewGroup.java:6758)
  at android.widget.LinearLayout.measureChildBeforeLayout (LinearLayout.java:1535)
  at android.widget.LinearLayout.measureVertical (LinearLayout.java:825)
  at android.widget.LinearLayout.onMeasure (LinearLayout.java:704)
  at android.view.View.measure (View.java:23355)
  at android.view.ViewGroup.measureChildWithMargins (ViewGroup.java:6758)
  at android.widget.FrameLayout.onMeasure (FrameLayout.java:185)
  at android.view.View.measure (View.java:23355)
  at android.view.ViewGroup.measureChildWithMargins (ViewGroup.java:6758)
  at android.widget.LinearLayout.measureChildBeforeLayout (LinearLayout.java:1535)
  at android.widget.LinearLayout.measureVertical (LinearLayout.java:825)
  at android.widget.LinearLayout.onMeasure (LinearLayout.java:704)
  at android.view.View.measure (View.java:23355)
  at android.view.ViewGroup.measureChildWithMargins (ViewGroup.java:6758)
  at android.widget.FrameLayout.onMeasure (FrameLayout.java:185)
  at com.android.internal.policy.DecorView.onMeasure (DecorView.java:717)
  at android.view.View.measure (View.java:23355)
  at android.view.ViewRootImpl.performMeasure (ViewRootImpl.java:2917)
  at android.view.ViewRootImpl.measureHierarchy (ViewRootImpl.java:1747)
  at android.view.ViewRootImpl.performTraversals (ViewRootImpl.java:2040)
  at android.view.ViewRootImpl.doTraversal (ViewRootImpl.java:1635)
  at android.view.ViewRootImpl$TraversalRunnable.run (ViewRootImpl.java:7788)
  at android.view.Choreographer$CallbackRecord.run (Choreographer.java:1004)
  at android.view.Choreographer.doCallbacks (Choreographer.java:816)
  at android.view.Choreographer.doFrame (Choreographer.java:751)
  at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:990)
  at android.os.Handler.handleCallback (Handler.java:873)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loop (Looper.java:193)
  at android.app.ActivityThread.main (ActivityThread.java:6898)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:537)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:858)

Most likely related to 69a7aef#diff-45ebd7bb2b556fd209fd62277534034cR219.

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

Successfully merging a pull request may close this issue.

1 participant