Metamer: rich:dataGridd - keepSaved sample throws exception
-----------------------------------------------------------
Key: RFPL-1724
URL:
https://issues.jboss.org/browse/RFPL-1724
Project: RichFaces Planning
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.1.0.Milestone3
Environment: RichFaces 4.1.0-SNAPSHOT r.
Metamer 4.1.0-SNAPSHOT r.22792
Mojarra 2.0.4-b09-jbossorg-4
JBoss Web 7.0.0.CR4
Java(TM) SE Runtime Environment 1.6.0_25-b06 @ Linux
Firefox 6.0 @ Linux x86_64
Reporter: Jan Papousek
When the form on
http://localhost:8080/metamer/faces/components/richDataGrid/keepSaved.xhtml is submitted,
tha page throws following exception:
{code}
javax.servlet.ServletException: Unexpected exception during isValid call
javax.faces.webapp.FacesServlet.service(FacesServlet.java:325)
org.richfaces.tests.metamer.TestIdentityFilter.doFilter(TestIdentityFilter.java:93)
org.richfaces.webapp.PushFilter.doFilter(PushFilter.java:130)
root cause
javax.validation.ValidationException: Unexpected exception during isValid call
org.hibernate.validator.engine.ConstraintTree.validateSingleConstraint(ConstraintTree.java:156)
org.hibernate.validator.engine.ConstraintTree.validateConstraints(ConstraintTree.java:140)
org.hibernate.validator.metadata.MetaConstraint.validateConstraint(MetaConstraint.java:121)
org.hibernate.validator.engine.ValidatorImpl.validateValueForGroup(ValidatorImpl.java:648)
org.hibernate.validator.engine.ValidatorImpl.validateValue(ValidatorImpl.java:584)
org.hibernate.validator.engine.ValidatorImpl.validateValue(ValidatorImpl.java:146)
javax.faces.validator.BeanValidator.validate(BeanValidator.java:306)
javax.faces.component.UIInput.validateValue(UIInput.java:1147)
javax.faces.component.UIInput.validate(UIInput.java:965)
javax.faces.component.UIInput.executeValidate(UIInput.java:1209)
javax.faces.component.UIInput.processValidators(UIInput.java:698)
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1085)
org.richfaces.component.UIDataAdaptor$3.processComponent(UIDataAdaptor.java:123)
org.richfaces.component.UIDataAdaptor$ComponentVisitor.process(UIDataAdaptor.java:1426)
org.ajax4jsf.model.SequenceDataModel.walk(SequenceDataModel.java:65)
org.richfaces.component.UIDataAdaptor.walk(UIDataAdaptor.java:810)
org.richfaces.component.UIDataAdaptor.iterate(UIDataAdaptor.java:784)
org.richfaces.component.UIDataAdaptor.processValidatesChildren(UIDataAdaptor.java:864)
org.richfaces.component.UIDataAdaptor.processValidators(UIDataAdaptor.java:836)
javax.faces.component.UIForm.processValidators(UIForm.java:244)
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1085)
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1085)
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1085)
javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1165)
com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:76)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
org.richfaces.tests.metamer.TestIdentityFilter.doFilter(TestIdentityFilter.java:93)
org.richfaces.webapp.PushFilter.doFilter(PushFilter.java:130)
root cause
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Number
org.hibernate.validator.constraints.impl.MaxValidatorForNumber.isValid(MaxValidatorForNumber.java:33)
org.hibernate.validator.engine.ConstraintTree.validateSingleConstraint(ConstraintTree.java:153)
org.hibernate.validator.engine.ConstraintTree.validateConstraints(ConstraintTree.java:140)
org.hibernate.validator.metadata.MetaConstraint.validateConstraint(MetaConstraint.java:121)
org.hibernate.validator.engine.ValidatorImpl.validateValueForGroup(ValidatorImpl.java:648)
org.hibernate.validator.engine.ValidatorImpl.validateValue(ValidatorImpl.java:584)
org.hibernate.validator.engine.ValidatorImpl.validateValue(ValidatorImpl.java:146)
javax.faces.validator.BeanValidator.validate(BeanValidator.java:306)
javax.faces.component.UIInput.validateValue(UIInput.java:1147)
javax.faces.component.UIInput.validate(UIInput.java:965)
javax.faces.component.UIInput.executeValidate(UIInput.java:1209)
javax.faces.component.UIInput.processValidators(UIInput.java:698)
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1085)
org.richfaces.component.UIDataAdaptor$3.processComponent(UIDataAdaptor.java:123)
org.richfaces.component.UIDataAdaptor$ComponentVisitor.process(UIDataAdaptor.java:1426)
org.ajax4jsf.model.SequenceDataModel.walk(SequenceDataModel.java:65)
org.richfaces.component.UIDataAdaptor.walk(UIDataAdaptor.java:810)
org.richfaces.component.UIDataAdaptor.iterate(UIDataAdaptor.java:784)
org.richfaces.component.UIDataAdaptor.processValidatesChildren(UIDataAdaptor.java:864)
org.richfaces.component.UIDataAdaptor.processValidators(UIDataAdaptor.java:836)
javax.faces.component.UIForm.processValidators(UIForm.java:244)
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1085)
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1085)
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1085)
javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1165)
com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:76)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
org.richfaces.tests.metamer.TestIdentityFilter.doFilter(TestIdentityFilter.java:93)
org.richfaces.webapp.PushFilter.doFilter(PushFilter.java:130)
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira