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

GitHub | JRSoftware92 | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Unable to Initialize CalendarPickerView: IllegalStateException

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

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

    GitHub | 10 months ago | shenck
    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

  5. 0

    Support Package版ListFragmentにカスタムビューを適用するとsetListShownできなくなる問題とその対策 - ナカザンドットネット

    nkzn.info | 1 year ago
    java.lang.IllegalStateException: Can't be used with a custom content view at .support.v4.app.ListFragment.setListShown(ListFragment. :282) at .support.v4.app.ListFragment.setListShown(ListFragment. :258) at net.nkzn. .sample.v4.customlist.MainActivity.onClick(MainActivity. :38) at .view.View.performClick(View. :2604) at .view.View$PerformClick.run(View. :9314) at .os.Handler.handleCallback(Handler. :587) at .os.Handler.dispatchMessage(Handler. :92) at .os.Looper.loop(Looper. :130) at .app.ActivityThread.main(ActivityThread. :3691) at .lang.reflect.Method.invokeNative(Native Method) at .lang.reflect.Method.invoke(Method. :507)

    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:18834)
      2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5953)
      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:18834)
      7. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5953)
      8. android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
      9. android.view.View.measure(View.java:18834)
      10. android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:715)
      11. android.widget.RelativeLayout.onMeasure(RelativeLayout.java:461)
      12. android.view.View.measure(View.java:18834)
      13. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5953)
      13 frames
    4. android.support.design
      CoordinatorLayout.onMeasure
      1. android.support.design.widget.CoordinatorLayout.onMeasureChild(CoordinatorLayout.java:610)
      2. android.support.design.widget.HeaderScrollingViewBehavior.onMeasureChild(HeaderScrollingViewBehavior.java:78)
      3. android.support.design.widget.AppBarLayout$ScrollingViewBehavior.onMeasureChild(AppBarLayout.java:1132)
      4. android.support.design.widget.CoordinatorLayout.onMeasure(CoordinatorLayout.java:675)
      4 frames
    5. Android Platform
      View.measure
      1. android.view.View.measure(View.java:18834)
      1 frame
    6. Android Support v4
      DrawerLayout.onMeasure
      1. android.support.v4.widget.DrawerLayout.onMeasure(DrawerLayout.java:940)
      1 frame
    7. Android Platform
      FrameLayout.onMeasure
      1. android.view.View.measure(View.java:18834)
      2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5953)
      3. android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
      3 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:18834)
      2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5953)
      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:18834)
      7. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5953)
      8. android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
      9. android.view.View.measure(View.java:18834)
      10. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5953)
      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:18834)
      15. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5953)
      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:2685)
      1 frame
    11. Android Platform
      ActivityThread.main
      1. android.view.View.measure(View.java:18834)
      2. android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2131)
      3. android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1237)
      4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1474)
      5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1125)
      6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6100)
      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:739)
      12. android.os.Handler.dispatchMessage(Handler.java:95)
      13. android.os.Looper.loop(Looper.java:148)
      14. android.app.ActivityThread.main(ActivityThread.java:5525)
      14 frames
    12. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    13. Android
      ZygoteInit$MethodAndArgsCaller.run
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:730)
      1 frame