dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #10308
[Bug 715087] Re: dashboard-operation-creates-exception
Hi Jason, we have changed the mapview object, you need to delete your
existing mapviews, create new ones and try again..
--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/715087
Title:
dashboard-operation-creates-exception
Status in DHIS 2 - District Health Information Software:
New
Bug description:
An exception occurred
Sorry! The system failed to execute the operation. Usually, no data is
lost and you can continue working by going back to the previous page.
If you wish to report the incident, please save this page by choosing
"File -> Save (page as)" in your browser and include the saved page in
the report. The problem details are listed below.
[-] Exception (org.hibernate.exception.SQLGrammarException): could not
initialize a collection:
[org.hisp.dhis.dashboard.DashboardContent.mapViews#18]
* org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92)
* org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
* org.hibernate.loader.Loader.loadCollection(Loader.java:2089)
* org.hibernate.loader.collection.CollectionLoader.initialize(CollectionLoader.java:62)
* org.hibernate.persister.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:628)
* org.hibernate.event.def.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:83)
* org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:1853)
* org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:369)
* org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:111)
* org.hibernate.collection.PersistentList.toArray(PersistentList.java:146)
* java.util.ArrayList.(ArrayList.java:151)
* org.hisp.dhis.dashboard.provider.MapViewContentProvider.provide(MapViewContentProvider.java:103)
* org.hisp.dhis.dashboard.manager.DefaultDashboardManager.getContent(DefaultDashboardManager.java:100)
* org.hisp.dhis.dashboard.action.ProvideContentAction.execute(ProvideContentAction.java:93)
* sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
* sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
* sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
* java.lang.reflect.Method.invoke(Method.java:616)
* com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:441)
* com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:280)
* com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:243)
* org.hisp.dhis.webportal.interceptor.XWorkPortalUserInterceptor.intercept(XWorkPortalUserInterceptor.java:82)
* com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
* org.hisp.dhis.webportal.interceptor.XWorkPortalModuleInterceptor.intercept(XWorkPortalModuleInterceptor.java:85)
* com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
* org.hisp.dhis.webportal.interceptor.XWorkPortalMenuInterceptor.intercept(XWorkPortalMenuInterceptor.java:91)
* com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
* org.hisp.dhis.webportal.interceptor.XWorkPortalParamsInterceptor.intercept(XWorkPortalParamsInterceptor.java:117)
* com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
* org.hisp.dhis.interceptor.ContextInterceptor.intercept(ContextInterceptor.java:70)
* com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
* org.hisp.dhis.interceptor.StyleInterceptor.intercept(StyleInterceptor.java:107)
* com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
* org.hisp.dhis.interceptor.SystemSettingInterceptor.intercept(SystemSettingInterceptor.java:93)
* com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
* org.hisp.dhis.interceptor.DisplayPropertyInterceptor.intercept(DisplayPropertyInterceptor.java:90)
* com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
* org.hisp.dhis.interceptor.SortOrderInterceptor.intercept(SortOrderInterceptor.java:124)
* com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
* org.hisp.dhis.security.intercept.XWorkSecurityInterceptor.intercept(XWorkSecurityInterceptor.java:98)
* com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
* org.hisp.dhis.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:141)
* com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
* com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:126)
* com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
* com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195)
* com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
* com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
* com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:179)
* com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
* org.hisp.dhis.interceptor.ExceptionInterceptor.intercept(ExceptionInterceptor.java:98)
* com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
* org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)
* org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:488)
* org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:395)
* org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:244)
* org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
* org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:368)
* org.hisp.dhis.security.filter.RequiredLoginFilter.doFilter(RequiredLoginFilter.java:129)
* org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
* org.hisp.dhis.security.filter.AutomaticAccessFilter.doFilter(AutomaticAccessFilter.java:112)
* org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
* org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
* org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
* org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:187)
* org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
* org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79)
* org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
* org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:169)
* org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
* org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
* org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:244)
* org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
* org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
* org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
* org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:244)
* org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
* org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
* org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
* org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
* org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
* org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:550)
* org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
* org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:380)
* org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:284)
* org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:322)
* org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1684)
* java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
* java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
* java.lang.Thread.run(Thread.java:636)
[-] Caused by (org.postgresql.util.PSQLException): ERROR: column
mapview1_.userid does not exist Position: 1594
* org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2102)
* org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1835)
* org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
* org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:500)
* org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:388)
* org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:273)
* com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
* org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)
* org.hibernate.loader.Loader.getResultSet(Loader.java:1869)
* org.hibernate.loader.Loader.doQuery(Loader.java:718)
* org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:270)
* org.hibernate.loader.Loader.loadCollection(Loader.java:2082)
* org.hibernate.loader.collection.CollectionLoader.initialize(CollectionLoader.java:62)
* org.hibernate.persister.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:628)
* org.hibernate.event.def.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:83)
* org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:1853)
* org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:369)
* org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:111)
* org.hibernate.collection.PersistentList.toArray(PersistentList.java:146)
* java.util.ArrayList.(ArrayList.java:151)
* org.hisp.dhis.dashboard.provider.MapViewContentProvider.provide(MapViewContentProvider.java:103)
* org.hisp.dhis.dashboard.manager.DefaultDashboardManager.getContent(DefaultDashboardManager.java:100)
* org.hisp.dhis.dashboard.action.ProvideContentAction.execute(ProvideContentAction.java:93)
* sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
* sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
* sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
* java.lang.reflect.Method.invoke(Method.java:616)
* com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:441)
* com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:280)
* com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:243)
* org.hisp.dhis.webportal.interceptor.XWorkPortalUserInterceptor.intercept(XWorkPortalUserInterceptor.java:82)
* com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
* org.hisp.dhis.webportal.interceptor.XWorkPortalModuleInterceptor.intercept(XWorkPortalModuleInterceptor.java:85)
* com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
* org.hisp.dhis.webportal.interceptor.XWorkPortalMenuInterceptor.intercept(XWorkPortalMenuInterceptor.java:91)
* com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
* org.hisp.dhis.webportal.interceptor.XWorkPortalParamsInterceptor.intercept(XWorkPortalParamsInterceptor.java:117)
* com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
* org.hisp.dhis.interceptor.ContextInterceptor.intercept(ContextInterceptor.java:70)
* com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
* org.hisp.dhis.interceptor.StyleInterceptor.intercept(StyleInterceptor.java:107)
* com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
* org.hisp.dhis.interceptor.SystemSettingInterceptor.intercept(SystemSettingInterceptor.java:93)
* com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
* org.hisp.dhis.interceptor.DisplayPropertyInterceptor.intercept(DisplayPropertyInterceptor.java:90)
* com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
* org.hisp.dhis.interceptor.SortOrderInterceptor.intercept(SortOrderInterceptor.java:124)
* com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
* org.hisp.dhis.security.intercept.XWorkSecurityInterceptor.intercept(XWorkSecurityInterceptor.java:98)
* com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
* org.hisp.dhis.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:141)
* com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
* com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:126)
* com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
* com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195)
* com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
* com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
* com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:179)
* com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
* org.hisp.dhis.interceptor.ExceptionInterceptor.intercept(ExceptionInterceptor.java:98)
* com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
* org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)
* org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:488)
* org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:395)
* org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:244)
* org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
* org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:368)
* org.hisp.dhis.security.filter.RequiredLoginFilter.doFilter(RequiredLoginFilter.java:129)
* org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
* org.hisp.dhis.security.filter.AutomaticAccessFilter.doFilter(AutomaticAccessFilter.java:112)
* org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
* org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
* org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
* org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:187)
* org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
* org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79)
* org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
* org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:169)
* org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
* org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
* org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:244)
* org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
* org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
* org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
* org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:244)
* org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
* org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
* org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
* org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
* org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
* org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:550)
* org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
* org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:380)
* org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:284)
* org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:322)
* org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1684)
* java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
* java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
* java.lang.Thread.run(Thread.java:636)
Follow ups
References