Skip to content

Instantly share code, notes, and snippets.

@kmod-midori
Created February 18, 2018 04:51
Show Gist options
  • Save kmod-midori/58d5f3c29c4431ad889673ce5708b00c to your computer and use it in GitHub Desktop.
Save kmod-midori/58d5f3c29c4431ad889673ce5708b00c to your computer and use it in GitHub Desktop.
logcat
02-18 12:48:27.673 20791 20791 W DataUsageController: Failed to open stats session
02-18 12:48:27.673 20791 20791 W DataUsageController: java.lang.IllegalStateException: Bandwidth module disabled
02-18 12:48:27.673 20791 20791 W DataUsageController: at android.os.Parcel.readException(Parcel.java:2012)
02-18 12:48:27.673 20791 20791 W DataUsageController: at android.os.Parcel.readException(Parcel.java:1950)
02-18 12:48:27.673 20791 20791 W DataUsageController: at android.net.INetworkStatsService$Stub$Proxy.openSession(INetworkStatsService.java:229)
02-18 12:48:27.673 20791 20791 W DataUsageController: at com.android.settingslib.net.DataUsageController.getSession(DataUsageController.java:92)
02-18 12:48:27.673 20791 20791 W DataUsageController: at com.android.settingslib.net.DataUsageController.getDataUsageInfo(DataUsageController.java:128)
02-18 12:48:27.673 20791 20791 W DataUsageController: at com.android.settings.datausage.DataUsagePreference.setTemplate(DataUsagePreference.java:44)
02-18 12:48:27.673 20791 20791 W DataUsageController: at com.android.settings.datausage.TemplatePreferenceCategory.pushTemplates(TemplatePreferenceCategory.java:53)
02-18 12:48:27.673 20791 20791 W DataUsageController: at com.android.settings.datausage.DataUsageSummary.addMobileSection(DataUsageSummary.java:200)
02-18 12:48:27.673 20791 20791 W DataUsageController: at com.android.settings.datausage.DataUsageSummary.addMobileSection(DataUsageSummary.java:193)
02-18 12:48:27.673 20791 20791 W DataUsageController: at com.android.settings.datausage.DataUsageSummary.onCreate(DataUsageSummary.java:139)
02-18 12:48:27.673 20791 20791 W DataUsageController: at android.app.Fragment.performCreate(Fragment.java:2489)
02-18 12:48:27.673 20791 20791 W DataUsageController: at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1237)
02-18 12:48:27.673 20791 20791 W DataUsageController: at android.app.FragmentManagerImpl.addAddedFragments(FragmentManager.java:2407)
02-18 12:48:27.673 20791 20791 W DataUsageController: at android.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2186)
02-18 12:48:27.673 20791 20791 W DataUsageController: at android.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2142)
02-18 12:48:27.673 20791 20791 W DataUsageController: at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2043)
02-18 12:48:27.673 20791 20791 W DataUsageController: at android.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:799)
02-18 12:48:27.673 20791 20791 W DataUsageController: at com.android.settings.SettingsActivity.switchToFragment(SettingsActivity.java:736)
02-18 12:48:27.673 20791 20791 W DataUsageController: at com.android.settings.SettingsActivity.launchSettingFragment(SettingsActivity.java:423)
02-18 12:48:27.673 20791 20791 W DataUsageController: at com.android.settings.SettingsActivity.onCreate(SettingsActivity.java:321)
02-18 12:48:27.673 20791 20791 W DataUsageController: at android.app.Activity.performCreate(Activity.java:6999)
02-18 12:48:27.673 20791 20791 W DataUsageController: at android.app.Activity.performCreate(Activity.java:6990)
02-18 12:48:27.673 20791 20791 W DataUsageController: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1214)
02-18 12:48:27.673 20791 20791 W DataUsageController: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2731)
02-18 12:48:27.673 20791 20791 W DataUsageController: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856)
02-18 12:48:27.673 20791 20791 W DataUsageController: at android.app.ActivityThread.-wrap11(Unknown Source:0)
02-18 12:48:27.673 20791 20791 W DataUsageController: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
02-18 12:48:27.673 20791 20791 W DataUsageController: at android.os.Handler.dispatchMessage(Handler.java:106)
02-18 12:48:27.673 20791 20791 W DataUsageController: at android.os.Looper.loop(Looper.java:164)
02-18 12:48:27.673 20791 20791 W DataUsageController: at android.app.ActivityThread.main(ActivityThread.java:6494)
02-18 12:48:27.673 20791 20791 W DataUsageController: at java.lang.reflect.Method.invoke(Native Method)
02-18 12:48:27.673 20791 20791 W DataUsageController: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
02-18 12:48:27.673 20791 20791 W DataUsageController: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
02-18 12:48:27.673 20791 20791 W DataUsageController: Failed to get data usage, no stats session
02-18 12:48:27.674 20791 20791 D AndroidRuntime: Shutting down VM
02-18 12:48:27.675 20791 20791 E AndroidRuntime: FATAL EXCEPTION: main
02-18 12:48:27.675 20791 20791 E AndroidRuntime: Process: com.android.settings, PID: 20791
02-18 12:48:27.675 20791 20791 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.Settings$DataUsageSummaryActivity}: java.lang.NullPointerException: Attempt to read from field 'long com.android.settingslib.net.DataUsageController$DataUsageInfo.usageLevel' on a null object reference
02-18 12:48:27.675 20791 20791 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2778)
02-18 12:48:27.675 20791 20791 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856)
02-18 12:48:27.675 20791 20791 E AndroidRuntime: at android.app.ActivityThread.-wrap11(Unknown Source:0)
02-18 12:48:27.675 20791 20791 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
02-18 12:48:27.675 20791 20791 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
02-18 12:48:27.675 20791 20791 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164)
02-18 12:48:27.675 20791 20791 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6494)
02-18 12:48:27.675 20791 20791 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
02-18 12:48:27.675 20791 20791 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
02-18 12:48:27.675 20791 20791 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
02-18 12:48:27.675 20791 20791 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to read from field 'long com.android.settingslib.net.DataUsageController$DataUsageInfo.usageLevel' on a null object reference
02-18 12:48:27.675 20791 20791 E AndroidRuntime: at com.android.settings.datausage.DataUsagePreference.setTemplate(DataUsagePreference.java:46)
02-18 12:48:27.675 20791 20791 E AndroidRuntime: at com.android.settings.datausage.TemplatePreferenceCategory.pushTemplates(TemplatePreferenceCategory.java:53)
02-18 12:48:27.675 20791 20791 E AndroidRuntime: at com.android.settings.datausage.DataUsageSummary.addMobileSection(DataUsageSummary.java:200)
02-18 12:48:27.675 20791 20791 E AndroidRuntime: at com.android.settings.datausage.DataUsageSummary.addMobileSection(DataUsageSummary.java:193)
02-18 12:48:27.675 20791 20791 E AndroidRuntime: at com.android.settings.datausage.DataUsageSummary.onCreate(DataUsageSummary.java:139)
02-18 12:48:27.675 20791 20791 E AndroidRuntime: at android.app.Fragment.performCreate(Fragment.java:2489)
02-18 12:48:27.675 20791 20791 E AndroidRuntime: at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1237)
02-18 12:48:27.675 20791 20791 E AndroidRuntime: at android.app.FragmentManagerImpl.addAddedFragments(FragmentManager.java:2407)
02-18 12:48:27.675 20791 20791 E AndroidRuntime: at android.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2186)
02-18 12:48:27.675 20791 20791 E AndroidRuntime: at android.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2142)
02-18 12:48:27.675 20791 20791 E AndroidRuntime: at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2043)
02-18 12:48:27.675 20791 20791 E AndroidRuntime: at android.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:799)
02-18 12:48:27.675 20791 20791 E AndroidRuntime: at com.android.settings.SettingsActivity.switchToFragment(SettingsActivity.java:736)
02-18 12:48:27.675 20791 20791 E AndroidRuntime: at com.android.settings.SettingsActivity.launchSettingFragment(SettingsActivity.java:423)
02-18 12:48:27.675 20791 20791 E AndroidRuntime: at com.android.settings.SettingsActivity.onCreate(SettingsActivity.java:321)
02-18 12:48:27.675 20791 20791 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:6999)
02-18 12:48:27.675 20791 20791 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:6990)
02-18 12:48:27.675 20791 20791 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1214)
02-18 12:48:27.675 20791 20791 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2731)
02-18 12:48:27.675 20791 20791 E AndroidRuntime: ... 9 more
02-18 12:48:27.678 638 1945 W ActivityManager: Force finishing activity com.android.settings/.Settings$DataUsageSummaryActivity
02-18 12:48:27.695 638 653 I ActivityManager: Showing crash dialog for package com.android.settings u0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment