← Back to team overview

dhis2-devs team mailing list archive

[Bug 575875] Re: GIS mapping module OGNL warning (set format)

 

** Changed in: dhis2
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/575875

Title:
  GIS mapping module OGNL warning (set format)

Status in DHIS:
  Fix Released

Bug description:
  A bug only reported in logs, but may be another OGNL error.  Happens
  when a map favorite is opened in the GIS module.

  * WARN  21:09:41,960 Error setting value (CommonsLogger.java [http-8080-10])
  ognl.MethodFailedException: Method "setFormat" failed for object org.hisp.dhis.mapping.action.GetPeriodsByPeriodTypeAction@994959 [java.lang.NoSuchMethodException: setFormat([Ljava.lang.String;)]
  	at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:823)
  	at ognl.OgnlRuntime.setMethodValue(OgnlRuntime.java:964)
  	at ognl.ObjectPropertyAccessor.setPossibleProperty(ObjectPropertyAccessor.java:75)
  	at ognl.ObjectPropertyAccessor.setProperty(ObjectPropertyAccessor.java:131)
  	at com.opensymphony.xwork2.ognl.accessor.ObjectAccessor.setProperty(ObjectAccessor.java:28)
  	at ognl.OgnlRuntime.setProperty(OgnlRuntime.java:1656)
  	at com.opensymphony.xwork2.ognl.accessor.CompoundRootAccessor.setProperty(CompoundRootAccessor.java:50)
  	at ognl.OgnlRuntime.setProperty(OgnlRuntime.java:1656)
  	at ognl.ASTProperty.setValueBody(ASTProperty.java:101)
  	at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:177)
  	at ognl.SimpleNode.setValue(SimpleNode.java:246)
  	at ognl.Ognl.setValue(Ognl.java:476)
  	at com.opensymphony.xwork2.ognl.OgnlUtil.setValue(OgnlUtil.java:192)
  	at com.opensymphony.xwork2.ognl.OgnlValueStack.setValue(OgnlValueStack.java:155)
  	at com.opensymphony.xwork2.ognl.OgnlValueStack.setValue(OgnlValueStack.java:143)
  	at com.opensymphony.xwork2.interceptor.ParametersInterceptor.setParameters(ParametersInterceptor.java:273)
  	at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:187)
  	at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
  	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
  	at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:148)
  	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
  	at org.hisp.dhis.interceptor.ExceptionInterceptor.intercept(ExceptionInterceptor.java:89)
  	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
  	at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)
  	at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:468)
  	at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:395)
  	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)
  	at org.hisp.dhis.security.filter.RequiredLoginFilter.doFilter(RequiredLoginFilter.java:129)
  	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
  	at org.hisp.dhis.security.filter.AutomaticAccessFilter.doFilter(AutomaticAccessFilter.java:112)
  	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
  	at org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89)
  	at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
  	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
  	at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:278)
  	at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
  	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
  	at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
  	at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
  	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
  	at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175)
  	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)
  	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
  	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  	at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
  	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
  	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
  	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
  	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
  	at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859)
  	at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
  	at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1555)
  	at java.lang.Thread.run(Thread.java:619)
  /-- Encapsulated exception ------------\
  java.lang.NoSuchMethodException: setFormat([Ljava.lang.String;)
  	at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:810)
  	at ognl.OgnlRuntime.setMethodValue(OgnlRuntime.java:964)
  	at ognl.ObjectPropertyAccessor.setPossibleProperty(ObjectPropertyAccessor.java:75)
  	at ognl.ObjectPropertyAccessor.setProperty(ObjectPropertyAccessor.java:131)
  	at com.opensymphony.xwork2.ognl.accessor.ObjectAccessor.setProperty(ObjectAccessor.java:28)
  	at ognl.OgnlRuntime.setProperty(OgnlRuntime.java:1656)
  	at com.opensymphony.xwork2.ognl.accessor.CompoundRootAccessor.setProperty(CompoundRootAccessor.java:50)
  	at ognl.OgnlRuntime.setProperty(OgnlRuntime.java:1656)
  	at ognl.ASTProperty.setValueBody(ASTProperty.java:101)
  	at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:177)
  	at ognl.SimpleNode.setValue(SimpleNode.java:246)
  	at ognl.Ognl.setValue(Ognl.java:476)
  	at com.opensymphony.xwork2.ognl.OgnlUtil.setValue(OgnlUtil.java:192)
  	at com.opensymphony.xwork2.ognl.OgnlValueStack.setValue(OgnlValueStack.java:155)
  	at com.opensymphony.xwork2.ognl.OgnlValueStack.setValue(OgnlValueStack.java:143)
  	at com.opensymphony.xwork2.interceptor.ParametersInterceptor.setParameters(ParametersInterceptor.java:273)
  	at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:187)
  	at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
  	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
  	at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:148)
  	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
  	at org.hisp.dhis.interceptor.ExceptionInterceptor.intercept(ExceptionInterceptor.java:89)
  	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
  	at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)
  	at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:468)
  	at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:395)
  	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)
  	at org.hisp.dhis.security.filter.RequiredLoginFilter.doFilter(RequiredLoginFilter.java:129)
  	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
  	at org.hisp.dhis.security.filter.AutomaticAccessFilter.doFilter(AutomaticAccessFilter.java:112)
  	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
  	at org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89)
  	at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
  	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
  	at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:278)
  	at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
  	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
  	at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
  	at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
  	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
  	at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175)
  	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)
  	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
  	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  	at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
  	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
  	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
  	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
  	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
  	at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859)
  	at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
  	at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1555)
  	at java.lang.Thread.run(Thread.java:619)
  \--------------------------------------/

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/575875/+subscriptions


References