Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by shenck
, 1 year ago
Must have at least one month to display. Did you forget to call init()?
via GitHub by The-RobinHood
, 2 years ago
Must have at least one month to display. Did you forget to call init()?
via GitHub by JRSoftware92
, 1 year ago
Must have at least one month to display. Did you forget to call init()?
java.lang.IllegalStateException: Must have at least one month to display.  Did you forget to call init()?	at com.squareup.timessquare.CalendarPickerView.onMeasure(CalendarPickerView.java:449)	at android.view.View.measure(View.java:18804)	at android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:715)	at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:461)	at android.view.View.measure(View.java:18804)	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5954)	at android.support.design.widget.CoordinatorLayout.onMeasureChild(CoordinatorLayout.java:668)	at android.support.design.widget.CoordinatorLayout.onMeasure(CoordinatorLayout.java:735)	at android.view.View.measure(View.java:18804)	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5954)	at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)	at android.view.View.measure(View.java:18804)	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5954)	at android.support.design.widget.CoordinatorLayout.onMeasureChild(CoordinatorLayout.java:668)	at android.support.design.widget.CoordinatorLayout.onMeasure(CoordinatorLayout.java:735)	at android.view.View.measure(View.java:18804)	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5954)	at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)	at android.view.View.measure(View.java:18804)	at android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:715)	at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:461)	at android.view.View.measure(View.java:18804)	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5954)	at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)	at android.view.View.measure(View.java:18804)	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5954)	at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)	at android.support.v7.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:135)	at android.view.View.measure(View.java:18804)	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5954)	at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1465)	at android.widget.LinearLayout.measureVertical(LinearLayout.java:748)	at android.widget.LinearLayout.onMeasure(LinearLayout.java:630)	at android.view.View.measure(View.java:18804)	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5954)	at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)	at android.view.View.measure(View.java:18804)	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5954)	at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1465)	at android.widget.LinearLayout.measureVertical(LinearLayout.java:748)	at android.widget.LinearLayout.onMeasure(LinearLayout.java:630)	at android.view.View.measure(View.java:18804)	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5954)	at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)	at com.android.internal.policy.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2643)	at android.view.View.measure(View.java:18804)	at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2112)	at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1228)	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1464)	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1119)	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6060)	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)	at android.view.Choreographer.doCallbacks(Choreographer.java:670)	at android.view.Choreographer.doFrame(Choreographer.java:606)	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)	at android.os.Handler.handleCallback(Handler.java:746)	at android.os.Handler.dispatchMessage(Handler.java:95)