> Just copied and tested above code in 2.1.1 and works fine in > development mode.
This is what I said earlier: the example also works for me in GWT 2.1.1... > Looking at the exception, you are using the setHours() method in the > sql Date object... But if I replace java.util.Date with java.sql.Date the example would not compile because java.sql.Date does not have a default constructor... http://download.oracle.com/javase/6/docs/api/java/sql/Date.html A mystery... Initially I thought it might be that setHours() was being passed an Integer instead of an int and the Integer was null, but the call was explicit setHours(13)... What if you call date.setHours(12) or date.setHours(11)? Also, check your project settings, may be your project is referring to both GWT 2.1.1 and 2.0 at the same time, which may cause some side effects. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
