org.joda.time.IllegalInstantException: Cannot parse "2016-03-27": Illegal instant due to time zone offset transition (Asia/Beirut) 2016-04-18 17:49:02.777649500 at org.joda.time.format.DateTimeParserBucket.computeMillis(DateTimeParserBucket.java:471)

Atlassian JIRA | Janice Alor [Atlassian] | 8 months ago
  1. 0

    h3. Summary Users can’t save a page when inserting a date on the day when Daylight Saving Time starts h3. Steps to Reproduce # Check the default time zone of the instance {{Asia/Beirut}} # Verify when the Daylight Saving Time starts on that timezone {{2016-03-27}} # Try to edit a page insert date {{2016-03-27}} # The page can't be saved with error {{There was an error processing the request}} h3. Expected Results Should be able to save the page after inserting the date. h3. Actual Results {{There was an error processing the request}} error will appear when saving the page. _clog_ appears {noformat} 2016-04-18 17:49:02.777643500 Caused by: org.joda.time.IllegalInstantException: Cannot parse "2016-03-27": Illegal instant due to time zone offset transition (Asia/Beirut) 2016-04-18 17:49:02.777649500 at org.joda.time.format.DateTimeParserBucket.computeMillis(DateTimeParserBucket.java:471) 2016-04-18 17:49:02.777650500 at org.joda.time.format.DateTimeParserBucket.computeMillis(DateTimeParserBucket.java:411) 2016-04-18 17:49:02.777650500 at org.joda.time.format.DateTimeFormatter.parseDateTime(DateTimeFormatter.java:882) 2016-04-18 17:49:02.777655500 at com.atlassian.confluence.content.render.xhtml.model.time.Time.parseDate(Time.java:66) 2016-04-18 17:49:02.777655500 at com.atlassian.confluence.content.render.xhtml.model.time.Time.<init>(Time.java:26) {noformat}

    Atlassian JIRA | 8 months ago | Janice Alor [Atlassian]
    org.joda.time.IllegalInstantException: Cannot parse "2016-03-27": Illegal instant due to time zone offset transition (Asia/Beirut) 2016-04-18 17:49:02.777649500 at org.joda.time.format.DateTimeParserBucket.computeMillis(DateTimeParserBucket.java:471)
  2. 0

    h3. Summary Users can’t save a page when inserting a date on the day when Daylight Saving Time starts h3. Steps to Reproduce # Check the default time zone of the instance {{Asia/Beirut}} # Verify when the Daylight Saving Time starts on that timezone {{2016-03-27}} # Try to edit a page insert date {{2016-03-27}} # The page can't be saved with error {{There was an error processing the request}} h3. Expected Results Should be able to save the page after inserting the date. h3. Actual Results {{There was an error processing the request}} error will appear when saving the page. _clog_ appears {noformat} 2016-04-18 17:49:02.777643500 Caused by: org.joda.time.IllegalInstantException: Cannot parse "2016-03-27": Illegal instant due to time zone offset transition (Asia/Beirut) 2016-04-18 17:49:02.777649500 at org.joda.time.format.DateTimeParserBucket.computeMillis(DateTimeParserBucket.java:471) 2016-04-18 17:49:02.777650500 at org.joda.time.format.DateTimeParserBucket.computeMillis(DateTimeParserBucket.java:411) 2016-04-18 17:49:02.777650500 at org.joda.time.format.DateTimeFormatter.parseDateTime(DateTimeFormatter.java:882) 2016-04-18 17:49:02.777655500 at com.atlassian.confluence.content.render.xhtml.model.time.Time.parseDate(Time.java:66) 2016-04-18 17:49:02.777655500 at com.atlassian.confluence.content.render.xhtml.model.time.Time.<init>(Time.java:26) {noformat}

    Atlassian JIRA | 8 months ago | Janice Alor [Atlassian]
    org.joda.time.IllegalInstantException: Cannot parse "2016-03-27": Illegal instant due to time zone offset transition (Asia/Beirut) 2016-04-18 17:49:02.777649500 at org.joda.time.format.DateTimeParserBucket.computeMillis(DateTimeParserBucket.java:471)
  3. 0

    How to parse a datetime string without a year in Joda Time?

    Stack Overflow | 2 years ago
    org.joda.time.IllegalInstantException: Cannot parse "26.03 02:50": Illegal instant due to time zone offset transition (Europe/Moscow)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Inserting non-existent date into in-memory DB

    Stack Overflow | 1 year ago | Joshua
    org.joda.time.IllegalInstantException: Cannot parse "2015-03-08 02:00:00.0": Illegal instant due to time zone offset transition (America/Chicago)
  6. 0

    Unhandled Exception: Parsing DST transition date for America/Havana TZ

    GitHub | 8 months ago | MisterY
    org.joda.time.IllegalInstantException: Cannot parse "2016-03-13": Illegal instant due to time zone offset transition (America/Havana)

    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. org.joda.time.IllegalInstantException

      Cannot parse "2016-03-27": Illegal instant due to time zone offset transition (Asia/Beirut) 2016-04-18 17:49:02.777649500 at org.joda.time.format.DateTimeParserBucket.computeMillis(DateTimeParserBucket.java:471)

      at org.joda.time.format.DateTimeParserBucket.computeMillis()
    2. Joda-Time
      DateTimeFormatter.parseDateTime
      1. org.joda.time.format.DateTimeParserBucket.computeMillis(DateTimeParserBucket.java:411)
      2. org.joda.time.format.DateTimeFormatter.parseDateTime(DateTimeFormatter.java:882)
      2 frames