Bloodjkee
Members
- Mar 24, 2019
- 1
- 13
i have a mi mix2 (polaris) have a problem after update, when tryin' to open mi account or gallery
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xiaomi.account/com.xiaomi.account.ui.AccountSettingsActivity}: android.view.InflateException: Binary XML file line #4 in com.xiaomi.account:layout/account_settings_layout: Binary XML file line #4 in com.xiaomi.account:layout/account_settings_layout: Error inflating class fragment
at android.app.ActivityThread.performLaunchActivity(Unknown Source:621)
at android.app.ActivityThread.handleLaunchActivity(Unknown Source:47)
at android.app.servertransaction.LaunchActivityItem.execute(Unknown Source:63)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(Unknown Source:77)
at android.app.servertransaction.TransactionExecutor.execute(Unknown Source:73)
at android.app.ActivityThread$H.handleMessage(Unknown Source:43)
at android.os.Handler.dispatchMessage(Unknown Source:19)
at android.os.Looper.loop(Unknown Source:249)
at android.app.ActivityThread.main(Unknown Source:98)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(Unknown Source:11)
at com.android.internal.os.ZygoteInit.main(Unknown Source:282)
Caused by: android.view.InflateException: Binary XML file line #4 in com.xiaomi.account:layout/account_settings_layout: Binary XML file line #4 in com.xiaomi.account:layout/account_settings_layout: Error inflating class fragment
Caused by: android.view.InflateException: Binary XML file line #4 in com.xiaomi.account:layout/account_settings_layout: Error inflating class fragment
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.pm.PackageManager android.app.Application.getPackageManager()' on a null object reference
at com.xiaomi.account.d.X.a(Unknown Source:12)
at com.xiaomi.account.settings.SettingsHeaderFragment.onCreateView(Unknown Source:73)
at android.app.Fragment.performCreateView(Unknown Source:10)
at android.app.FragmentManagerImpl.ensureInflatedFragmentView(Unknown Source:17)
at android.app.FragmentManagerImpl.moveToState(Unknown Source:404)
at android.app.FragmentManagerImpl.moveToState(Unknown Source:7)
at android.app.FragmentManagerImpl.addFragment(Unknown Source:74)
at android.app.FragmentManagerImpl.onCreateView(Unknown Source:207)
at android.app.FragmentController.onCreateView(Unknown Source:4)
at android.app.Activity.onCreateView(Unknown Source:15)
at android.view.LayoutInflater.tryCreateView(Unknown Source:39)
at android.view.LayoutInflater.createViewFromTag(Unknown Source:42)
at android.view.LayoutInflater.createViewFromTag(Unknown Source:6)
at android.view.LayoutInflater.rInflate(Unknown Source:92)
at android.view.LayoutInflater.rInflateChildren(Unknown Source:9)
at android.view.LayoutInflater.inflate(Unknown Source:107)
at android.view.LayoutInflater.inflate(Unknown Source:27)
at android.view.LayoutInflater.inflate(Unknown Source:5)
at com.android.internal.policy.PhoneWindow.setContentView(Unknown Source:45)
at android.app.Activity.setContentView(Unknown Source:4)
at com.xiaomi.account.ui.AccountSettingsActivity.onCreate(Unknown Source:67)
at android.app.Activity.performCreate(Unknown Source:19)
at android.app.Activity.performCreate(Unknown Source:1)
at android.app.Instrumentation.callActivityOnCreate(Unknown Source:3)
at android.app.ActivityThread.performLaunchActivity(Unknown Source:376)
at android.app.ActivityThread.handleLaunchActivity(Unknown Source:47)
at android.app.servertransaction.LaunchActivityItem.execute(Unknown Source:63)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(Unknown Source:77)
at android.app.servertransaction.TransactionExecutor.execute(Unknown Source:73)
at android.app.ActivityThread$H.handleMessage(Unknown Source:43)
at android.os.Handler.dispatchMessage(Unknown Source:19)
at android.os.Looper.loop(Unknown Source:249)
at android.app.ActivityThread.main(Unknown Source:98)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(Unknown Source:11)
at com.android.internal.os.ZygoteInit.main(Unknown Source:282)
at android.app.ActivityThread.performLaunchActivity(Unknown Source:621)
at android.app.ActivityThread.handleLaunchActivity(Unknown Source:47)
at android.app.servertransaction.LaunchActivityItem.execute(Unknown Source:63)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(Unknown Source:77)
at android.app.servertransaction.TransactionExecutor.execute(Unknown Source:73)
at android.app.ActivityThread$H.handleMessage(Unknown Source:43)
at android.os.Handler.dispatchMessage(Unknown Source:19)
at android.os.Looper.loop(Unknown Source:249)
at android.app.ActivityThread.main(Unknown Source:98)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(Unknown Source:11)
at com.android.internal.os.ZygoteInit.main(Unknown Source:282)
Caused by: android.view.InflateException: Binary XML file line #4 in com.xiaomi.account:layout/account_settings_layout: Binary XML file line #4 in com.xiaomi.account:layout/account_settings_layout: Error inflating class fragment
Caused by: android.view.InflateException: Binary XML file line #4 in com.xiaomi.account:layout/account_settings_layout: Error inflating class fragment
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.pm.PackageManager android.app.Application.getPackageManager()' on a null object reference
at com.xiaomi.account.d.X.a(Unknown Source:12)
at com.xiaomi.account.settings.SettingsHeaderFragment.onCreateView(Unknown Source:73)
at android.app.Fragment.performCreateView(Unknown Source:10)
at android.app.FragmentManagerImpl.ensureInflatedFragmentView(Unknown Source:17)
at android.app.FragmentManagerImpl.moveToState(Unknown Source:404)
at android.app.FragmentManagerImpl.moveToState(Unknown Source:7)
at android.app.FragmentManagerImpl.addFragment(Unknown Source:74)
at android.app.FragmentManagerImpl.onCreateView(Unknown Source:207)
at android.app.FragmentController.onCreateView(Unknown Source:4)
at android.app.Activity.onCreateView(Unknown Source:15)
at android.view.LayoutInflater.tryCreateView(Unknown Source:39)
at android.view.LayoutInflater.createViewFromTag(Unknown Source:42)
at android.view.LayoutInflater.createViewFromTag(Unknown Source:6)
at android.view.LayoutInflater.rInflate(Unknown Source:92)
at android.view.LayoutInflater.rInflateChildren(Unknown Source:9)
at android.view.LayoutInflater.inflate(Unknown Source:107)
at android.view.LayoutInflater.inflate(Unknown Source:27)
at android.view.LayoutInflater.inflate(Unknown Source:5)
at com.android.internal.policy.PhoneWindow.setContentView(Unknown Source:45)
at android.app.Activity.setContentView(Unknown Source:4)
at com.xiaomi.account.ui.AccountSettingsActivity.onCreate(Unknown Source:67)
at android.app.Activity.performCreate(Unknown Source:19)
at android.app.Activity.performCreate(Unknown Source:1)
at android.app.Instrumentation.callActivityOnCreate(Unknown Source:3)
at android.app.ActivityThread.performLaunchActivity(Unknown Source:376)
at android.app.ActivityThread.handleLaunchActivity(Unknown Source:47)
at android.app.servertransaction.LaunchActivityItem.execute(Unknown Source:63)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(Unknown Source:77)
at android.app.servertransaction.TransactionExecutor.execute(Unknown Source:73)
at android.app.ActivityThread$H.handleMessage(Unknown Source:43)
at android.os.Handler.dispatchMessage(Unknown Source:19)
at android.os.Looper.loop(Unknown Source:249)
at android.app.ActivityThread.main(Unknown Source:98)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(Unknown Source:11)
at com.android.internal.os.ZygoteInit.main(Unknown Source:282)