Crash on low memory
Closed this issue · 2 comments
GoogleCodeExporter commented
Market reports following crash:
v6.10.17.beta2
Feb 10, 2011 10:11:46 PM
2 reports/week
2 reports
java.lang.NullPointerException
at
sk.boinc.androboinc.BoincManagerApplication.onLowMemory(BoincManagerApplication.
java:81)
at android.app.ActivityThread.handleLowMemory(ActivityThread.java:4089)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2119)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4627)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
at dalvik.system.NativeStart.main(Native Method)
Most probably the onLowMemory() is called repeatedly (i.e. system must have
very low memory) and the reference to StringBuilder is cleared in first call
and accessed on second call of onLowMemory().
Original issue reported on code.google.com by pavol.michalec@gmail.com
on 11 Feb 2011 at 12:35
GoogleCodeExporter commented
Fixed in version 6.10.17.beta3
Original comment by pavol.michalec@gmail.com
on 11 Feb 2011 at 1:42
- Changed state: Fixed
GoogleCodeExporter commented
No more crashes in onLowMemory() reported with version 6.10.17.beta3
Original comment by pavol.michalec@gmail.com
on 10 Mar 2011 at 7:00
- Changed state: Verified