Hello fellow stripes users,

I've created a User object that has several fields, mostly Strings but also
a couple of Integer and Double fields.

I have created a NestedValidation annotation to check if the values are
valid.

However when validating, all the Integer or Double fields throw exceptions
of this sort:

.
.
.
16:26:29,171 DEBUG DefaultActionBeanPropertyBinder:183 - Converting 1
value(s) using converter
net.sourceforge.stripes.validation.StringTypeConverter
16:26:29,187 DEBUG DefaultActionBeanPropertyBinder:183 - Converting 1
value(s) using converter
net.sourceforge.stripes.validation.StringTypeConverter
16:26:29,250 ERROR DefaultTypeConverterFactory:78 - Unable to instantiate
type converter class net.sourceforge.stripes.validation.DoubleTypeConverter
java.lang.IllegalArgumentException
        at java.util.Currency.getInstance(Unknown Source)
        at
net.sourceforge.stripes.validation.NumberTypeConverterSupport.setLocale(NumberTypeConverterSupport.java:41)
        at
net.sourceforge.stripes.validation.DefaultTypeConverterFactory.getInstance(DefaultTypeConverterFactory.java:195)

.
.
.

I must do something fundamentally wrong because searching the net, I have
found nothing like this error.

Any help is much appreciated.

smox
-- 
View this message in context: 
http://www.nabble.com/Unable-to-instantiate-type-converter-class...-but-why--tp19725595p19725595.html
Sent from the stripes-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to