java.lang.IllegalArgumentException: The 'month' argument must be in the range 1 to 12.

Coderanch | k caster | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Help Adding Months to Gregorian Calendar

    Coderanch | 1 decade ago | k caster
    java.lang.IllegalArgumentException: The 'month' argument must be in the range 1 to 12.
  2. 0

    ksar : a sar grapher / Bugs / #13 kSar cannot handle output from sysstat 9.1.x

    sourceforge.net | 1 year ago
    java.lang.IllegalArgumentException: The 'year' argument must be in range 1900 to 9999.

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      The 'month' argument must be in the range 1 to 12.

      at org.jfree.date.SpreadsheetDate.<init>()
    2. jcommon
      SerialDate.createInstance
      1. org.jfree.date.SpreadsheetDate.<init>(SpreadsheetDate.java:126)
      2. org.jfree.date.SerialDate.createInstance(SerialDate.java:795)
      2 frames
    3. jfreechart
      Day.<init>
      1. org.jfree.data.time.Day.<init>(Day.java:118)
      1 frame
    4. Unknown
      JFreeChartWYPlotApp.main
      1. JFreeChartWYPlot.createDataset(JFreeChartWYPlot.java:333)
      2. JFreeChartWYPlot.init(JFreeChartWYPlot.java:71)
      3. JFreeChartWYPlot.<init>(JFreeChartWYPlot.java:59)
      4. JFreeChartWYPlotApp.main(JFreeChartWYPlotApp.java:10)
      4 frames