[APPTEST] Trying to solve an LG 4.1.2 crashing bug

mudar1771

Senior Member
Mar 21, 2011
58
86
0
Montréal
www.mudar.ca
Hi all,

I need help testing our app on LG L5 II (E450) running Android 4.1.2. It seems that other LG devices running 4.1.2 would have the same issue.

So if someone is running 4.1.2 on an LG device, I would ask you to install the first attached APK, try to crash the app. Then install the 2nd APK and confirm that (hopefull!) it doesn't crash anymore...

I've attached 2 APK builds here. The first build is the same as the one on the playstore
https://play.google.com/store/apps/details?id=com.muzooka.player

Reading various threads leads me to 2 possible reasons:
  1. Using a custom font (SpannableString) for the ActionBar title
  2. Missing `android:titleCondensed` when creating ActiobBar menu item

If I understood this right, then here are the steps to crash the app:
  • If it's the first reason, then the app should crash right away :(
  • If it's the second one, then the app should crash when accessing the actiobar overflow menu. Steps to crash:
    • Open app and go throught the welcome screens
    • on the first screen, select *Charts* from the left navigation drawer
    • On the Charts, tap a song's menu (vertical dots) and go to *Artist info*
    • Long press on the share icon (to display the description tip box), or do a search.
    • Crashed?

If both tests don't crash the app, feel free to click around trying to crash it.

The Crashlytics bug report
http://crashes.to/s/fad5f37453f

The raw log:
Code:
java.lang.IllegalArgumentException: Invalid payload item type
       at android.util.EventLog.writeEvent(EventLog.java)
       at android.app.Activity.onMenuItemSelected(Activity.java:2766)
       at android.support.v4.app.FragmentActivity.onMenuItemSelected(FragmentActivity.java:373)
       at android.support.v7.app.ActionBarActivity.superOnMenuItemSelected(ActionBarActivity.java:245)
       at android.support.v7.app.ActionBarActivityDelegateICS.onMenuItemSelected(ActionBarActivityDelegateICS.java:164)
       at android.support.v7.app.ActionBarActivity.onMenuItemSelected(ActionBarActivity.java:131)
       at android.support.v7.app.ActionBarActivityDelegateICS$WindowCallbackWrapper.onMenuItemSelected(ActionBarActivityDelegateICS.java:308)
       at com.android.internal.widget.ActionBarView$3.onClick(ActionBarView.java:172)
       at android.view.View.performClick(View.java:4101)
       at android.view.View$PerformClick.run(View.java:17088)
       at android.os.Handler.handleCallback(Handler.java:615)
       at android.os.Handler.dispatchMessage(Handler.java:92)
       at android.os.Looper.loop(Looper.java:153)
       at android.app.ActivityThread.main(ActivityThread.java:5071)
       at java.lang.reflect.Method.invokeNative(Method.java)
       at java.lang.reflect.Method.invoke(Method.java:511)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
       at dalvik.system.NativeStart.main(NativeStart.java)
Related to following threads:
* https://code.google.com/p/android/issues/detail?id=58723
* http://stackoverflow.com/questions/...alargumentexception-invalid-payload-item-type
* http://stackoverflow.com/questions/21807298/invalid-payload-type-android
 

Attachments