Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Georgy
, 1 year ago
couldn't move cursor to position 0
via Stack Overflow by Rijvi Rajib
, 2 years ago
via Stack Overflow by Simon
, 2 years ago
via Stack Overflow by ChinniKrishna Kothapalli
, 2 years ago
couldn't move cursor to position 1
via Stack Overflow by JustinJ
, 2 years ago
via Stack Overflow by dor506
, 2 years ago
this should only be called when the cursor is valid
java.lang.IllegalStateException: couldn't move cursor to position 0	at android.widget.CursorAdapter.getView(CursorAdapter.java:281)	at android.widget.AbsListView.obtainView(AbsListView.java:2929)	at android.widget.ListView.makeAndAddView(ListView.java:1945)	at android.widget.ListView.fillSpecific(ListView.java:1379)	at android.widget.ListView.layoutChildren(ListView.java:1712)	at android.widget.AbsListView.onLayout(AbsListView.java:2723)	at android.view.View.layout(View.java:17938)	at android.view.ViewGroup.layout(ViewGroup.java:5812)	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:344)	at android.widget.FrameLayout.onLayout(FrameLayout.java:281)	at android.view.View.layout(View.java:17938)	at android.view.ViewGroup.layout(ViewGroup.java:5812)	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:344)	at android.widget.FrameLayout.onLayout(FrameLayout.java:281)	at android.view.View.layout(View.java:17938)	at android.view.ViewGroup.layout(ViewGroup.java:5812)	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1742)	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1585)	at android.widget.LinearLayout.onLayout(LinearLayout.java:1494)	at android.view.View.layout(View.java:17938)	at android.view.ViewGroup.layout(ViewGroup.java:5812)	at android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1187)	at android.view.View.layout(View.java:17938)	at android.view.ViewGroup.layout(ViewGroup.java:5812)	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:344)	at android.widget.FrameLayout.onLayout(FrameLayout.java:281)	at android.view.View.layout(View.java:17938)	at android.view.ViewGroup.layout(ViewGroup.java:5812)	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1742)	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1585)	at android.widget.LinearLayout.onLayout(LinearLayout.java:1494)	at android.view.View.layout(View.java:17938)	at android.view.ViewGroup.layout(ViewGroup.java:5812)	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:344)	at android.widget.FrameLayout.onLayout(FrameLayout.java:281)	at android.view.View.layout(View.java:17938)	at android.view.ViewGroup.layout(ViewGroup.java:5812)	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1742)	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1585)	at android.widget.LinearLayout.onLayout(LinearLayout.java:1494)	at android.view.View.layout(View.java:17938)	at android.view.ViewGroup.layout(ViewGroup.java:5812)	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:344)	at android.widget.FrameLayout.onLayout(FrameLayout.java:281)	at com.android.internal.policy.PhoneWindow$DecorView.onLayout(PhoneWindow.java:3193)	at android.view.View.layout(View.java:17938)	at android.view.ViewGroup.layout(ViewGroup.java:5812)	at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2666)	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2367)	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1437)	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7397)	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:920)	at android.view.Choreographer.doCallbacks(Choreographer.java:695)	at android.view.Choreographer.doFrame(Choreographer.java:631)	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:906)	at android.os.Handler.handleCallback(Handler.java:739)	at android.os.Handler.dispatchMessage(Handler.java:95)	at android.os.Looper.loop(Looper.java:158)	at android.app.ActivityThread.main(ActivityThread.java:7224)	at java.lang.reflect.Method.invoke(Native Method)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)