org.threeten.bp.DateTimeException: Field HourOfDay cannot be printed as the value 1897781960 exceeds the maximum print width of 2

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 benpm
, 1 year ago
Field HourOfDay cannot be printed as the value 1897781960 exceeds the maximum print width of 2
org.threeten.bp.DateTimeException: Field HourOfDay cannot be printed as the value 1897781960 exceeds the maximum print width of 2
at org.threeten.bp.format.DateTimeFormatterBuilder$NumberPrinterParser.print(DateTimeFormatterBuilder.java:2361)
at org.threeten.bp.format.DateTimeFormatterBuilder$CompositePrinterParser.print(DateTimeFormatterBuilder.java:1995)
at org.threeten.bp.format.DateTimeFormatter.formatTo(DateTimeFormatter.java:1385)
at org.threeten.bp.format.DateTimeFormatter.format(DateTimeFormatter.java:1359)
at com.kayak.datetest.MainActivity.printThreeten(MainActivity.java:89)
at com.kayak.datetest.MainActivity.runOnce(MainActivity.java:75)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.