Set value for bean's property

Hi,
I have a variable “value” in the form and its type is “TEXT”. When I tried setting this value to a bean property by calling elements.bean1.setValue(value) I got error like “java.lang.String”. What does that mean? The method in the bean is setValue(String). I want to pass a string. I’m wondering why it’s failed.
Anybody have this problem before?

Thanks,

Can you show the surrounding text of that error message?

Are you sure you really enter a text value?