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

android.database.CursorIndexOutOfBoundsException: RenderFarm.renderSection #46

Closed
devonjones opened this issue Jun 21, 2012 · 2 comments
Assignees
Labels
Milestone

Comments

@devonjones
Copy link
Owner

java.lang.RuntimeException: Unable to start activity ComponentInfo{org.evilsoft.pathfinder.reference/org.evilsoft.pathfinder.reference.DetailsActivity}: android.database.CursorIndexOutOfBoundsException: Index 0 requested, with a size of 0
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1647)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)
at android.app.ActivityThread.access$1500(ActivityThread.java:117)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3683)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.database.CursorIndexOutOfBoundsException: Index 0 requested, with a size of 0
at android.database.AbstractCursor.checkPosition(AbstractCursor.java:580)
at android.database.AbstractWindowedCursor.checkPosition(AbstractWindowedCursor.java:214)
at android.database.AbstractWindowedCursor.getString(AbstractWindowedCursor.java:41)
at org.evilsoft.pathfinder.reference.RenderFarm.renderSection(RenderFarm.java:116)
at org.evilsoft.pathfinder.reference.RenderFarm.render(RenderFarm.java:103)
at org.evilsoft.pathfinder.reference.DetailsWebViewClient.renderPfsrd(DetailsWebViewClient.java:133)
at org.evilsoft.pathfinder.reference.DetailsWebViewClient.shouldOverrideUrlLoading(DetailsWebViewClient.java:88)
at org.evilsoft.pathfinder.reference.DetailsViewFragment.updateUrl(DetailsViewFragment.java:62)
at org.evilsoft.pathfinder.reference.DetailsActivity.setUpViewer(DetailsActivity.java:110)
at org.evilsoft.pathfinder.reference.DetailsActivity.onCreate(DetailsActivity.java:71)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1611)
... 11 more
android.database.CursorIndexOutOfBoundsException: Index 0 requested, with a size of 0
at android.database.AbstractCursor.checkPosition(AbstractCursor.java:580)
at android.database.AbstractWindowedCursor.checkPosition(AbstractWindowedCursor.java:214)
at android.database.AbstractWindowedCursor.getString(AbstractWindowedCursor.java:41)
at org.evilsoft.pathfinder.reference.RenderFarm.renderSection(RenderFarm.java:116)
at org.evilsoft.pathfinder.reference.RenderFarm.render(RenderFarm.java:103)
at org.evilsoft.pathfinder.reference.DetailsWebViewClient.renderPfsrd(DetailsWebViewClient.java:133)
at org.evilsoft.pathfinder.reference.DetailsWebViewClient.shouldOverrideUrlLoading(DetailsWebViewClient.java:88)
at org.evilsoft.pathfinder.reference.DetailsViewFragment.updateUrl(DetailsViewFragment.java:62)
at org.evilsoft.pathfinder.reference.DetailsActivity.setUpViewer(DetailsActivity.java:110)
at org.evilsoft.pathfinder.reference.DetailsActivity.onCreate(DetailsActivity.java:71)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1611)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)
at android.app.ActivityThread.access$1500(ActivityThread.java:117)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3683)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
at dalvik.system.NativeStart.main(Native Method)

@devonjones
Copy link
Owner Author

Mitigated by catching. Will now report what URIs are causing this.

@johnerickson
Copy link
Collaborator

This was caused by the OGL handler on details activity not being implemented properly. Additionally, the community use license menu option was't implemented at all.

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

No branches or pull requests

2 participants