WhereYouGo icon indicating copy to clipboard operation
WhereYouGo copied to clipboard

NullPointerException at MediaActivity.setMedia

Open Lineflyer opened this issue 6 years ago • 2 comments

Took a first look into Google Play crash reporting. This is the crash report with highest occurence.

Android 9 and 10

java.lang.RuntimeException: 
 
  at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:3430)
 
  at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:3614)
 
  at android.app.servertransaction.LaunchActivityItem.execute (LaunchActivityItem.java:86)
 
  at android.app.servertransaction.TransactionExecutor.executeCallbacks (TransactionExecutor.java:108)
 
  at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:68)
 
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2199)
 
  at android.os.Handler.dispatchMessage (Handler.java:112)
 
  at android.os.Looper.loop (Looper.java:216)
 
  at android.app.ActivityThread.main (ActivityThread.java:7625)
 
  at java.lang.reflect.Method.invoke (Native Method)
 
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:524)
 
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:987)
Caused by: java.lang.NullPointerException: 
 
  at menion.android.whereyougo.gui.extension.activity.MediaActivity.setMedia (MediaActivity.java:72)
 
  at menion.android.whereyougo.gui.activity.wherigo.PushDialogActivity.nextPage (PushDialogActivity.java:82)
 
  at menion.android.whereyougo.gui.activity.wherigo.PushDialogActivity.onCreate (PushDialogActivity.java:124)
 
  at android.app.Activity.performCreate (Activity.java:7458)
 
  at android.app.Activity.performCreate (Activity.java:7448)
 
  at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1286)
 
  at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:3409)

Lineflyer avatar Jan 16 '20 23:01 Lineflyer

java.lang.RuntimeException: 
 
  at android.app.ActivityThread.performResumeActivity (ActivityThread.java:4430)
 
  at android.app.ActivityThread.handleResumeActivity (ActivityThread.java:4470)
 
  at android.app.servertransaction.ResumeActivityItem.execute (ResumeActivityItem.java:51)
 
  at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:145)
 
  at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:70)
 
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2199)
 
  at android.os.Handler.dispatchMessage (Handler.java:112)
 
  at android.os.Looper.loop (Looper.java:216)
 
  at android.app.ActivityThread.main (ActivityThread.java:7625)
 
  at java.lang.reflect.Method.invoke (Native Method)
 
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:524)
 
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:987)
Caused by: java.lang.NullPointerException: 
 
  at menion.android.whereyougo.gui.extension.activity.MediaActivity.setMedia (MediaActivity.java:72)
 
  at menion.android.whereyougo.gui.activity.wherigo.DetailsActivity.access$200 (DetailsActivity.java:55)
 
  at menion.android.whereyougo.gui.activity.wherigo.DetailsActivity$1.run (DetailsActivity.java:156)
 
  at android.app.Activity.runOnUiThread (Activity.java:6595)
 
  at menion.android.whereyougo.gui.activity.wherigo.DetailsActivity.refresh (DetailsActivity.java:142)
 
  at menion.android.whereyougo.gui.activity.wherigo.DetailsActivity.onResume (DetailsActivity.java:123)
 
  at android.app.Instrumentation.callActivityOnResume (Instrumentation.java:1456)
 
  at android.app.Activity.performResume (Activity.java:7614)
 
  at android.app.ActivityThread.performResumeActivity (ActivityThread.java:4412)

Lineflyer avatar Jan 16 '20 23:01 Lineflyer

Android 8:

java.lang.RuntimeException: 
 
  at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2957)
 
  at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:3032)
 
  at android.app.ActivityThread.-wrap11 (Unknown Source)
 
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1696)
 
  at android.os.Handler.dispatchMessage (Handler.java:105)
 
  at android.os.Looper.loop (Looper.java:164)
 
  at android.app.ActivityThread.main (ActivityThread.java:6944)
 
  at java.lang.reflect.Method.invoke (Native Method)
 
  at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:327)
 
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1374)
Caused by: java.lang.NullPointerException: 
 
  at menion.android.whereyougo.gui.extension.activity.MediaActivity.setMedia (MediaActivity.java:72)
 
  at menion.android.whereyougo.gui.activity.wherigo.PushDialogActivity.nextPage (PushDialogActivity.java:82)
 
  at menion.android.whereyougo.gui.activity.wherigo.PushDialogActivity.onCreate (PushDialogActivity.java:124)
 
  at android.app.Activity.performCreate (Activity.java:7183)
 
  at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1220)
 
  at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2910)

Lineflyer avatar Jan 16 '20 23:01 Lineflyer