asksven/BetterBatteryStats — Issue #72: [bug] FC when batteryservice can't be accessed
Author: asksven
Created: 2011-12-22 21:49:17+00:00
State: open

shortMsg:java.lang.NullPointerException
longMsg:java.lang.NullPointerException: Unable to start activity ComponentInfo{com.asksven.betterbatterystats/com.asksven.betterbatterystats.StatsActivity}: java.lang.NullPointerException
stackTrace:java.lang.RuntimeException: Unable to start activity ComponentInfo{com.asksven.betterbatterystats/com.asksven.betterbatterystats.StatsActivity}: java.lang.NullPointerException
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1664)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1680)
at android.app.ActivityThread.access$1500(ActivityThread.java:117)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3703)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at com.asksven.android.common.privateapiproxies.BatteryStatsProxy.(BatteryStatsProxy.java:175)
at com.asksven.betterbatterystats.StatsActivity.getBatteryRealtime(StatsActivity.java:1282)
at com.asksven.betterbatterystats.StatsActivity.onCreate(StatsActivity.java:201)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1628)
... 11 more