hi all,

In the class GenericValidator, when you use an another locale than the
default you get a null pointer exception. i tried it with the german locale
settings. i fixed the bug in this lines:

              DateFormat formatter = null;
              if (locale != null){
==>              formatter = DateFormat.getDateInstance(DateFormat.SHORT,
locale);
              }else{
==>              formatter = DateFormat.getDateInstance(DateFormat.SHORT,
Locale.getDefault());
              }   
              formatter.setLenient(false);

can someone change it and check it into the cvs?


thanks & bye
juraj

Reply via email to