Discussion:
[errai-users] First look at errai - some issues
Matt (Errai)
2010-03-10 08:38:18 UTC
Permalink
Hello,

I've been checking out Errai and trying out the Store sample
application, and built a simple app myself. This has been to evaluate
the use of Errai in an inhous app. Since that app would mostly be used
by users that have IE7 installed, i did try it in IE7. I encountered
two problems, the first one both in my own app & the sample, and the
second one only in the sample:

1.) The module's icons display correctly in FF, but IE7 instead
displays the whole underlying image generated by GWT from the
ClientBundle that contains all the icons, crammed into the small space
where a single icon should be.

2.) When starting up the sample application in IE7, i get the
following exception:

com.google.gwt.user.client.ui.AttachDetachException: One or more
exceptions caught, see full set in AttachDetachException#getCauses
com.google.gwt.user.client.ui.AttachDetachException.tryCommand(AttachDetachException.java:85)
org.gwtmosaic.ui.client.layout.LayoutPanel.doAttachChildren(LayoutPanel.java:366)
com.google.gwt.user.client.ui.Widget.onAttach(Widget.java:289)
com.google.gwt.user.client.ui.Widget.setParent(Widget.java:417)
com.google.gwt.user.client.ui.Panel.adopt(Panel.java:119)
com.google.gwt.user.client.ui.ComplexPanel.insert(ComplexPanel.java:205)
org.gwtmosaic.ui.client.layout.LayoutPanel.insert(LayoutPanel.java:308)
org.gwtmosaic.ui.client.layout.LayoutPanel.insert(LayoutPanel.java:327)
org.gwtmosaic.ui.client.DeckLayoutPanel.insert(DeckLayoutPanel.java:127)
org.gwtmosaic.ui.client.TabLayoutPanel.insert(TabLayoutPanel.java:357)
org.gwtmosaic.ui.client.TabLayoutPanel.add(TabLayoutPanel.java:211)
org.jboss.errai.workspaces.client.Workspace.showToolSet(Workspace.java:208)
org.jboss.errai.workspaces.client.Workspace$1.callback(Workspace.java:80)
org.jboss.errai.bus.client.framework.ClientMessageBusImpl$1.callback(ClientMessageBusImpl.java:134)
sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java:1713)
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:165)
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:120)
com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:507)
com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:284)
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107)
org.jboss.errai.bus.client.framework.ClientMessageBusImpl._store(ClientMessageBusImpl.java)
org.jboss.errai.bus.client.framework.ClientMessageBusImpl.send(ClientMessageBusImpl.java:256)
org.jboss.errai.bus.client.api.base.JSONMessage.sendNowWith(JSONMessage.java:443)
org.jboss.errai.bus.client.api.builder.AbstractMessageBuilder$1.sendNowWith(AbstractMessageBuilder.java:41)
org.jboss.errai.workspaces.client.Application$2.execute(Application.java:210)
com.google.gwt.user.client.CommandExecutor.doExecuteCommands(CommandExecutor.java:310)
com.google.gwt.user.client.CommandExecutor$2.run(CommandExecutor.java:205)
com.google.gwt.user.client.Timer.fire(Timer.java:141)
sun.reflect.GeneratedMethodAccessor67.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java:1713)
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:165)
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:120)
com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:507)
com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:264)
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
com.google.gwt.core.client.impl.Impl.apply(Impl.java)
com.google.gwt.core.client.impl.Impl.entry0(Impl.java:188)
sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
com.google.gwt.dev.shell.BrowserChannel.reactToMessages(BrowserChannel.java:1668)
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:401)
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:222)
java.lang.Thread.run(Thread.java:619)

Am I missing something, or are these some rough edges in the first version?

Thanks,
Matt
Matt (Errai)
2010-03-11 11:59:52 UTC
Permalink
---------- Forwarded message ----------
From: Matt (Errai) <errai.matt at gmail.com>
Date: 2010/3/10
Subject: First look at errai - some issues
To: errai-users at lists.jboss.org


Hello,

I've been checking out Errai and trying out the Store sample
application, and built a simple app myself. This has been to evaluate
the use of Errai in an inhous app. Since that app would mostly be used
by users that have IE7 installed, i did try it in IE7. I encountered
two problems, the first one both in my own app & the sample, and the
second one only in the sample:

1.) The module's icons display correctly in FF, but IE7 instead
displays the whole underlying image generated by GWT from the
ClientBundle that contains all the icons, crammed into the small space
where a single icon should be.

2.) When starting up the sample application in IE7, i get the
following exception:

com.google.gwt.user.client.ui.AttachDetachException: One or more
exceptions caught, see full set in AttachDetachException#getCauses
com.google.gwt.user.client.ui.AttachDetachException.tryCommand(AttachDetachException.java:85)
org.gwtmosaic.ui.client.layout.LayoutPanel.doAttachChildren(LayoutPanel.java:366)
com.google.gwt.user.client.ui.Widget.onAttach(Widget.java:289)
com.google.gwt.user.client.ui.Widget.setParent(Widget.java:417)
com.google.gwt.user.client.ui.Panel.adopt(Panel.java:119)
com.google.gwt.user.client.ui.ComplexPanel.insert(ComplexPanel.java:205)
org.gwtmosaic.ui.client.layout.LayoutPanel.insert(LayoutPanel.java:308)
org.gwtmosaic.ui.client.layout.LayoutPanel.insert(LayoutPanel.java:327)
org.gwtmosaic.ui.client.DeckLayoutPanel.insert(DeckLayoutPanel.java:127)
org.gwtmosaic.ui.client.TabLayoutPanel.insert(TabLayoutPanel.java:357)
org.gwtmosaic.ui.client.TabLayoutPanel.add(TabLayoutPanel.java:211)
org.jboss.errai.workspaces.client.Workspace.showToolSet(Workspace.java:208)
org.jboss.errai.workspaces.client.Workspace$1.callback(Workspace.java:80)
org.jboss.errai.bus.client.framework.ClientMessageBusImpl$1.callback(ClientMessageBusImpl.java:134)
sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java:1713)
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:165)
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:120)
com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:507)
com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:284)
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107)
org.jboss.errai.bus.client.framework.ClientMessageBusImpl._store(ClientMessageBusImpl.java)
org.jboss.errai.bus.client.framework.ClientMessageBusImpl.send(ClientMessageBusImpl.java:256)
org.jboss.errai.bus.client.api.base.JSONMessage.sendNowWith(JSONMessage.java:443)
org.jboss.errai.bus.client.api.builder.AbstractMessageBuilder$1.sendNowWith(AbstractMessageBuilder.java:41)
org.jboss.errai.workspaces.client.Application$2.execute(Application.java:210)
com.google.gwt.user.client.CommandExecutor.doExecuteCommands(CommandExecutor.java:310)
com.google.gwt.user.client.CommandExecutor$2.run(CommandExecutor.java:205)
com.google.gwt.user.client.Timer.fire(Timer.java:141)
sun.reflect.GeneratedMethodAccessor67.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java:1713)
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:165)
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:120)
com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:507)
com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:264)
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
com.google.gwt.core.client.impl.Impl.apply(Impl.java)
com.google.gwt.core.client.impl.Impl.entry0(Impl.java:188)
sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
com.google.gwt.dev.shell.BrowserChannel.reactToMessages(BrowserChannel.java:1668)
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:401)
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:222)
?java.lang.Thread.run(Thread.java:619)

Am I missing something, or are these some rough edges in the first version?

Thanks,
Matt

Loading...