I have installed gwt-linux-1.0.20.tar.gz and gwt-linux-1.0.21.tar.gz in
two linux boxes, and, when proving the KitchenSink application, I got
the following error (other applications too)
[WARN] StandardWrapperValve[shell]: Servlet.service() for servlet shell
threw exception
java.lang.IllegalArgumentException: null
at java.util.Date.parse(Date.java:595)
at
com.google.gwt.dev.shell.GWTShellServlet.isNotModified(GWTShellServlet.java:456)
at
com.google.gwt.dev.shell.GWTShellServlet.doGetPublicFile(GWTShellServlet.java:363)
at
com.google.gwt.dev.shell.GWTShellServlet.processFileRequest(GWTShellServlet.java:221)
at
com.google.gwt.dev.shell.GWTShellServlet.doGet(GWTShellServlet.java:238)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at
com.google.gwt.dev.shell.GWTShellServlet.service(GWTShellServlet.java:67)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
After making several test, it seems a locale problem, if we set the
locales to POSIX, it works correctly. If we set the locales to
es_ES@euro it fails without an apparent pattern. Símplemente when
pressing to refresh the navigator in the KitchenSink application we
ended up obtaining a HTTP Status 500.
Locales that works
LANG=es_ES@euro
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=POSIX
Locales that fails:
LANG=es_ES@euro
LC_CTYPE="es_ES@euro"
LC_NUMERIC="es_ES@euro"
LC_TIME="es_ES@euro"
LC_COLLATE="es_ES@euro"
LC_MONETARY="es_ES@euro"
LC_MESSAGES="es_ES@euro"
LC_PAPER="es_ES@euro"
LC_NAME="es_ES@euro"
LC_ADDRESS="es_ES@euro"
LC_TELEPHONE="es_ES@euro"
LC_MEASUREMENT="es_ES@euro"
LC_IDENTIFICATION="es_ES@euro"
LC_ALL=
I cannot change the locales in the machine. Is there other workaround?
I suffer from this problem too... java.util.Date.parse() makes me think
some wrong date assumption.
amanci...@gmail.com wrote:
> Hello,
>
> I have installed gwt-linux-1.0.20.tar.gz and gwt-linux-1.0.21.tar.gz in
> two linux boxes, and, when proving the KitchenSink application, I got
> the following error (other applications too)
>
> [WARN] StandardWrapperValve[shell]: Servlet.service() for servlet shell
> threw exception
> java.lang.IllegalArgumentException: null
> at java.util.Date.parse(Date.java:595)
> at
> com.google.gwt.dev.shell.GWTShellServlet.isNotModified (GWTShellServlet.java:456)
> at
> com.google.gwt.dev.shell.GWTShellServlet.doGetPublicFile(GWTShellServlet.java:363)
> at
> com.google.gwt.dev.shell.GWTShellServlet.processFileRequest(GWTShellServlet.java :221)
> at
> com.google.gwt.dev.shell.GWTShellServlet.doGet(GWTShellServlet.java:238)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> at
> com.google.gwt.dev.shell.GWTShellServlet.service (GWTShellServlet.java:67)
--
Tiago Serafim