java.time.DateTimeException: Invalid value for DayOfMonth (valid values 1 - 28/31): -1

GitHub | francisdb | 4 months ago
  1. 0

    DateTimeException thrown from ExecutionTime.nextExecution

    GitHub | 4 months ago | francisdb
    java.time.DateTimeException: Invalid value for DayOfMonth (valid values 1 - 28/31): -1
  2. 0

    New Date API - Add Era

    Stack Overflow | 6 months ago | EPMS Devteam
    java.time.DateTimeException: Invalid value for Era (valid values 0 - 1): 2
  3. 0

    Java8 LocalDateTime parsing error

    Stack Overflow | 1 year ago | ak31
    java.time.format.DateTimeParseException: Text '03-feb-2014 13:16:31' could not be parsed: Unable to obtain LocalDateTime from TemporalAccessor: {DayOfMonth=3, MonthOfYear=2, WeekBasedYear[WeekFields[SUNDAY,1]]=2014},ISO resolved to 13:16:31 of type java.time.format.Parsed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 2174#173037028

    GitHub | 10 months ago | alonsodomin
    java.time.DateTimeException: Invalid value for Year (valid values -999999999 - 999999999): -9223372035854775810
  6. 0

    GitHub comment 2174#173037028

    GitHub | 10 months ago | alonsodomin
    java.time.DateTimeException: Invalid value for Year (valid values -999999999 - 999999999): -768614335404564651

  1. tyson925 1 times, last 6 months ago
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.time.DateTimeException

    Invalid value for DayOfMonth (valid values 1 - 28/31): -1

    at java.time.temporal.ValueRange.checkValidValue()
  2. Java RT
    LocalDate.of
    1. java.time.temporal.ValueRange.checkValidValue(ValueRange.java:311)
    2. java.time.temporal.ChronoField.checkValidValue(ChronoField.java:703)
    3. java.time.LocalDate.of(LocalDate.java:268)
    3 frames
  3. com.cronutils.model
    ExecutionTime.nextExecution
    1. com.cronutils.model.time.generator.BetweenDayOfWeekValueGenerator.isMatch(BetweenDayOfWeekValueGenerator.java:128)
    2. com.cronutils.model.time.generator.FieldValueGenerator.generateCandidates(FieldValueGenerator.java:69)
    3. com.cronutils.model.time.ExecutionTime.generateDayCandidatesQuestionMarkSupported(ExecutionTime.java:422)
    4. com.cronutils.model.time.ExecutionTime.generateDays(ExecutionTime.java:324)
    5. com.cronutils.model.time.ExecutionTime.nextClosestMatch(ExecutionTime.java:172)
    6. com.cronutils.model.time.ExecutionTime.nextExecution(ExecutionTime.java:126)
    6 frames