Exception in Servlet.service()

6 views
Skip to first unread message

amanci...@gmail.com

unread,
May 30, 2006, 5:33:33 AM5/30/06
to Google Web Toolkit
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)
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?

perx76

unread,
May 30, 2006, 10:28:19 AM5/30/06
to Google Web Toolkit
I suffer from this problem too... java.util.Date.parse() makes me think
some wrong date assumption.

Tiago Serafim

unread,
May 30, 2006, 10:33:50 AM5/30/06
to Google-We...@googlegroups.com
Check this workaround... worked like a charm here...

http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/a58fa77f81415192/98b7f033cab29fd5?lnk=st&q=Win+XP+Firefox+HostedMode&rnum=1#98b7f033cab29fd5


On 5/30/06, perx76 <enrico....@gmail.com> wrote:

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
Reply all
Reply to author
Forward
0 new messages