Hi,
I run Gwt application from Eclipse using Gwt Eclipse plugin. In
console apears exception log like one below. I'm not sure what should
I change in my project configuration to get rid of this problem. My
project's output directory is <project>/war/classes. there is a file
<project>/war/com.test.TestOffer/
C43A8DC1E50D698B543BF589D0244ECC.cache.png and files <project>.gwt-tmp/
com.test.TestOffer/shell/<number>/gen/
C43A8DC1E50D698B543BF589D0244ECC.cache.png.

I've looked into Gwt code looking for cause. It seems that
servletContext attribute named "com.google.gwt.dev.shell.workdirs"
wasn't set, but GWTShellServlet tries to use it. After looking for
places where this attribute may be set, I think that it's properly set
only in case of EmbeddedTomcatServer (line 414 in revision 6889). But
stacktrace says I use Jetty as a servlet container.

At this point I don't know what to do to solve this problem.

Could somebody give me advice what am I doing wrong?

Thanks in advance!
Marek.


Fragment from console log:

[WARN] /com.test.TestOffer/C43A8DC1E50D698B543BF589D0244ECC.cache.png
java.lang.NullPointerException
        at
com.google.gwt.dev.shell.GWTShellServlet.doGetPublicFile(GWTShellServlet.java:
438)
        at
com.google.gwt.dev.shell.GWTShellServlet.processFileRequest(GWTShellServlet.java:
184)
        at
com.google.gwt.dev.shell.GWTShellServlet.doGet(GWTShellServlet.java:
132)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
        at
com.google.gwt.dev.shell.GWTShellServlet.service(GWTShellServlet.java:
292)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
487)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
362)
        at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
216)
        at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
181)
        at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
729)
        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
405)
        at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152)
        at
org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:
49)
        at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152)
        at org.mortbay.jetty.Server.handle(Server.java:324)
        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
505)
        at org.mortbay.jetty.HttpConnection
$RequestHandler.headerComplete(HttpConnection.java:829)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
        at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:
395)
        at org.mortbay.thread.QueuedThreadPool
$PoolThread.run(QueuedThreadPool.java:488)
[ERROR] 500 - GET /com.test.TestOffer/
C43A8DC1E50D698B543BF589D0244ECC.cache.png (127.0.0.1) 3322 bytes
   Request headers
      Host: 127.0.0.1:8888
      User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; pl; rv:
1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)
      Accept: image/png,image/*;q=0.8,*/*;q=0.5
      Accept-Language: pl,en-us;q=0.7,en;q=0.3
      Accept-Encoding: gzip,deflate
      Accept-Charset: ISO-8859-2,utf-8;q=0.7,*;q=0.7
      Keep-Alive: 115
      Connection: keep-alive
      Referer: 
http://127.0.0.1:8888/com.test.TestOffer/TestOffer.html?gwt.codesvr=127.0.0.1:9997
      Cookie: [...]
   Response headers
      Content-Type: text/html; charset=iso-8859-1
      Content-Length: 3322

-- 
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.

Reply via email to