java.lang.IllegalArgumentException: Invalid district key

GitHub | phil-lopreiato | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Invalid district key

    at com.thebluealliance.androidclient.listeners.DistrictClickListener.<init>()
  2. com.thebluealliance.androidclient
    ListViewAdapter.getView
    1. com.thebluealliance.androidclient.listeners.DistrictClickListener.<init>(DistrictClickListener.java:21)
    2. com.thebluealliance.androidclient.listitems.DistrictListElement.getView(DistrictListElement.java:63)
    3. com.thebluealliance.androidclient.adapters.ListViewAdapter.getView(ListViewAdapter.java:29)
    3 frames
  3. Android Platform
    ViewGroup.layout
    1. android.widget.AbsListView.obtainView(AbsListView.java:2360)
    2. android.widget.ListView.makeAndAddView(ListView.java:1972)
    3. android.widget.ListView.fillDown(ListView.java:704)
    4. android.widget.ListView.fillFromTop(ListView.java:765)
    5. android.widget.ListView.layoutChildren(ListView.java:1716)
    6. android.widget.AbsListView.onLayout(AbsListView.java:2161)
    7. android.view.View.layout(View.java:17519)
    8. android.view.ViewGroup.layout(ViewGroup.java:5612)
    9. android.widget.RelativeLayout.onLayout(RelativeLayout.java:1079)
    10. android.view.View.layout(View.java:17519)
    11. android.view.ViewGroup.layout(ViewGroup.java:5612)
    12. android.widget.RelativeLayout.onLayout(RelativeLayout.java:1079)
    13. android.view.View.layout(View.java:17519)
    14. android.view.ViewGroup.layout(ViewGroup.java:5612)
    15. android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
    16. android.widget.FrameLayout.onLayout(FrameLayout.java:261)
    17. android.view.View.layout(View.java:17519)
    18. android.view.ViewGroup.layout(ViewGroup.java:5612)
    19. android.widget.RelativeLayout.onLayout(RelativeLayout.java:1079)
    20. android.view.View.layout(View.java:17519)
    21. android.view.ViewGroup.layout(ViewGroup.java:5612)
    22. android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
    23. android.widget.FrameLayout.onLayout(FrameLayout.java:261)
    24. android.view.View.layout(View.java:17519)
    25. android.view.ViewGroup.layout(ViewGroup.java:5612)
    26. android.widget.RelativeLayout.onLayout(RelativeLayout.java:1079)
    27. android.view.View.layout(View.java:17519)
    28. android.view.ViewGroup.layout(ViewGroup.java:5612)
    28 frames
  4. Android Support v4
    DrawerLayout.onLayout
    1. android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1187)
    1 frame
  5. Android Platform
    FrameLayout.onLayout
    1. android.view.View.layout(View.java:17519)
    2. android.view.ViewGroup.layout(ViewGroup.java:5612)
    3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
    4. android.widget.FrameLayout.onLayout(FrameLayout.java:261)
    5. android.view.View.layout(View.java:17519)
    6. android.view.ViewGroup.layout(ViewGroup.java:5612)
    7. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1741)
    8. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1585)
    9. android.widget.LinearLayout.onLayout(LinearLayout.java:1494)
    10. android.view.View.layout(View.java:17519)
    11. android.view.ViewGroup.layout(ViewGroup.java:5612)
    12. android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
    13. android.widget.FrameLayout.onLayout(FrameLayout.java:261)
    14. android.view.View.layout(View.java:17519)
    15. android.view.ViewGroup.layout(ViewGroup.java:5612)
    16. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1741)
    17. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1585)
    18. android.widget.LinearLayout.onLayout(LinearLayout.java:1494)
    19. android.view.View.layout(View.java:17519)
    20. android.view.ViewGroup.layout(ViewGroup.java:5612)
    21. android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
    22. android.widget.FrameLayout.onLayout(FrameLayout.java:261)
    22 frames
  6. Android
    DecorView.onLayout
    1. com.android.internal.policy.DecorView.onLayout(DecorView.java:724)
    1 frame
  7. Android Platform
    ActivityThread.main
    1. android.view.View.layout(View.java:17519)
    2. android.view.ViewGroup.layout(ViewGroup.java:5612)
    3. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2342)
    4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2069)
    5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1246)
    6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6301)
    7. android.view.Choreographer$CallbackRecord.run(Choreographer.java:871)
    8. android.view.Choreographer.doCallbacks(Choreographer.java:683)
    9. android.view.Choreographer.doFrame(Choreographer.java:619)
    10. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:857)
    11. android.os.Handler.handleCallback(Handler.java:751)
    12. android.os.Handler.dispatchMessage(Handler.java:95)
    13. android.os.Looper.loop(Looper.java:154)
    14. android.app.ActivityThread.main(ActivityThread.java:6077)
    14 frames
  8. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  9. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
    2 frames