myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan-Kees van Andel (JIRA)" <>
Subject [jira] Commented: (MYFACES-2827) CCE if component values are not of type String
Date Mon, 19 Jul 2010 12:01:54 GMT


Jan-Kees van Andel commented on MYFACES-2827:

I can't imagine the String assumption being wrong, so can you please add some info regarding
how you got that Long into your component?

- Are you in a JEE6 container (with the new Unified EL)?
- Are you using bean validation inside a composite component?
- Do you have some code to show what you're doing?

> CCE if component values are not of type String
> ----------------------------------------------
>                 Key: MYFACES-2827
>                 URL:
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.0.1
>            Reporter: Mark Struberg
> Somehow I did get a Long into my component. This leads to the following Exception:
> java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String
> 	at javax.faces.validator.BeanValidator.validate(
> 	at javax.faces.component._ComponentUtils.callValidators(
> 	at javax.faces.component.UIInput.validateValue(
> 	at javax.faces.component.UIInput.validate(
> 	at javax.faces.component.UIInput.processValidators(
> 	at javax.faces.component.UIData.process(

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message