dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #21217
mobile version reporting error
Hi,
I have updated to the trunk version with 2.9 database. browse report in mobile version . with daily report, got:
java.lang.ClassCastException: org.hisp.dhis.period.PeriodType_$$_javassist_0 cannot be cast
to org.hisp.dhis.period.CalendarPeriodType
at org.hisp.dhis.light.utils.FormUtils.getPeriodsForDataSet(FormUtils.java:271)
at org.hisp.dhis.light.utils.FormUtils.getPeriodsForDataSet(FormUtils.java:254)
at org.hisp.dhis.light.dataentry.action.GetPeriodsAction.execute(GetPeriodsAction.ja
va:202)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java
:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocat
ion.java:453)
at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInv
ocation.java:292)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.ja
va:255)
at org.hisp.dhis.webportal.interceptor.XWorkPortalUserInterceptor.intercept(XWorkPor
talUserInterceptor.java:87)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.ja
va:249)
at org.hisp.dhis.webportal.interceptor.XWorkPortalModuleInterceptor.intercept(XWorkP
ortalModuleInterceptor.java:90)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.ja
va:249)
at org.hisp.dhis.webportal.interceptor.XWorkPortalMenuInterceptor.intercept(XWorkPor
talMenuInterceptor.java:96)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.ja
va:249)
at org.hisp.dhis.webportal.interceptor.XWorkPortalParamsInterceptor.intercept(XWorkP
ortalParamsInterceptor.java:118)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.ja
va:249)
at org.hisp.dhis.interceptor.ContextInterceptor.intercept(ContextInterceptor.java:81
)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.ja
va:249)
at org.hisp.dhis.interceptor.UserSettingInterceptor.intercept(UserSettingInterceptor
.java:80)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.ja
va:249)
at org.hisp.dhis.security.intercept.LoginInterceptor.intercept(LoginInterceptor.java
:84)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.ja
va:249)
at org.hisp.dhis.security.intercept.XWorkSecurityInterceptor.intercept(XWorkSecurity
Interceptor.java:112)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.ja
va:249)
at org.hisp.dhis.interceptor.SystemSettingInterceptor.intercept(SystemSettingInterce
ptor.java:103)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.ja
va:249)
at org.hisp.dhis.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:135)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.ja
va:249)
at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersI
nterceptor.java:211)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilte
rInterceptor.java:98)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.ja
va:249)
at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticP
arametersInterceptor.java:190)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.ja
va:249)
at org.hisp.dhis.interceptor.ExceptionInterceptor.intercept(ExceptionInterceptor.jav
a:100)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.ja
va:249)
at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:54)
at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:510)
at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:432
)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilte
rChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.j
ava:210)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(Fil
terChainProxy.java:330)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invok
e(FilterSecurityInterceptor.java:118)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFil
ter(FilterSecurityInterceptor.java:84)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(Fil
terChainProxy.java:342)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(Excep
tionTranslationFilter.java:113)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(Fil
terChainProxy.java:342)
at org.springframework.security.web.session.SessionManagementFilter.doFilter(Session
ManagementFilter.java:103)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(Fil
terChainProxy.java:342)
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doF
ilter(AnonymousAuthenticationFilter.java:113)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(Fil
terChainProxy.java:342)
at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilt
er.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(Fil
--
此致
easy
莫愁前路无知己,天下谁人不识君。
Follow ups