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

Crash when logging #2552

Closed
koem opened this issue Mar 7, 2013 · 7 comments
Closed

Crash when logging #2552

koem opened this issue Mar 7, 2013 · 7 comments
Labels
Bug Issues classified as a bug Prio - High A significant malfunction of a feature/function. High user impact.
Milestone

Comments

@koem
Copy link
Contributor

koem commented Mar 7, 2013

D/AndroidRuntime( 3575): Shutting down VM
W/dalvikvm( 3575): threadid=1: thread exiting with uncaught exception (group=0x41c79930)
E/AndroidRuntime( 3575): FATAL EXCEPTION: main
E/AndroidRuntime( 3575): java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
E/AndroidRuntime( 3575):        at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:251)
E/AndroidRuntime( 3575):        at java.util.ArrayList.get(ArrayList.java:304)
E/AndroidRuntime( 3575):        at cgeo.geocaching.VisitCacheActivity.onLoadFinished(VisitCacheActivity.java:119)
E/AndroidRuntime( 3575):        at cgeo.geocaching.VisitCacheActivity.onLoadFinished(VisitCacheActivity.java:1)
E/AndroidRuntime( 3575):        at android.support.v4.app.LoaderManagerImpl$LoaderInfo.callOnLoadFinished(LoaderManager.java:424)
E/AndroidRuntime( 3575):        at android.support.v4.app.LoaderManagerImpl$LoaderInfo.onLoadComplete(LoaderManager.java:392)
E/AndroidRuntime( 3575):        at android.support.v4.content.Loader.deliverResult(Loader.java:103)
E/AndroidRuntime( 3575):        at android.support.v4.content.AsyncTaskLoader.dispatchOnLoadComplete(AsyncTaskLoader.java:221)
E/AndroidRuntime( 3575):        at android.support.v4.content.AsyncTaskLoader$LoadTask.onPostExecute(AsyncTaskLoader.java:61)
E/AndroidRuntime( 3575):        at android.support.v4.content.ModernAsyncTask.finish(ModernAsyncTask.java:461)
E/AndroidRuntime( 3575):        at android.support.v4.content.ModernAsyncTask.access$500(ModernAsyncTask.java:47)
E/AndroidRuntime( 3575):        at android.support.v4.content.ModernAsyncTask$InternalHandler.handleMessage(ModernAsyncTask.java:474)
E/AndroidRuntime( 3575):        at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 3575):        at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 3575):        at android.app.ActivityThread.main(ActivityThread.java:5193)
E/AndroidRuntime( 3575):        at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 3575):        at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 3575):        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
E/AndroidRuntime( 3575):        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
E/AndroidRuntime( 3575):        at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager(  381):   Force finishing activity cgeo.geocaching/.VisitCacheActivity

Can't give you more now. Have to leave the camp site.

  • logged offline with image yesterday
  • now went online
  • opened log dialog
  • clicked the log Text View
  • 1 or 2 seconds wait -> crash
@koem
Copy link
Contributor Author

koem commented Mar 7, 2013

reproducable - can't log this cache

I will be offline for two days I think - going to the mountains now ...

@marco-dev
Copy link
Contributor

Maybe the image is not kept in offline mode?

@marco-dev
Copy link
Contributor

Something similar to #2553?

@Lineflyer
Copy link
Member

I tried to save logs offline and later submit it (with and without trying to attach a picture).
I logged 4 caches including pictures. All looks stable for now ?

@koem: Any more clues on this ? Happening only for this specific cache ?

@koem
Copy link
Contributor Author

koem commented Mar 16, 2013

tried again, now it works ... hmm

@Lineflyer
Copy link
Member

Logged 6 caches with the last NBs (with and without pic) and did not run into a problem.
Also fieldnote/offline-log is working.
Let us close this and wait if this occurs again.
@koem Reopen in case you have a different opinion.

@Bananeweizen
Copy link
Member

duplicate of #2591, which I just fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issues classified as a bug Prio - High A significant malfunction of a feature/function. High user impact.
Projects
None yet
Development

No branches or pull requests

4 participants