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

Cursor problems #201

Open
pnemonic78 opened this issue Nov 12, 2024 · 0 comments
Open

Cursor problems #201

pnemonic78 opened this issue Nov 12, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@pnemonic78
Copy link
Collaborator

Fatal Exception: java.lang.IllegalStateException: couldn't move cursor to position 2
       at androidx.cursoradapter.widget.CursorAdapter.getView(CursorAdapter.java:266)
       at android.widget.Spinner.makeView(Spinner.java:776)
       at android.widget.Spinner.layout(Spinner.java:723)
       at android.widget.Spinner.onLayout(Spinner.java:685)
       at android.view.View.layout(View.java:24969)
       at android.view.ViewGroup.layout(ViewGroup.java:6784)
       at androidx.appcompat.widget.Toolbar.layoutChildLeft(Toolbar.java:2207)
       at androidx.appcompat.widget.Toolbar.onLayout(Toolbar.java:2146)
       at android.view.View.layout(View.java:24969)
       at android.view.ViewGroup.layout(ViewGroup.java:6784)
       at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
       at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
       at android.view.View.layout(View.java:24969)
       at android.view.ViewGroup.layout(ViewGroup.java:6784)
       at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1829)
       at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1673)
       at android.widget.LinearLayout.onLayout(LinearLayout.java:1582)
       at com.google.android.material.appbar.AppBarLayout.onLayout(AppBarLayout.java:587)
       at android.view.View.layout(View.java:24969)
       at android.view.ViewGroup.layout(ViewGroup.java:6784)
       at androidx.coordinatorlayout.widget.CoordinatorLayout.layoutChild(CoordinatorLayout.java:1213)
       at androidx.coordinatorlayout.widget.CoordinatorLayout.onLayoutChild(CoordinatorLayout.java:899)
       at com.google.android.material.appbar.ViewOffsetBehavior.layoutChild(ViewOffsetBehavior.java:66)
       at com.google.android.material.appbar.ViewOffsetBehavior.onLayoutChild(ViewOffsetBehavior.java:43)
       at com.google.android.material.appbar.AppBarLayout$BaseBehavior.onLayoutChild(AppBarLayout.java:1812)
       at com.google.android.material.appbar.AppBarLayout$Behavior.onLayoutChild(AppBarLayout.java:1472)
       at com.google.android.material.appbar.AppBarLayout$BaseBehavior.onLayoutChild(AppBarLayout.java:1491)
       at androidx.coordinatorlayout.widget.CoordinatorLayout.onLayout(CoordinatorLayout.java:918)
       at android.view.View.layout(View.java:24969)
       at android.view.ViewGroup.layout(ViewGroup.java:6784)
       at androidx.drawerlayout.widget.DrawerLayout.onLayout(DrawerLayout.java:1273)
       at android.view.View.layout(View.java:24969)
       at android.view.ViewGroup.layout(ViewGroup.java:6784)
       at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
       at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
       at android.view.View.layout(View.java:24969)
       at android.view.ViewGroup.layout(ViewGroup.java:6784)
       at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
       at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
       at android.view.View.layout(View.java:24969)
       at android.view.ViewGroup.layout(ViewGroup.java:6784)
       at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
       at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
       at android.view.View.layout(View.java:24969)
       at android.view.ViewGroup.layout(ViewGroup.java:6784)
       at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1829)
       at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1673)
       at android.widget.LinearLayout.onLayout(LinearLayout.java:1582)
       at android.view.View.layout(View.java:24969)
       at android.view.ViewGroup.layout(ViewGroup.java:6784)
       at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
       at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
       at com.android.internal.policy.DecorView.onLayout(DecorView.java:1431)
       at android.view.View.layout(View.java:24969)
       at android.view.ViewGroup.layout(ViewGroup.java:6784)
       at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:4917)
       at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:4240)
       at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:3116)
       at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:10885)
       at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1301)
       at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1309)
       at android.view.Choreographer.doCallbacks(Choreographer.java:923)
       at android.view.Choreographer.doFrame(Choreographer.java:852)
       at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1283)
       at android.os.Handler.handleCallback(Handler.java:942)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at android.os.Looper.loopOnce(Looper.java:226)
       at android.os.Looper.loop(Looper.java:313)
       at android.app.ActivityThread.main(ActivityThread.java:8762)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
        
@pnemonic78 pnemonic78 added the bug Something isn't working label Nov 12, 2024
@pnemonic78 pnemonic78 self-assigned this Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant