james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manuel Carrasco Moñino <man...@apache.org>
Subject Re: An exception
Date Sun, 15 Jul 2012 22:01:47 GMT
This error happens when you have not patched the ResolverServiceLayer.java
Check that the pached file is in your classpath before gwt jars.

- Manolo

On Sun, Jul 15, 2012 at 12:45 PM, echo <echowdx@gmail.com> wrote:

> But when I use back to my ArchLinux, everything is right. I don't know
> why, even the same Eclipse version and Hupa Evo source.
> The only difference is that it seems there are more Eclipse plugins
> installed in Arch than Win7.
>
> On Sun, Jul 15, 2012 at 3:38 AM, echo <echowdx@gmail.com> wrote:
>
>> Hi manolo,
>> I used a totally new WIN7 and eclipse to install the Hupa-Evo r42(r43),
>> and polished lots of code, but it always takes place something that:
>> So I have nothing to commit.
>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> 2012-7-15 3:27:36
>> com.google.web.bindery.requestfactory.server.ServiceLayerDecorator die
>> 严重: The domain type org.apache.hupa.shared.data.ImapFolderImpl cannot be
>> sent to the client
>> 2012-7-15 3:27:36
>> com.google.web.bindery.requestfactory.server.RequestFactoryServlet doPost
>> 严重: Unexpected error
>> com.google.web.bindery.requestfactory.server.UnexpectedException: The
>> domain type org.apache.hupa.shared.data.ImapFolderImpl cannot be sent to
>> the client
>> at
>> com.google.web.bindery.requestfactory.server.ServiceLayerDecorator.die(ServiceLayerDecorator.java:216)
>>  at
>> com.google.web.bindery.requestfactory.server.ResolverServiceLayer.resolveClientType(ResolverServiceLayer.java:91)
>> at
>> com.google.web.bindery.requestfactory.server.ServiceLayerDecorator.resolveClientType(ServiceLayerDecorator.java:142)
>>  at
>> com.google.web.bindery.requestfactory.server.ServiceLayerDecorator.resolveClientType(ServiceLayerDecorator.java:142)
>> at
>> com.google.web.bindery.requestfactory.server.ServiceLayerDecorator.resolveClientType(ServiceLayerDecorator.java:142)
>>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>> at java.lang.reflect.Method.invoke(Unknown Source)
>>  at
>> com.google.web.bindery.requestfactory.server.ServiceLayerCache.getOrCache(ServiceLayerCache.java:233)
>> at
>> com.google.web.bindery.requestfactory.server.ServiceLayerCache.resolveClientType(ServiceLayerCache.java:163)
>>  at
>> com.google.web.bindery.requestfactory.server.Resolver.resolveClientValue(Resolver.java:586)
>> at
>> com.google.web.bindery.requestfactory.server.Resolver.resolveClientValue(Resolver.java:618)
>>  at
>> com.google.web.bindery.requestfactory.server.Resolver.resolveClientValue(Resolver.java:383)
>> at
>> com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.processInvocationMessages(SimpleRequestProcessor.java:483)
>>  at
>> com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.process(SimpleRequestProcessor.java:225)
>> at
>> com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.process(SimpleRequestProcessor.java:127)
>>  at
>> com.google.web.bindery.requestfactory.server.RequestFactoryServlet.doPost(RequestFactoryServlet.java:133)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>> at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
>>  at
>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097)
>> at
>> com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:66)
>>  at
>> com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)
>> at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)
>>  at
>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
>> 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: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.content(HttpConnection.java:843)
>>  at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
>> 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 - POST /gwtRequest (127.0.0.1) 1420 bytes
>>    Request headers
>>       Host: 127.0.0.1:8888
>>       Connection: keep-alive
>>       User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.11
>> (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11
>>       Accept: */*
>>       Referer: http://127.0.0.1:8888/Hupa.html?gwt.codesvr=127.0.0.1:9997
>>       Accept-Encoding: gzip,deflate,sdch
>>       Accept-Language: en-US,en;q=0.8,zh-CN;q=0.6,zh;q=0.4
>>       Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
>>       Content-Length: 95
>>       Origin: http://127.0.0.1:8888
>>       Content-Type: application/json; charset=UTF-8
>>       X-GWT-Permutation: HostedMode
>>       Cookie: JSESSIONID=168yd4icojdcf
>>       pageurl:
>> http://127.0.0.1:8888/Hupa.html?gwt.codesvr=127.0.0.1:9997#folder:
>>    Response headers
>>       Content-Type: text/html; charset=iso-8859-1
>>       Content-Length: 1420
>> Sun Jul 15 03:27:36 CST 2012 WireActivityLogger
>> SEVERE: Server Error 500 <html>
>> <head>
>> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
>> <title>Error 500 INTERNAL_SERVER_ERROR</title>
>> </head>
>> <body><h2>HTTP ERROR: 500</h2><pre>INTERNAL_SERVER_ERROR</pre>
>> <p>RequestURI=/gwtRequest</p><p><i><small><a href="
>> http://jetty.mortbay.org/">Powered by Jetty://</a></small></i></p><br/>
>>
>> <br/>
>> <br/>
>> <br/>
>> <br/>
>> <br/>
>> <br/>
>> <br/>
>> <br/>
>> <br/>
>> <br/>
>> <br/>
>> <br/>
>> <br/>
>> <br/>
>> <br/>
>> <br/>
>> <br/>
>> <br/>
>> <br/>
>>
>> </body>
>> </html>
>>
>> com.google.web.bindery.event.shared.UmbrellaException: One or more
>> exceptions caught, see full set in UmbrellaException#getCauses
>> at
>> com.google.web.bindery.requestfactory.shared.impl.AbstractRequestContext.fail(AbstractRequestContext.java:727)
>>  at
>> com.google.web.bindery.requestfactory.shared.impl.AbstractRequestContext$5.onTransportFailure(AbstractRequestContext.java:1104)
>> at
>> com.google.web.bindery.requestfactory.gwt.client.DefaultRequestTransport$1.onResponseReceived(DefaultRequestTransport.java:140)
>>  at
>> com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:287)
>> at
>> com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:395)
>>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>> at java.lang.reflect.Method.invoke(Unknown Source)
>>  at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
>> at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
>>  at
>> com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
>> at
>> com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:337)
>>  at
>> com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:218)
>> at
>> com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
>>  at
>> com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)
>> at
>> com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)
>>  at
>> com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
>> at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
>>  at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:213)
>> at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
>>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>> at java.lang.reflect.Method.invoke(Unknown Source)
>>  at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
>> at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
>>  at
>> com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
>> at
>> com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:292)
>>  at
>> com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:546)
>> at
>> com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
>>  at java.lang.Thread.run(Unknown Source)
>> Caused by: java.lang.RuntimeException: Server Error 500 <html>
>> <head>
>> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
>> <title>Error 500 INTERNAL_SERVER_ERROR</title>
>> </head>
>> <body><h2>HTTP ERROR: 500</h2><pre>INTERNAL_SERVER_ERROR</pre>
>> <p>RequestURI=/gwtRequest</p><p><i><small><a href="
>> http://jetty.mortbay.org/">Powered by Jetty://</a></small></i></p><br/>
>>
>> <br/>
>> <br/>
>> <br/>
>> <br/>
>> <br/>
>> <br/>
>> <br/>
>> <br/>
>> <br/>
>> <br/>
>> <br/>
>> <br/>
>> <br/>
>> <br/>
>> <br/>
>> <br/>
>> <br/>
>> <br/>
>> <br/>
>>
>> </body>
>> </html>
>>
>> at
>> com.google.web.bindery.requestfactory.shared.Receiver.onFailure(Receiver.java:44)
>>  at
>> com.google.web.bindery.requestfactory.shared.impl.AbstractRequest.onFail(AbstractRequest.java:118)
>> at
>> com.google.web.bindery.requestfactory.shared.impl.AbstractRequestContext.fail(AbstractRequestContext.java:707)
>>  ... 29 more
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> --
>> *echo*
>>
>
>
>
> --
> *echo*
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message