Created
October 30, 2018 08:12
-
-
Save c-lamont/01f68f8b4e08bc9d5199dedf68a0c042 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Android.Views.InflateException: Binary XML file line #1: Error inflating class android.support.design.widget.BottomNavigationView ---> Java.Lang.Reflect.InvocationTargetException: ---> Java.Lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setTextColor(android.content.res.ColorStateList)' on a null object reference | |
at java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setTextColor(android.content.res.ColorStateList)' on a null object reference | |
at at android.support.design.internal.BottomNavigationItemView.setTextColor(BottomNavigationItemView.java:249) | |
at at android.support.design.internal.BottomNavigationMenuView.buildMenuView(BottomNavigationMenuView.java:278) | |
at at android.support.design.internal.BottomNavigationPresenter.updateMenuView(BottomNavigationPresenter.java:62) | |
at at android.support.design.widget.BottomNavigationView.inflateMenu(BottomNavigationView.java:236) | |
at at android.support.design.widget.BottomNavigationView.<init>(BottomNavigationView.java:165) | |
at at android.support.design.widget.BottomNavigationView.<init>(BottomNavigationView.java:114) | |
at at java.lang.reflect.Constructor.newInstance0(Native Method) | |
at at java.lang.reflect.Constructor.newInstance(Constructor.java:430) | |
at at android.view.LayoutInflater.createView(LayoutInflater.java:652) | |
at at mvvmcross.platforms.android.binding.views.MvxLayoutInflater_PrivateFactoryWrapper2.n_onCreateView(Native Method) | |
at at mvvmcross.platforms.android.binding.views.MvxLayoutInflater_PrivateFactoryWrapper2.onCreateView(MvxLayoutInflater_PrivateFactoryWrapper2.java:32) | |
at at android.view.LayoutInflater$FactoryMerger.onCreateView(LayoutInflater.java:190) | |
at at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:784) | |
at at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:734) | |
at at android.view.LayoutInflater.rInflate(LayoutInflater.java:865) | |
at at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:828) | |
at at android.view.LayoutInflater.inflate(LayoutInflater.java:525) | |
at at android.view.LayoutInflater.inflate(LayoutInflater.java:427) | |
at at md5406753473291f1137546ec42f200f2de.TabsRootActivity.n_onCreate(Native Method) | |
at at md5406753473291f1137546ec42f200f2de.TabsRootActivity.onCreate(TabsRootActivity.java:33) | |
at at android.app.Activity.performCreate(Activity.java:6942) | |
at at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1126) | |
at at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2880) | |
at at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2988) | |
at at android.app.ActivityThread.-wrap14(ActivityThread.java) | |
at at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1631) | |
at at android.os.Handler.dispatchMessage(Handler.java:102) | |
at at android.os.Looper.loop(Looper.java:154) | |
at at android.app.ActivityThread.main(ActivityThread.java:6682) | |
at at java.lang.reflect.Method.invoke(Native Method) | |
at at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520) | |
at at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410) | |
--- End of inner exception stack trace --- | |
at java.lang.reflect.InvocationTargetException | |
at at java.lang.reflect.Constructor.newInstance0(Native Method) | |
at at java.lang.reflect.Constructor.newInstance(Constructor.java:430) | |
at at android.view.LayoutInflater.createView(LayoutInflater.java:652) | |
at at mvvmcross.platforms.android.binding.views.MvxLayoutInflater_PrivateFactoryWrapper2.n_onCreateView(Native Method) | |
at at mvvmcross.platforms.android.binding.views.MvxLayoutInflater_PrivateFactoryWrapper2.onCreateView(MvxLayoutInflater_PrivateFactoryWrapper2.java:32) | |
at at android.view.LayoutInflater$FactoryMerger.onCreateView(LayoutInflater.java:190) | |
at at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:784) | |
at at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:734) | |
at at android.view.LayoutInflater.rInflate(LayoutInflater.java:865) | |
at at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:828) | |
at at android.view.LayoutInflater.inflate(LayoutInflater.java:525) | |
at at android.view.LayoutInflater.inflate(LayoutInflater.java:427) | |
at at md5406753473291f1137546ec42f200f2de.TabsRootActivity.n_onCreate(Native Method) | |
at at md5406753473291f1137546ec42f200f2de.TabsRootActivity.onCreate(TabsRootActivity.java:33) | |
at at android.app.Activity.performCreate(Activity.java:6942) | |
at at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1126) | |
at at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2880) | |
at at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2988) | |
at at android.app.ActivityThread.-wrap14(ActivityThread.java) | |
at at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1631) | |
at at android.os.Handler.dispatchMessage(Handler.java:102) | |
at at android.os.Looper.loop(Looper.java:154) | |
at at android.app.ActivityThread.main(ActivityThread.java:6682) | |
at at java.lang.reflect.Method.invoke(Native Method) | |
at at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520) | |
at at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410) | |
at Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setTextColor(android.content.res.ColorStateList)' on a null object reference | |
at at android.support.design.internal.BottomNavigationItemView.setTextColor(BottomNavigationItemView.java:249) | |
at at android.support.design.internal.BottomNavigationMenuView.buildMenuView(BottomNavigationMenuView.java:278) | |
at at android.support.design.internal.BottomNavigationPresenter.updateMenuView(BottomNavigationPresenter.java:62) | |
at at android.support.design.widget.BottomNavigationView.inflateMenu(BottomNavigationView.java:236) | |
at at android.support.design.widget.BottomNavigationView.<init>(BottomNavigationView.java:165) | |
at at android.support.design.widget.BottomNavigationView.<init>(BottomNavigationView.java:114) | |
at ... 26 more | |
--- End of inner exception stack trace --- | |
at android.view.InflateException: Binary XML file line #1: Error inflating class android.support.design.widget.BottomNavigationView | |
at Caused by: java.lang.reflect.InvocationTargetException | |
at at java.lang.reflect.Constructor.newInstance0(Native Method) | |
at at java.lang.reflect.Constructor.newInstance(Constructor.java:430) | |
at at android.view.LayoutInflater.createView(LayoutInflater.java:652) | |
at at mvvmcross.platforms.android.binding.views.MvxLayoutInflater_PrivateFactoryWrapper2.n_onCreateView(Native Method) | |
at at mvvmcross.platforms.android.binding.views.MvxLayoutInflater_PrivateFactoryWrapper2.onCreateView(MvxLayoutInflater_PrivateFactoryWrapper2.java:32) | |
at at android.view.LayoutInflater$FactoryMerger.onCreateView(LayoutInflater.java:190) | |
at at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:784) | |
at at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:734) | |
at at android.view.LayoutInflater.rInflate(LayoutInflater.java:865) | |
at at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:828) | |
at at android.view.LayoutInflater.inflate(LayoutInflater.java:525) | |
at at android.view.LayoutInflater.inflate(LayoutInflater.java:427) | |
at at md5406753473291f1137546ec42f200f2de.TabsRootActivity.n_onCreate(Native Method) | |
at at md5406753473291f1137546ec42f200f2de.TabsRootActivity.onCreate(TabsRootActivity.java:33) | |
at at android.app.Activity.performCreate(Activity.java:6942) | |
at at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1126) | |
at at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2880) | |
at at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2988) | |
at at android.app.ActivityThread.-wrap14(ActivityThread.java) | |
at at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1631) | |
at at android.os.Handler.dispatchMessage(Handler.java:102) | |
at at android.os.Looper.loop(Looper.java:154) | |
at at android.app.ActivityThread.main(ActivityThread.java:6682) | |
at at java.lang.reflect.Method.invoke(Native Method) | |
at at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520) | |
at at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410) | |
at Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setTextColor(android.content.res.ColorStateList)' on a null object reference | |
at at android.support.design.internal.BottomNavigationItemView.setTextColor(BottomNavigationItemView.java:249) | |
at at android.support.design.internal.BottomNavigationMenuView.buildMenuView(BottomNavigationMenuView.java:278) | |
at at android.support.design.internal.BottomNavigationPresenter.updateMenuView(BottomNavigationPresenter.java:62) | |
at at android.support.design.widget.BottomNavigationView.inflateMenu(BottomNavigationView.java:236) | |
at at android.support.design.widget.BottomNavigationView.<init>(BottomNavigationView.java:165) | |
at at android.support.design.widget.BottomNavigationView.<init>(BottomNavigationView.java:114) | |
at ... 26 more |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment