Guest User

Untitled

a guest
Feb 19th, 2017
96
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. E/test: Exception
  2. E/AndroidRuntime: FATAL EXCEPTION: main
  3. java.lang.NullPointerException
  4. at com.bprotsyk.example1.adapters.ListAdapter.getItemCount(ListAdapter.java:47)
  5. at android.support.v7.widget.RecyclerView.dispatchLayoutStep1(RecyclerView.java:3445)
  6. at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:3262)
  7. at android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3796)
  8. at android.view.View.layout(View.java:11471)
  9. at android.view.ViewGroup.layout(ViewGroup.java:4357)
  10. at android.support.v4.widget.SwipeRefreshLayout.onLayout(SwipeRefreshLayout.java:636)
  11. at android.view.View.layout(View.java:11471)
  12. at android.view.ViewGroup.layout(ViewGroup.java:4357)
  13. at android.widget.RelativeLayout.onLayout(RelativeLayout.java:930)
  14. at android.view.View.layout(View.java:11471)
  15. at android.view.ViewGroup.layout(ViewGroup.java:4357)
  16. at android.widget.FrameLayout.onLayout(FrameLayout.java:446)
  17. at android.view.View.layout(View.java:11471)
  18. at android.view.ViewGroup.layout(ViewGroup.java:4357)
  19. at android.support.v7.widget.ActionBarOverlayLayout.onLayout(ActionBarOverlayLayout.java:437)
  20. at android.view.View.layout(View.java:11471)
  21. at android.view.ViewGroup.layout(ViewGroup.java:4357)
  22. at android.widget.FrameLayout.onLayout(FrameLayout.java:446)
  23. at android.view.View.layout(View.java:11471)
  24. at android.view.ViewGroup.layout(ViewGroup.java:4357)
  25. at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1663)
  26. at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1521)
  27. at android.widget.LinearLayout.onLayout(LinearLayout.java:1423)
  28. at android.view.View.layout(View.java:11471)
  29. at android.view.ViewGroup.layout(ViewGroup.java:4357)
  30. at android.widget.FrameLayout.onLayout(FrameLayout.java:446)
  31. at android.view.View.layout(View.java:11471)
  32. at android.view.ViewGroup.layout(ViewGroup.java:4357)
  33. at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1489)
  34. at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2458)
  35. at android.os.Handler.dispatchMessage(Handler.java:99)
  36. at android.os.Looper.loop(Looper.java:137)
  37. at android.app.ActivityThread.main(ActivityThread.java:4427)
  38. at java.lang.reflect.Method.invokeNative(Native Method)
  39. at java.lang.reflect.Method.invoke(Method.java:511)
  40. at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:825)
  41. at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:592)
  42. at dalvik.system.NativeStart.main(Native Method)
RAW Paste Data