Bug #3222

crash in FDroid after Kerplapp -> Send to Local FDroid

Added by hans almost 4 years ago. Updated over 3 years ago.

Status:ClosedStart date:04/07/2014
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:improved security/usability
Component:

Description

 31762         AndroidRuntime  D  Shutting down VM
 31762         AndroidRuntime  E  FATAL EXCEPTION: main
 31762         AndroidRuntime  E  Process: org.fdroid.fdroid, PID: 31762
 31762         AndroidRuntime  E  java.lang.RuntimeException: Unable to resume activity {org.fdroid.fdroid/org.fdroid.fdroid.FDroid}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=0, data=null} to activity {org.fdroid.fdroid/org.fdroid.fdroid.FDroid}: java.lang.NullPointerException
 31762         AndroidRuntime  E  at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2788)
 31762         AndroidRuntime  E  at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2817)
 31762         AndroidRuntime  E  at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2250)
 31762         AndroidRuntime  E  at android.app.ActivityThread.access$800(ActivityThread.java:135)
 31762         AndroidRuntime  E  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
 31762         AndroidRuntime  E  at android.os.Handler.dispatchMessage(Handler.java:102)
 31762         AndroidRuntime  E  at android.os.Looper.loop(Looper.java:136)
 31762         AndroidRuntime  E  at android.app.ActivityThread.main(ActivityThread.java:5017)
 31762         AndroidRuntime  E  at java.lang.reflect.Method.invokeNative(Native Method)
 31762         AndroidRuntime  E  at java.lang.reflect.Method.invoke(Method.java:515)
 31762         AndroidRuntime  E  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
 31762         AndroidRuntime  E  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
 31762         AndroidRuntime  E  at dalvik.system.NativeStart.main(Native Method)
 31762         AndroidRuntime  E  Caused by: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=0, data=null} to activity {org.fdroid.fdroid/org.fdroid.fdroid.FDroid}: java.lang.NullPointerException
 31762         AndroidRuntime  E  at android.app.ActivityThread.deliverResults(ActivityThread.java:3365)
 31762         AndroidRuntime  E  at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2775)
 31762         AndroidRuntime  E  ... 12 more
 31762         AndroidRuntime  E  Caused by: java.lang.NullPointerException
 31762         AndroidRuntime  E  at org.fdroid.fdroid.FDroid.onActivityResult(FDroid.java:260)
 31762         AndroidRuntime  E  at android.app.Activity.dispatchActivityResult(Activity.java:5423)
 31762         AndroidRuntime  E  at android.app.ActivityThread.deliverResults(ActivityThread.java:3361)
 31762         AndroidRuntime  E  ... 13 more
  588         ActivityManager  W  Force finishing activity org.fdroid.fdroid/.FDroid

Associated revisions

Revision c1d0ec43
Added by Hans-Christoph Steiner almost 4 years ago

fix crasher when hopping around apps and adding repos

I triggered this a few times while trying various QR Code scanning apps
with FDroid.

fixes #3222 https://dev.guardianproject.info/issues/3222

History

#1 Updated by hans almost 4 years ago

Looks like the same crash, clicked a fdroidrepo:// URI in Firefox, it showed FDroid, but the "Add repo" dialog never showed. Then I clicked the ActionBar back button, and it crashed.

  588         ActivityManager  I  START u0 {cmp=org.fdroid.fdroid/.ManageRepo} from pid 8522
  588         ActivityManager  W  Activity is launching as a new task, so cancelling activity result.
  8522         AndroidRuntime  D  Shutting down VM
  8522         AndroidRuntime  E  FATAL EXCEPTION: main
  8522         AndroidRuntime  E  Process: org.fdroid.fdroid, PID: 8522
  8522         AndroidRuntime  E  java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=0, data=null} to activity {org.fdroid.fdroid/org.fdroid.fdroid.FDroid}: java.lang.NullPointerException
  8522         AndroidRuntime  E  at android.app.ActivityThread.deliverResults(ActivityThread.java:3365)
  8522         AndroidRuntime  E  at android.app.ActivityThread.handleSendResult(ActivityThread.java:3408)
  8522         AndroidRuntime  E  at android.app.ActivityThread.access$1300(ActivityThread.java:135)
  8522         AndroidRuntime  E  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1244)
  8522         AndroidRuntime  E  at android.os.Handler.dispatchMessage(Handler.java:102)
  8522         AndroidRuntime  E  at android.os.Looper.loop(Looper.java:136)
  8522         AndroidRuntime  E  at android.app.ActivityThread.main(ActivityThread.java:5017)
  8522         AndroidRuntime  E  at java.lang.reflect.Method.invokeNative(Native Method)
  8522         AndroidRuntime  E  at java.lang.reflect.Method.invoke(Method.java:515)
  8522         AndroidRuntime  E  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
  8522         AndroidRuntime  E  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
  8522         AndroidRuntime  E  at dalvik.system.NativeStart.main(Native Method)
  8522         AndroidRuntime  E  Caused by: java.lang.NullPointerException
  8522         AndroidRuntime  E  at org.fdroid.fdroid.FDroid.onActivityResult(FDroid.java:260)
  8522         AndroidRuntime  E  at android.app.Activity.dispatchActivityResult(Activity.java:5423)
  8522         AndroidRuntime  E  at android.app.ActivityThread.deliverResults(ActivityThread.java:3361)
  8522         AndroidRuntime  E  ... 11 more
  588         ActivityManager  W  Activity pause timeout for ActivityRecord{42638a38 u0 org.fdroid.fdroid/.FDroid t29}
  8522                Process  I  Sending signal. PID: 8522 SIG: 9
  588         ActivityManager  I  Process org.fdroid.fdroid (pid 8522) has died.
  588         ActivityManager  W  Force removing ActivityRecord{42638a38 u0 org.fdroid.fdroid/.FDroid t29}: app died, no saved state
  588             WindowState  I  WIN DEATH: Window{42dbf630 u0 org.fdroid.fdroid/org.fdroid.fdroid.FDroid}
  588         ActivityManager  I  Start proc org.fdroid.fdroid for activity org.fdroid.fdroid/.ManageRepo: pid=17460 uid=10194 gids={50194, 3003, 3002, 1028, 1015}

#2 Updated by Anonymous almost 4 years ago

  • Status changed from New to Resolved

Applied in changeset fdroidclient|commit:c1d0ec43c3e66a32cf71d95bcdfda79ee7ed585f.

#3 Updated by hans over 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF