Hi Lars. I run lasted DHIS2.0 build. It working but have some warning in console. Is this bug ?
WARN 10:32:39,287 Error setting value (CommonsLogger.java [http-8080-3])
ognl.MethodFailedException: Method “setId” failed for object org.hisp.dhis.commo
ns.action.GetIndicatorsAction@153a2e4 [java.lang.NoSuchMethodException: setId([L
java.lang.String;)]
at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:823)
at ognl.OgnlRuntime.setMethodValue(OgnlRuntime.java:964)
at ognl.ObjectPropertyAccessor.setPossibleProperty(ObjectPropertyAccesso
r.java:75)
at ognl.ObjectPropertyAccessor.setProperty(ObjectPropertyAccessor.java:1
···
================================
Tran Thanh Tri
HISP Viet Nam
Cell phone: +84903670967
Website: http://tringuyenvn.com
Lars
(Lars Øverland)
21 October 2009 16:12
2
Hi Tri,
this a known bug i Ognl, which unnecessarily raises the log level from debug to warn in situations where you have a property on the stack but no corresponding set-method exists on any action class. Struts is aware of this but say they cannot upgrade to a newer version of Ognl as it entailed some compatibility issues. So my point is that you can safely ignore it (even if it is annoying).
Lars
···
2009/10/21 Trí Trần Thanh tranthanhtri84@gmail.com
Hi Lars. I run lasted DHIS2.0 build. It working but have some warning in console. Is this bug ?
WARN 10:32:39,287 Error setting value (CommonsLogger.java [http-8080-3])
ognl.MethodFailedException: Method “setId” failed for object org.hisp.dhis.commo
ns.action.GetIndicatorsAction@153a2e4 [java.lang.NoSuchMethodException: setId([L
java.lang.String;)]
at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:823)
at ognl.OgnlRuntime.setMethodValue(OgnlRuntime.java:964)
at ognl.ObjectPropertyAccessor.setPossibleProperty(ObjectPropertyAccesso
r.java:75)
at ognl.ObjectPropertyAccessor.setProperty(ObjectPropertyAccessor.java:1
================================
Tran Thanh Tri
HISP Viet Nam
Cell phone: +84903670967
Website: http://tringuyenvn.com