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 joda by petrovpet
, 1 year ago
Duration does not support field "months"
java.lang.UnsupportedOperationException: Duration does not support field "months"	at org.joda.time.AbstractDuration.checkSupport(AbstractDuration.java:81)	at org.joda.time.AbstractDuration.setMonths(AbstractDuration.java:1170)	at org.joda.time.MutableDuration.setMonths(MutableDuration.java:328)	at org.joda.time.format.DurationFormatterBuilder$FieldFormatter.setFieldValue(DurationFormatterBuilder.java:1159)	at org.joda.time.format.DurationFormatterBuilder$FieldFormatter.parseInto(DurationFormatterBuilder.java:1045)	at org.joda.time.format.DurationFormatterBuilder$Composite.parseInto(DurationFormatterBuilder.java:1383)	at org.joda.time.format.DurationFormatterBuilder$Separator.parseInto(DurationFormatterBuilder.java:1300)	at org.joda.time.convert.StringConverter.setInto(StringConverter.java:148)	at org.joda.time.AbstractDuration.(AbstractDuration.java:200)	at org.joda.time.MutableDuration.(MutableDuration.java:134)	at org.joda.time.AbstractDuration.(AbstractDuration.java:203)	at org.joda.time.Duration.(Duration.java:134)