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: Succeed fetching messages, yet a quirk occurred
Date Tue, 24 Jul 2012 08:52:59 GMT
The app does not work here, I'm able to login but whenever the server uses
imap it gets an authentication error. I suppose it is because the code is
not stable yet.

The error you get in FetchMessagesAction is weird, it seems you have to
call edit before changing the object:
Unfrozen bean with null RequestContext

On Mon, Jul 23, 2012 at 5:52 AM, echo <echowdx@gmail.com> wrote:

> Hi Manolo,
> I've updated the repository[r53], we can fetch messages by clicking the
> Refresh button after logging in the system.
> However, there is a very strange issue that:
> in [org.apache.hupa.client.ui.MessageTableModel], if I change the order of
> creating FetchMessagesAction(e.g., line 122<->123), a.k.a., put the
> [action.setFolder(folder)] to the first place, console will complain as[1].
> Have you ever encounter the issue?
>
> Thanks.
>
> [1]>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> com.google.gwt.event.shared.UmbrellaException: One or more exceptions
> caught, see full set in UmbrellaException#getCauses
> at
> com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:129)
>  at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:129)
> at
> com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java:116)
>  at com.google.gwt.user.client.ui.Widget.onBrowserEvent(Widget.java:177)
> at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1351)
>  at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1307)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>  at java.lang.reflect.Method.invoke(Method.java:597)
> 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.GeneratedMethodAccessor36.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>  at java.lang.reflect.Method.invoke(Method.java:597)
> 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(Thread.java:662)
> Caused by: java.lang.AssertionError: Unfrozen bean with null RequestContext
> at
> com.google.web.bindery.requestfactory.shared.impl.AbstractRequestContext.checkStreamsNotCrossed(AbstractRequestContext.java:981)
>  at
> com.google.web.bindery.requestfactory.shared.impl.AbstractRequestContext.editProxy(AbstractRequestContext.java:509)
> at
> com.google.web.bindery.requestfactory.shared.impl.BaseProxyCategory.__intercept(BaseProxyCategory.java:54)
>  at
> org.apache.hupa.shared.domain.FetchMessagesActionAutoBean_com_google_web_bindery_requestfactory_shared_impl_EntityProxyCategory_com_google_web_bindery_requestfactory_shared_impl_ValueProxyCategory_com_google_web_bindery_requestfactory_shared_impl_BaseProxyCategory$1.getFolder(FetchMessagesActionAutoBean_com_google_web_bindery_requestfactory_shared_impl_EntityProxyCategory_com_google_web_bindery_requestfactory_shared_impl_ValueProxyCategory_com_google_web_bindery_requestfactory_shared_impl_BaseProxyCategory.java:29)
>  at
> org.apache.hupa.shared.domain.FetchMessagesActionAutoBean_com_google_web_bindery_requestfactory_shared_impl_EntityProxyCategory_com_google_web_bindery_requestfactory_shared_impl_ValueProxyCategory_com_google_web_bindery_requestfactory_shared_impl_BaseProxyCategory.traverseProperties(FetchMessagesActionAutoBean_com_google_web_bindery_requestfactory_shared_impl_EntityProxyCategory_com_google_web_bindery_requestfactory_shared_impl_ValueProxyCategory_com_google_web_bindery_requestfactory_shared_impl_BaseProxyCategory.java:134)
>  at
> com.google.web.bindery.autobean.shared.impl.AbstractAutoBean.traverse(AbstractAutoBean.java:166)
> at
> com.google.web.bindery.autobean.shared.impl.AbstractAutoBean.accept(AbstractAutoBean.java:101)
>  at
> com.google.web.bindery.autobean.shared.impl.AutoBeanCodexImpl.doCoderFor(AutoBeanCodexImpl.java:521)
> at
> com.google.web.bindery.autobean.shared.impl.AbstractAutoBean.setProperty(AbstractAutoBean.java:276)
>  at
> org.apache.hupa.shared.domain.FetchMessagesActionAutoBean_com_google_web_bindery_requestfactory_shared_impl_EntityProxyCategory_com_google_web_bindery_requestfactory_shared_impl_ValueProxyCategory_com_google_web_bindery_requestfactory_shared_impl_BaseProxyCategory.access$8(FetchMessagesActionAutoBean_com_google_web_bindery_requestfactory_shared_impl_EntityProxyCategory_com_google_web_bindery_requestfactory_shared_impl_ValueProxyCategory_com_google_web_bindery_requestfactory_shared_impl_BaseProxyCategory.java:1)
>  at
> org.apache.hupa.shared.domain.FetchMessagesActionAutoBean_com_google_web_bindery_requestfactory_shared_impl_EntityProxyCategory_com_google_web_bindery_requestfactory_shared_impl_ValueProxyCategory_com_google_web_bindery_requestfactory_shared_impl_BaseProxyCategory$2.setFolder(FetchMessagesActionAutoBean_com_google_web_bindery_requestfactory_shared_impl_EntityProxyCategory_com_google_web_bindery_requestfactory_shared_impl_ValueProxyCategory_com_google_web_bindery_requestfactory_shared_impl_BaseProxyCategory.java:83)
>  at
> org.apache.hupa.shared.domain.FetchMessagesActionAutoBean_com_google_web_bindery_requestfactory_shared_impl_EntityProxyCategory_com_google_web_bindery_requestfactory_shared_impl_ValueProxyCategory_com_google_web_bindery_requestfactory_shared_impl_BaseProxyCategory$1.setFolder(FetchMessagesActionAutoBean_com_google_web_bindery_requestfactory_shared_impl_EntityProxyCategory_com_google_web_bindery_requestfactory_shared_impl_ValueProxyCategory_com_google_web_bindery_requestfactory_shared_impl_BaseProxyCategory.java:33)
>  at
> org.apache.hupa.client.ui.MessageTableModel.requestRows(MessageTableModel.java:120)
> at
> com.google.gwt.gen2.table.client.CachedTableModel.requestRows(CachedTableModel.java:321)
>  at
> com.google.gwt.gen2.table.client.PagingScrollTable.gotoPage(PagingScrollTable.java:732)
> at
> com.google.gwt.gen2.table.client.PagingScrollTable.reloadPage(PagingScrollTable.java:815)
>  at
> org.apache.hupa.client.ui.IMAPMessageListView.reloadData(IMAPMessageListView.java:466)
> at
> org.apache.hupa.client.activity.IMAPMessageListActivity$16.onClick(IMAPMessageListActivity.java:259)
>  at
> com.google.gwt.event.dom.client.ClickEvent.dispatch(ClickEvent.java:54)
> at com.google.gwt.event.dom.client.ClickEvent.dispatch(ClickEvent.java:1)
>  at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:1)
> at
> com.google.web.bindery.event.shared.EventBus.dispatchEvent(EventBus.java:40)
>  at
> com.google.web.bindery.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:193)
> at
> com.google.web.bindery.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:88)
>  at
> com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:127)
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>
> --
> *echo*
>

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