Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.NullPointerException: 	at com.aurelhubert.ahbottomnavigation.AHHelper.getTintDrawable(AHHelper.java:37)	at com.aurelhubert.ahbottomnavigation.AHBottomNavigation.createSmallItems(AHBottomNavigation.java:447)	at com.aurelhubert.ahbottomnavigation.AHBottomNavigation.createItems(AHBottomNavigation.java:236)	at com.aurelhubert.ahbottomnavigation.AHBottomNavigation.onSizeChanged(AHBottomNavigation.java:132)	at android.view.View.sizeChange(View.java:14960)	at android.view.View.setFrame(View.java:14933)	at android.view.View.layout(View.java:14841)	at android.view.ViewGroup.layout(ViewGroup.java:4631)	at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1055)	at android.view.View.layout(View.java:14845)	at android.view.ViewGroup.layout(ViewGroup.java:4631)	at android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1191)	at android.view.View.layout(View.java:14845)	at android.view.ViewGroup.layout(ViewGroup.java:4631)	at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1055)	at android.view.View.layout(View.java:14845)	at android.view.ViewGroup.layout(ViewGroup.java:4631)	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)	at android.widget.FrameLayout.onLayout(FrameLayout.java:388)	at android.view.View.layout(View.java:14845)	at android.view.ViewGroup.layout(ViewGroup.java:4631)	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1671)	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1525)	at android.widget.LinearLayout.onLayout(LinearLayout.java:1434)	at android.view.View.layout(View.java:14845)	at android.view.ViewGroup.layout(ViewGroup.java:4631)	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)	at android.widget.FrameLayout.onLayout(FrameLayout.java:388)	at android.view.View.layout(View.java:14845)	at android.view.ViewGroup.layout(ViewGroup.java:4631)	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1671)	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1525)	at android.widget.LinearLayout.onLayout(LinearLayout.java:1434)	at android.view.View.layout(View.java:14845)	at android.view.ViewGroup.layout(ViewGroup.java:4631)	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)	at android.widget.FrameLayout.onLayout(FrameLayout.java:388)	at android.view.View.layout(View.java:14845)	at android.view.ViewGroup.layout(ViewGroup.java:4631)	at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2026)	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1783)	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1039)	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5648)	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)	at android.view.Choreographer.doCallbacks(Choreographer.java:574)	at android.view.Choreographer.doFrame(Choreographer.java:544)	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747)	at android.os.Handler.handleCallback(Handler.java:733)	at android.os.Handler.dispatchMessage(Handler.java:95)	at android.os.Looper.loop(Looper.java:136)	at android.app.ActivityThread.main(ActivityThread.java:5049)	at java.lang.reflect.Method.invokeNative(Native Method)	at java.lang.reflect.Method.invoke(Method.java:515)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:609)	at dalvik.system.NativeStart.main(Native Method)