As of Locale settings the only thing I've is this init in my StripesFilter:

<init-param>
     <param-name>LocalePicker.Locales</param-name>
     <param-value>da_DA:UTF-8</param-value>
</init-param>

I would think it would then use this locale if I understood the
TypeConverter(s) correct?
Maybe da_DA (Danish) is not supported?


Tim Fennell-3 wrote:
> 
> I wonder could it be anything to do with your Locale settings?  It  
> seems like Currency.getInstance() is exploding deep within the  
> NumberTypeConverterSupport class.  That's a pretty innocuous call and  
> a bogus locale is the only thing I can think of that might cause  
> that....
> 
> -t
> 
> On Sep 30, 2008, at 2:29 AM, smox wrote:
> 
>>
>> 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
>> Stripes-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/stripes-users
> 
> 
> -------------------------------------------------------------------------
> 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
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Unable-to-instantiate-type-converter-class...-but-why--tp19725595p19741710.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
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to