java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

    • java.lang.NullPointerException at com.example.anilkumar.json.MainActivity$Rvadapter.getItemCount(MainActivity.java:154) at android.support.v7.widget.RecyclerView.dispatchLayoutStep1(RecyclerView.java:3170) at android.support.v7.widget.RecyclerView.onMeasure(RecyclerView.java:2782) at android.view.View.measure(View.java:12723) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4698) at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1369) at android.widget.LinearLayout.measureVertical(LinearLayout.java:660) at android.widget.LinearLayout.onMeasure(LinearLayout.java:553) at android.view.View.measure(View.java:12723) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4698) at android.widget.FrameLayout.onMeasure(FrameLayout.java:293) at android.view.View.measure(View.java:12723) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4698) at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1369) at android.widget.LinearLayout.measureVertical(LinearLayout.java:660) at android.widget.LinearLayout.onMeasure(LinearLayout.java:553) at android.view.View.measure(View.java:12723) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4698) at android.widget.FrameLayout.onMeasure(FrameLayout.java:293) at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2092) at android.view.View.measure(View.java:12723) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1064) at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2442) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4424) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
    No Bugmate found.