Is this error happing in old code or newly created? Check the package name in the import of the file, there is a chance your IDE auto-imported class Date not from java.util but from java.sql package.
On Dec 31, 2:17 am, bond <[email protected]> wrote: > Hi, > with the last version of GWT (2.1.1); in the client when I'm using > this code: > Date date = new Date(); > date.setHours(13); > date.setMinutes(00); > > throw this exception: > > java.lang.IllegalArgumentException: null > at java.sql.Date.setHours(Unknown Source) > > I think that the problem is linked to the fact that now java.sql.Date > is implemented in Gwt. > How I can resolve the problem? > > Thanks very much > > Best regards -- 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.
