Re: [S2] Problem with 2.0.6

2007-02-28 Thread Piero Sartini
Am Dienstag, 27. Februar 2007 schrieb cilquirm:
 I see errors like that on occasion ( mine is with the JSONResult type and
 the location property ), but they've always been warnings.

 Is yours logged at the ERROR level?

they are logged at WARNING level. Should I just ignore them? I do not feel 
good with this errors..

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [S2] Problem with 2.0.6

2007-02-28 Thread cilquirm

I do.
It looks vicious, but is pretty harmless.
You could wipe it out of your logs by setting the class that throws it to
only log ERROR and greater.



Piero Sartini-3 wrote:
 
 Am Dienstag, 27. Februar 2007 schrieb cilquirm:
 I see errors like that on occasion ( mine is with the JSONResult type and
 the location property ), but they've always been warnings.

 Is yours logged at the ERROR level?
 
 they are logged at WARNING level. Should I just ignore them? I do not feel 
 good with this errors..
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Problem-with-2.0.6-tf3300246.html#a9207784
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [S2] Problem with 2.0.6

2007-02-28 Thread Piero Sartini
 I do.
 It looks vicious, but is pretty harmless.
 You could wipe it out of your logs by setting the class that throws it to
 only log ERROR and greater.

I will do it for development - but I hope this gets fixed. Exceptions are the 
slowest parts in the jvm as far as I know. Performance cant be good if lots 
of exceptions are thrown each time an action gets called ...

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [S2] Problem with 2.0.6

2007-02-27 Thread cilquirm

I see errors like that on occasion ( mine is with the JSONResult type and the
location property ), but they've always been warnings.

Is yours logged at the ERROR level?



Piero Sartini-3 wrote:
 
 upgraded to 2.0.6 - now the error below is thrown when accessing an Action 
 with validators.
 
 dont know if it is important, but ajax-validation is enabled and the 
 annotation looks like this:
 
 --- code ---
@RequiredStringValidator(message = Login is required, key 
 = error.loginname.missing)
 public String getLogin() {
 return login;
 }
 --- code ---
 
 
 Exec[0]: validator.doPost()
 Caught OgnlException while setting property 'methodName' on 
 type
 'com.opensymphony.xwork2.validator.validators.RequiredStringValidator'.
 ognl.NoSuchPropertyException: 
 com.opensymphony.xwork2.validator.validators.RequiredStringValidator.methodName
 at 
 ognl.ObjectPropertyAccessor.setProperty(ObjectPropertyAccessor.java:132)
 at 
 com.opensymphony.xwork2.util.OgnlValueStack$ObjectAccessor.setProperty(OgnlValueStack.java:68)
 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.util.OgnlUtil.setValue(OgnlUtil.java:186)
 at 
 com.opensymphony.xwork2.util.OgnlUtil.internalSetProperty(OgnlUtil.java:360)
 at 
 com.opensymphony.xwork2.util.OgnlUtil.setProperties(OgnlUtil.java:76)
 at 
 com.opensymphony.xwork2.util.OgnlUtil.setProperties(OgnlUtil.java:103)
 at 
 com.opensymphony.xwork2.util.OgnlUtil.setProperties(OgnlUtil.java:90)
 at 
 com.opensymphony.xwork2.ObjectFactory.buildValidator(ObjectFactory.java:234)
 at 
 com.opensymphony.xwork2.validator.ValidatorFactory.getValidator(ValidatorFactory.java:252)
 at 
 com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.getValidators(AnnotationActionValidatorManager.java:79)
 at 
 com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.validate(AnnotationActionValidatorManager.java:134)
 at 
 com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.validate(AnnotationActionValidatorManager.java:109)
 at 
 com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.validate(AnnotationActionValidatorManager.java:96)
 at 
 com.opensymphony.xwork2.validator.ValidationInterceptor.doBeforeInvocation(ValidationInterceptor.java:142)
 at 
 com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:148)
 at 
 org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:48)
 at 
 com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
 at 
 com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:219)
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Problem-with-2.0.6-tf3300246.html#a9188430
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]