Thursday, January 30, 2014

Re: Stumped: java.lang.AssertionError: No ImageRect ever computed for cellTableFooterBackground

Did u figure this one out?

On Friday, December 2, 2011 4:47:28 PM UTC-5, laredotornado wrote:
Hi,

I'm building a Maven-GWT project using Maven 3.0.3 and GWT 2.4.  I
have included these dependencies in my pom.xml file,

                <dependency>
                        <groupId>com.google.gwt</groupId>
                        <artifactId>gwt-servlet</artifactId>
                        <version>${gwtVersion}</version>
                </dependency>
                <dependency>
                        <groupId>com.google.gwt</groupId>
                        <artifactId>gwt-user</artifactId>
                        <version>${gwtVersion}</version>
                </dependency>

but when I run my GWTTestCases, I get the following errors.
Specifically, the test dies at this line ...

        final CellTable<Node> tableWidget = new
CellTable<Node>(KEY_PROVIDER);

Does anyone know what these are all about?  What additional steps can
I take to troubleshoot this problem?

Thanks, - Dave

Running
com.myco.clearing.product.client.xmltohtml.XmlToHtmlServiceTest
        logging for HtmlUnit thread
           [WARN] Expected content type of 'application/javascript' or
'application/ecmascript' for remotely loaded JavaScript element at
'http://10.128.121.174:36346/
com.myco.clearing.product.ProductPlusJUnit.JUnit/
com.myco.clearing.product.ProductPlusJUnit.JUnit.nocache.js', but got
'application/x-javascript'.
        Rebinding com.google.gwt.user.cellview.client.CellTable.Resources
           Invoking generator
com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
              [ERROR] Generator
'com.google.gwt.resources.rebind.context.InlineClientBundleGenerator'
failed an assertion while rebinding
'com.google.gwt.user.cellview.client.CellTable.Resources'
        java.lang.AssertionError: No ImageRect ever computed for
cellTableFooterBackground
                at
com.google.gwt.resources.rg.ImageResourceGenerator.createAssignment(ImageResourceGenerator.java:
474)
                at
com.google.gwt.resources.rebind.context.AbstractClientBundleGenerator.createFieldsAndAssignments(AbstractClientBundleGenerator.java:
785)
                at
com.google.gwt.resources.rebind.context.AbstractClientBundleGenerator.createFieldsAndAssignments(AbstractClientBundleGenerator.java:
854)
                at
com.google.gwt.resources.rebind.context.AbstractClientBundleGenerator.generateIncrementally(AbstractClientBundleGenerator.java:
460)
                at
com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:
647)
                at
com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:
41)
                at com.google.gwt.dev.shell.StandardRebindOracle
$Rebinder.rebind(StandardRebindOracle.java:78)
                at
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:
268)
                at
com.google.gwt.dev.shell.ShellModuleSpaceHost.rebind(ShellModuleSpaceHost.java:
141)
                at
com.google.gwt.dev.shell.ModuleSpace.rebind(ModuleSpace.java:585)
                at
com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:
455)
                at
com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49)
                at com.google.gwt.core.client.GWT.create(GWT.java:97)
                at
com.google.gwt.user.cellview.client.CellTable.getDefaultResources(CellTable.java:
468)
                at
com.google.gwt.user.cellview.client.CellTable.<init>(CellTable.java:
549)
                at
com.google.gwt.user.cellview.client.CellTable.<init>(CellTable.java:
526)
                at
com.myco.clearing.product.client.xmltohtml.XmlToHtmlServiceImpl.getTableWidget(XmlToHtmlServiceImpl.java:
314)
                at
com.myco.clearing.product.client.xmltohtml.XmlToHtmlServiceImpl.getWidget(XmlToHtmlServiceImpl.java:
82)
                at
com.myco.clearing.product.client.xmltohtml.XmlToHtmlServiceTest
$12.onSuccess(XmlToHtmlServiceTest.java:605)
                at
com.myco.clearing.product.client.xmltohtml.XmlToHtmlServiceTest
$12.onSuccess(XmlToHtmlServiceTest.java:1)
                at
com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:
232)
                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.GeneratedMethodAccessor28.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.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.GeneratedMethodAccessor26.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)
        [ERROR] Deferred binding failed for
'com.google.gwt.user.cellview.client.CellTable.Resources'; expect
subsequent failures
        Rebinding com.google.gwt.user.cellview.client.CellTable.Resources
           [WARN] For the following type(s), generated source was never
committed (did you forget to call commit()?)
              [WARN]
com.google.gwt.user.cellview.client.CellTable_Resources_default_InlineClientBundleGenerator
        [ERROR] Could not load deferred binding result type
'com.google.gwt.user.cellview.client.CellTable_Resources_default_InlineClientBundleGenerator'
        java.lang.ClassNotFoundException: com$google$gwt$user$cellview$client
$CellTable_Resources_default_InlineClientBundleGenerator
                at
com.google.gwt.dev.shell.CompilingClassLoader.findClass(CompilingClassLoader.java:
1061)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
                at java.lang.Class.forName0(Native Method)
                at java.lang.Class.forName(Class.java:247)
                at
com.google.gwt.dev.shell.ModuleSpace.loadClassFromSourceName(ModuleSpace.java:
654)
                at
com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:
458)
                at
com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49)
                at com.google.gwt.core.client.GWT.create(GWT.java:97)
                at
com.google.gwt.user.cellview.client.CellTable.getDefaultResources(CellTable.java:
468)
                at
com.google.gwt.user.cellview.client.CellTable.<init>(CellTable.java:
549)
                at
com.google.gwt.user.cellview.client.CellTable.<init>(CellTable.java:
526)
                at
com.myco.clearing.product.client.xmltohtml.XmlToHtmlServiceImpl.getTableWidget(XmlToHtmlServiceImpl.java:
314)
                at
com.myco.clearing.product.client.xmltohtml.XmlToHtmlServiceImpl.getWidget(XmlToHtmlServiceImpl.java:
82)
                at
com.myco.clearing.product.client.xmltohtml.XmlToHtmlServiceTest
$13.onSuccess(XmlToHtmlServiceTest.java:648)
                at
com.myco.clearing.product.client.xmltohtml.XmlToHtmlServiceTest
$13.onSuccess(XmlToHtmlServiceTest.java:1)
                at
com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:
232)
                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.GeneratedMethodAccessor28.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.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.GeneratedMethodAccessor26.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)
        [ERROR] Could not load deferred binding result type
'com.google.gwt.user.cellview.client.CellTable_Resources_default_InlineClientBundleGenerator'
        java.lang.ClassNotFoundException: com$google$gwt$user$cellview$client
$CellTable_Resources_default_InlineClientBundleGenerator
                at
com.google.gwt.dev.shell.CompilingClassLoader.findClass(CompilingClassLoader.java:
1061)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
                at java.lang.Class.forName0(Native Method)
                at java.lang.Class.forName(Class.java:247)
                at
com.google.gwt.dev.shell.ModuleSpace.loadClassFromSourceName(ModuleSpace.java:
654)
                at
com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:
458)
                at
com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49)
                at com.google.gwt.core.client.GWT.create(GWT.java:97)
                at
com.google.gwt.user.cellview.client.CellTable.getDefaultResources(CellTable.java:
468)
                at
com.google.gwt.user.cellview.client.CellTable.<init>(CellTable.java:
549)
                at
com.google.gwt.user.cellview.client.CellTable.<init>(CellTable.java:
526)
                at
com.myco.clearing.product.client.xmltohtml.XmlToHtmlServiceImpl.getTableWidget(XmlToHtmlServiceImpl.java:
314)
                at
com.myco.clearing.product.client.xmltohtml.XmlToHtmlServiceImpl.getWidget(XmlToHtmlServiceImpl.java:
82)
                at
com.myco.clearing.product.client.xmltohtml.XmlToHtmlServiceImpl.getWidgetsInGrid(XmlToHtmlServiceImpl.java:
234)
                at
com.myco.clearing.product.client.xmltohtml.XmlToHtmlServiceImpl.getWidget(XmlToHtmlServiceImpl.java:
213)
                at
com.myco.clearing.product.client.xmltohtml.XmlToHtmlServiceImpl.getSecTabWidgets(XmlToHtmlServiceImpl.java:
254)
                at
com.myco.clearing.product.client.xmltohtml.XmlToHtmlServiceImpl.getWidget(XmlToHtmlServiceImpl.java:
102)
                at
com.myco.clearing.product.client.xmltohtml.XmlToHtmlServiceImpl.getWidget(XmlToHtmlServiceImpl.java:
197)
                at
com.myco.clearing.product.client.xmltohtml.XmlToHtmlServiceImpl.getSectionWidget(XmlToHtmlServiceImpl.java:
276)
                at
com.myco.clearing.product.client.xmltohtml.XmlToHtmlServiceImpl.getWidget(XmlToHtmlServiceImpl.java:
97)
                at
com.myco.clearing.product.client.xmltohtml.XmlToHtmlServiceTest
$14.onSuccess(XmlToHtmlServiceTest.java:692)
                at
com.myco.clearing.product.client.xmltohtml.XmlToHtmlServiceTest
$14.onSuccess(XmlToHtmlServiceTest.java:1)
                at
com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:
232)
                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.GeneratedMethodAccessor28.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.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.GeneratedMethodAccessor26.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)
        [ERROR] Could not load deferred binding result type
'com.google.gwt.user.cellview.client.CellTable_Resources_default_InlineClientBundleGenerator'
        java.lang.ClassNotFoundException: com$google$gwt$user$cellview$client
$CellTable_Resources_default_InlineClientBundleGenerator
                at
com.google.gwt.dev.shell.CompilingClassLoader.findClass(CompilingClassLoader.java:
1061)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
                at java.lang.Class.forName0(Native Method)
                at java.lang.Class.forName(Class.java:247)
                at
com.google.gwt.dev.shell.ModuleSpace.loadClassFromSourceName(ModuleSpace.java:
654)
                at
com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:
458)
                at
com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49)
                at com.google.gwt.core.client.GWT.create(GWT.java:97)
                at
com.google.gwt.user.cellview.client.CellTable.getDefaultResources(CellTable.java:
468)
                at
com.google.gwt.user.cellview.client.CellTable.<init>(CellTable.java:
549)
                at
com.google.gwt.user.cellview.client.CellTable.<init>(CellTable.java:
526)
                at
com.myco.clearing.product.client.xmltohtml.XmlToHtmlServiceImpl.getTableWidget(XmlToHtmlServiceImpl.java:
314)
                at
com.myco.clearing.product.client.xmltohtml.XmlToHtmlServiceImpl.getWidget(XmlToHtmlServiceImpl.java:
82)
                at
com.myco.clearing.product.client.xmltohtml.XmlToHtmlServiceImpl.getWidgetsInGrid(XmlToHtmlServiceImpl.java:
234)
                at
com.myco.clearing.product.client.xmltohtml.XmlToHtmlServiceImpl.getWidget(XmlToHtmlServiceImpl.java:
213)
                at
com.myco.clearing.product.client.xmltohtml.XmlToHtmlServiceImpl.getSecTabWidgets(XmlToHtmlServiceImpl.java:
254)
                at
com.myco.clearing.product.client.xmltohtml.XmlToHtmlServiceImpl.getWidget(XmlToHtmlServiceImpl.java:
215)
                at
com.myco.clearing.product.client.xmltohtml.XmlToHtmlServiceImpl.getSectionWidget(XmlToHtmlServiceImpl.java:
276)
                at
com.myco.clearing.product.client.xmltohtml.XmlToHtmlServiceImpl.getWidget(XmlToHtmlServiceImpl.java:
97)
                at
com.myco.clearing.product.client.xmltohtml.XmlToHtmlServiceTest
$15.onSuccess(XmlToHtmlServiceTest.java:732)
                at
com.myco.clearing.product.client.xmltohtml.XmlToHtmlServiceTest
$15.onSuccess(XmlToHtmlServiceTest.java:1)
                at
com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:
232)
                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.GeneratedMethodAccessor28.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.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.GeneratedMethodAccessor26.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)

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment