java.lang.IllegalStateException: Must have at least one month to display. Did you forget to call init()?

GitHub | shenck | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Must have at least one month to display. Did you forget to call init()?

    GitHub | 8 months ago | shenck
    java.lang.IllegalStateException: Must have at least one month to display. Did you forget to call init()?
  2. 0

    Unable to Initialize CalendarPickerView: IllegalStateException

    GitHub | 6 months ago | JRSoftware92
    java.lang.IllegalStateException: Must have at least one month to display. Did you forget to call init()?
  3. 0

    java.lang.IllegalStateException: Must have at least one month to display. Did you forget to call init()?

    GitHub | 3 years ago | The-RobinHood
    java.lang.IllegalStateException: Must have at least one month to display. Did you forget to call init()?
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Must have at least one month to display. Did you forget to call init()?

      at com.squareup.timessquare.CalendarPickerView.onMeasure()
    2. com.squareup.timessquare
      CalendarPickerView.onMeasure
      1. com.squareup.timessquare.CalendarPickerView.onMeasure(CalendarPickerView.java:449)
      1 frame
    3. Android Platform
      ViewGroup.measureChildWithMargins
      1. android.view.View.measure(View.java:18804)
      2. android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:715)
      3. android.widget.RelativeLayout.onMeasure(RelativeLayout.java:461)
      4. android.view.View.measure(View.java:18804)
      5. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5954)
      5 frames
    4. android.support.design
      CoordinatorLayout.onMeasure
      1. android.support.design.widget.CoordinatorLayout.onMeasureChild(CoordinatorLayout.java:668)
      2. android.support.design.widget.CoordinatorLayout.onMeasure(CoordinatorLayout.java:735)
      2 frames
    5. Android Platform
      ViewGroup.measureChildWithMargins
      1. android.view.View.measure(View.java:18804)
      2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5954)
      3. android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
      4. android.view.View.measure(View.java:18804)
      5. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5954)
      5 frames
    6. android.support.design
      CoordinatorLayout.onMeasure
      1. android.support.design.widget.CoordinatorLayout.onMeasureChild(CoordinatorLayout.java:668)
      2. android.support.design.widget.CoordinatorLayout.onMeasure(CoordinatorLayout.java:735)
      2 frames
    7. Android Platform
      FrameLayout.onMeasure
      1. android.view.View.measure(View.java:18804)
      2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5954)
      3. android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
      4. android.view.View.measure(View.java:18804)
      5. android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:715)
      6. android.widget.RelativeLayout.onMeasure(RelativeLayout.java:461)
      7. android.view.View.measure(View.java:18804)
      8. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5954)
      9. android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
      10. android.view.View.measure(View.java:18804)
      11. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5954)
      12. android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
      12 frames
    8. Android v7
      ContentFrameLayout.onMeasure
      1. android.support.v7.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:135)
      1 frame
    9. Android Platform
      FrameLayout.onMeasure
      1. android.view.View.measure(View.java:18804)
      2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5954)
      3. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1465)
      4. android.widget.LinearLayout.measureVertical(LinearLayout.java:748)
      5. android.widget.LinearLayout.onMeasure(LinearLayout.java:630)
      6. android.view.View.measure(View.java:18804)
      7. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5954)
      8. android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
      9. android.view.View.measure(View.java:18804)
      10. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5954)
      11. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1465)
      12. android.widget.LinearLayout.measureVertical(LinearLayout.java:748)
      13. android.widget.LinearLayout.onMeasure(LinearLayout.java:630)
      14. android.view.View.measure(View.java:18804)
      15. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5954)
      16. android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
      16 frames
    10. Android
      PhoneWindow$DecorView.onMeasure
      1. com.android.internal.policy.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2643)
      1 frame
    11. Android Platform
      Handler.dispatchMessage
      1. android.view.View.measure(View.java:18804)
      2. android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2112)
      3. android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1228)
      4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1464)
      5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1119)
      6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6060)
      7. android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)
      8. android.view.Choreographer.doCallbacks(Choreographer.java:670)
      9. android.view.Choreographer.doFrame(Choreographer.java:606)
      10. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)
      11. android.os.Handler.handleCallback(Handler.java:746)
      12. android.os.Handler.dispatchMessage(Handler.java:95)
      12 frames