nikhilbchilwant / google-web-toolkit-incubator

Automatically exported from code.google.com/p/google-web-toolkit-incubator
1 stars 1 forks source link

RemoteLoggingService does not work on the AppEngine #307

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What version of gwt and gwt-incubator are you using? 14-july-2009

The following error occurs when logging an uncaught exception using the
RemoteLoggingService deployed on the AppEngine.

javax.servlet.ServletContext log: remoteLoggingService: An
IncompatibleRemoteServiceException was thrown while processing this call.
com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException:
java.lang.IllegalAccessException: Reflection is not allowed on private
java.lang.String java.lang.Throwable.detailMessage
    at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:298)
    at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceSer
vlet.java:164)
    at
com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.
java:86)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
    at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.jav
a:1093)
    at
com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter
.java:35)
    at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.jav
a:1084)
    at
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(Transactio
nCleanupFilter.java:43)
    at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.jav
a:1084)
    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
    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:712)
    at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
    at
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandle
rMap.java:237)
    at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
    at org.mortbay.jetty.Server.handle(Server.java:313)
    at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
    at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.ja
va:830)
    at
com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestPa
rser.java:76)
    at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
    at
com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(Jet
tyServletEngineAdapter.java:139)
    at
com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java:235)
    at
com.google.apphosting.base.RuntimePb$EvaluationRuntime$6.handleBlockingRequest(R
untimePb.java:4950)
    at
com.google.apphosting.base.RuntimePb$EvaluationRuntime$6.handleBlockingRequest(R
untimePb.java:4948)
    at
com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingApplica
tionHandler.java:24)
    at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:359)
    at com.google.net.rpc.impl.Server$2.run(Server.java:823)
    at
com.google.tracing.LocalTraceSpanRunnable.run(LocalTraceSpanRunnable.java:56)
    at
com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan(LocalTraceSpanBuil
der.java:516)
    at com.google.net.rpc.impl.Server.startRpc(Server.java:778)
    at com.google.net.rpc.impl.Server.processRequest(Server.java:351)
    at
com.google.net.rpc.impl.ServerConnection.messageReceived(ServerConnection.java:4
37)
    at com.google.net.rpc.impl.RpcConnection.parseMessages(RpcConnection.java:319)
    at com.google.net.rpc.impl.RpcConnection.dataReceived(RpcConnection.java:290)
    at com.google.net.async.Connection.handleReadEvent(Connection.java:428)
    at
com.google.net.async.EventDispatcher.processNetworkEvents(EventDispatcher.java:7
62)
    at com.google.net.async.EventDispatcher.internalLoop(EventDispatcher.java:207)
    at com.google.net.async.EventDispatcher.loop(EventDispatcher.java:101)
    at com.google.net.rpc.RpcService.runUntilServerShutdown(RpcService.java:251)
    at
com.google.apphosting.runtime.JavaRuntime$RpcRunnable.run(JavaRuntime.java:392)
    at java.lang.Thread.run(Unknown Source)
Caused by: com.google.gwt.user.client.rpc.SerializationException:
java.lang.IllegalAccessException: Reflection is not allowed on private
java.lang.String java.lang.Throwable.detailMessage
    at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserialize(
ServerSerializationStreamReader.java:521)
    at
com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader.readObject
(AbstractSerializationStreamReader.java:61)
    at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader$ValueReader$
8.readValue(ServerSerializationStreamReader.java:131)
    at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserializeV
alue(ServerSerializationStreamReader.java:372)
    at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:287)
    ... 43 more
Caused by: java.lang.IllegalAccessException: Reflection is not allowed on
private java.lang.String java.lang.Throwable.detailMessage
    at com.google.appengine.runtime.Request.process-2f365502736db9e9(Request.java)
    at java.lang.reflect.Field.set(Field.java:21)
    at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserializeC
lass(ServerSerializationStreamReader.java:585)
    at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserializeI
mpl(ServerSerializationStreamReader.java:608)
    at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserializeC
lass(ServerSerializationStreamReader.java:590)
    at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserializeI
mpl(ServerSerializationStreamReader.java:608)
    at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserialize(
ServerSerializationStreamReader.java:502)
    ... 47 more

Since many people use AppEngine together with GWT, I thought this might be
an issue. Is there a known workaround or do I have to implement my own
Servlet to make this work?

Original issue reported on code.google.com by captainc...@googlemail.com on 13 Sep 2009 at 12:51