GC_FOR_ALLOC
events extremely rare in typical use casesjava.lang.ClassCastException
,java.lang.ClassNotFoundException
,and java.lang.NullPointerException
.(Later versions of Dalvik provided expanded exception detail for java.lang.ArrayIndexOutOfBoundsException
and java.lang.ArrayStoreException
,which now include the size of the array and the out-of-bounds offset, and ARTdoes this as well.)java.lang.NullPointerException
now shows information about what the app was trying to do with the null pointer,such as the field the app was trying to write to, or the method it was trying tocall. Here are some typical examples:adb bugreport
and link tothe app in Google Play store if available. Otherwise, if possible, attach anAPK that reproduces the issue.