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 Kuali JIRA by Venkat PremChandran, 1 year ago
Cannot convert to Days as this period contains months and months vary in length
via Kuali JIRA by Venkat PremChandran, 2 years ago
Cannot convert to Days as this period contains months and months vary in length
via Stack Overflow by Persimmonium
, 1 year ago
Cannot convert to Days as this period contains months and months vary in length
via Google Groups by siddhartha dutta, 2 years ago
Cannot convert to Duration as this period contains months and months vary in length
via Google Groups by Marcelo Oikawa, 2 years ago
Cannot convert to Duration as this period contains years and years vary in length
via GitHub by ForNeVeR
, 2 years ago
Cannot convert to Hours as this period contains months and months vary in length
java.lang.UnsupportedOperationException: Cannot convert to Days as this period contains months and months vary in length at org.joda.time.Period.checkYearsAndMonths(Period.java:1482) at org.joda.time.Period.toStandardDays(Period.java:1341) at org.kuali.student.enrollment.class2.acal.service.impl.AcademicCalendarServiceImpl.getInstructionalDaysForTerm(AcademicCalendarServiceImpl.java:1925) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy266.getInstructionalDaysForTerm(Unknown Source) at org.kuali.student.enrollment.class2.acal.service.decorators.AcademicCalendarServiceDecorator.getInstructionalDaysForTerm(AcademicCalendarServiceDecorator.java:710) at org.kuali.student.enrollment.class2.acal.service.impl.AcademicCalendarViewHelperServiceImpl.populateInstructionalDays(AcademicCalendarViewHelperServiceImpl.java:807) at org.kuali.student.enrollment.class2.acal.service.impl.AcademicCalendarViewHelperServiceImpl.populateInstructionalDays(AcademicCalendarViewHelperServiceImpl.java:795)