PDA

View Full Version : deferred binding failed ... GWT BridgeImpl.create



Evan Smith
4 Jan 2012, 8:01 AM
Hello,

Well I am new to Ext GWT, and I followed the setup.txt file from the beta 3.0 to put EXT GWT into my project. However, now I get an error at runtime in eclipise. One which I did not have before and one that I am unclear on how to move past.

I would like to explore using your product and am hoping to just use a button or something to see what it is like in our UiBinder based GWT application.

Thanks,
Evan

Here are some warnings/messages, not sure what to provide for more help.
10:43:12.608 [ERROR] [bdlive] Unable to load module entry point class com.google.gwt.user.client.UserAgentAsserter (see associated exception for details)
java.lang.RuntimeException: Deferred binding failed for 'com.google.gwt.user.client.UserAgentAsserter$UserAgentProperty' (did you forget to inherit a required module?)
at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:53)
at com.google.gwt.core.client.GWT.create(GWT.java:97)
at com.google.gwt.user.client.UserAgentAsserter.onModuleLoad(UserAgentAsserter.java:44)
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.ModuleSpace.onLoad(ModuleSpace.java:396)
at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:525)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
at java.lang.Thread.run(Unknown Source)
Caused by: com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
at com.google.gwt.dev.shell.ModuleSpace.rebind(ModuleSpace.java:595)
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.client.UserAgentAsserter.onModuleLoad(UserAgentAsserter.java:44)
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.ModuleSpace.onLoad(ModuleSpace.java:396)
at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:525)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
at java.lang.Thread.run(Unknown Source)

Evan Smith
4 Jan 2012, 8:09 AM
Hello,

Leaving all the other steps of setup.txt I just removed the following and the error WENT AWAY. So the question is
why and perhaps beta just does not work yet?
<!--
<inherits name='com.sencha.gxt.ui.GXT' />
<inherits name="com.sencha.gwt.uibinder.UiBinder"/>
<inherits name='com.sencha.gxt.chart.Chart' />
-->

Yes I added in more than setup.txt said, but I got the error with just one, thought it was missing something.

Evan Smith, MS MD
VP Engineering
RelayTM.com

sven
4 Jan 2012, 8:18 AM
Which GWT version are you using?

Evan Smith
4 Jan 2012, 8:23 AM
gwt-2.4.0

Colin Alworth
4 Jan 2012, 9:32 PM
The sencha copy of UiBinder should be added after any other inherits statement, to be on the safe side. It shouldn't be affecting it in this case though - somehow GWT's own internals are being messed up, instead, this would cause an issue when trying to use ui:with with attributes, but the effect would be that the attributes would be ignored.

GXT 3 beta 1 is able to be used - in addition to the examples app, an app written at the SenchaCon event this past fall can compile with beta1, tested earlier this week https://github.com/niloc132/SenchaConSnake

Can you post the full build log, and perhaps all of your module file, as it is when the error occurs?

Evan Smith
5 Jan 2012, 9:01 AM
ok

Evan Smith
5 Jan 2012, 9:02 AM
[DEBUG] [bdlive] - Rebinding com.google.gwt.user.client.UserAgentAsserter.UserAgentProperty
[ERROR] [bdlive] - Deferred binding failed for 'com.google.gwt.user.client.UserAgentAsserter.UserAgentProperty'; expect subsequent failures
[ERROR] [bdlive] - Unable to load module entry point class com.google.gwt.user.client.UserAgentAsserter (see associated exception for details)
[ERROR] [bdlive] - Failed to load module 'bdlive' from user agent 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1' at 127.0.0.1:52076

11:07:32.891 [ERROR] [bdlive] Unable to load module entry point class com.google.gwt.user.client.UserAgentAsserter (see associated exception for details)


java.lang.RuntimeException: Deferred binding failed for 'com.google.gwt.user.client.UserAgentAsserter$UserAgentProperty' (did you forget to inherit a required module?)
at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:53)
at com.google.gwt.core.client.GWT.create(GWT.java:97)
at com.google.gwt.user.client.UserAgentAsserter.onModuleLoad(UserAgentAsserter.java:44)
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.ModuleSpace.onLoad(ModuleSpace.java:396)
at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:525)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
at java.lang.Thread.run(Unknown Source)
Caused by: com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
at com.google.gwt.dev.shell.ModuleSpace.rebind(ModuleSpace.java:595)
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.client.UserAgentAsserter.onModuleLoad(UserAgentAsserter.java:44)
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.ModuleSpace.onLoad(ModuleSpace.java:396)
at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:525)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
at java.lang.Thread.run(Unknown Source)

Evan Smith
5 Jan 2012, 9:03 AM
[WARN] 404 - GET /{module name}/reset.css (127.0.0.1) 1415 bytes
Request headers
Host: 127.0.0.1:8888
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
Accept: text/css,*/*;q=0.1
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Connection: keep-alive
Referer: http://127.0.0.1:8888/bdlive.html?gwt.codesvr=127.0.0.1:9997
Response headers
Content-Type: text/html; charset=iso-8859-1
Content-Length: 1415
Exception in thread "Thread-0" java.lang.NullPointerException
at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
at com.google.gwt.core.client.JavaScriptException.getName0(JavaScriptException.java)
at com.google.gwt.core.client.JavaScriptException.getName(JavaScriptException.java:64)
at com.google.gwt.core.client.JavaScriptException.init(JavaScriptException.java:179)
at com.google.gwt.core.client.JavaScriptException.getMessage(JavaScriptException.java:162)
at com.google.gwt.dev.util.log.AbstractTreeLogger.getStackTraceAsString(AbstractTreeLogger.java:70)
at com.google.gwt.dev.shell.remoteui.ViewerServiceClient.generateLogData(ViewerServiceClient.java:296)
at com.google.gwt.dev.shell.remoteui.ViewerServiceClient.addLogEntry(ViewerServiceClient.java:118)
at com.google.gwt.dev.shell.remoteui.ViewerServiceTreeLogger.sendEntry(ViewerServiceTreeLogger.java:158)
at com.google.gwt.dev.shell.remoteui.ViewerServiceTreeLogger$PendingLog.send(ViewerServiceTreeLogger.java:72)
at com.google.gwt.dev.shell.remoteui.ViewerServiceTreeLogger.initLogHandle(ViewerServiceTreeLogger.java:134)
at com.google.gwt.dev.shell.remoteui.ViewerServiceTreeLogger$1.onDone(ViewerServiceTreeLogger.java:145)
at com.google.gwt.dev.shell.remoteui.ViewerServiceTreeLogger$1.onDone(ViewerServiceTreeLogger.java:143)
at com.google.gwt.dev.shell.remoteui.ViewerServiceClient$1.onDone(ViewerServiceClient.java:96)
at com.google.gwt.dev.shell.remoteui.ViewerServiceClient$1.onDone(ViewerServiceClient.java:94)
at com.google.gwt.dev.shell.remoteui.MessageTransport$PendingRequest.setResponse(MessageTransport.java:124)
at com.google.gwt.dev.shell.remoteui.MessageTransport.processServerResponse(MessageTransport.java:423)
at com.google.gwt.dev.shell.remoteui.MessageTransport.processMessage(MessageTransport.java:399)
at com.google.gwt.dev.shell.remoteui.MessageTransport.access$400(MessageTransport.java:44)
at com.google.gwt.dev.shell.remoteui.MessageTransport$3.run(MessageTransport.java:322)
at java.lang.Thread.run(Unknown Source)

Evan Smith
5 Jan 2012, 9:04 AM
<?xml version="1.0" encoding="UTF-8"?>
<module rename-to='bdlive'>
<!-- Inherit the core Web Toolkit stuff. -->
<inherits name='com.google.gwt.user.User'/>


<!-- Inherit the default GWT style sheet. You can change -->
<!-- the theme of your GWT application by uncommenting -->
<!-- any one of the following lines. -->
<inherits name='com.google.gwt.user.theme.standard.Standard'/>
<!-- <inherits name='com.google.gwt.user.theme.chrome.Chrome'/> -->
<!-- <inherits name='com.google.gwt.user.theme.dark.Dark'/> -->


<!-- Widgets to make UI richer -->
<inherits name='com.google.code.GwtEyeCandy'/>
<inherits name="com.google.gwt.resources.Resources" />


<!-- Other module inherits -->
<inherits name='com.mvp4g.Mvp4gModule' />


<inherits name='com.sencha.gxt.ui.GXT' />
<inherits name='com.sencha.gxt.chart.Chart' />
<inherits name="com.sencha.gwt.uibinder.UiBinder"/>


<!--
<set-property name="gwt.logging.logLevel" value="FINEST" />
<set-property name="gwt.logging.enabled" value="TRUE" />
<set-property name="gwt.logging.popupHandler" value="DISABLED" />
-->


<!-- Specify the app entry point class. -->
<entry-point class='com.relay.bdlive.client.BDLiveEntryPoint'/>


<!-- Specify the paths for translatable code -->
<source path='client'/>


</module>

Evan Smith
5 Jan 2012, 11:32 AM
Hello,

Snake is interesting, but does nothing with UIBinding, so is not that helpful.

And it was not a just import into eclipse project (nor file system). I ended up creating a project and messing with it to get snake to run. Hardly what I think you had in mind. But .... was what was needed to get it to run.

Thanks,
Evan

Colin Alworth
5 Jan 2012, 11:36 AM
Could you list the versions (and maybe download links?) for the other libraries you mention in your module file? If there is a bad interaction between GXT and those, it is bound to come up again.

* com.google.code.GwtEyeCandy
* com.google.gwt.resources.Resources
* com.mvp4g.Mvp4gModule

Can you also try a stripped down entrypoint that just adds a single, simple uibinder-based widget to the page, with the module you have now? That is how I will test this case, once I have the right versions for those libs, in lieu of your actual project.

Evan Smith
5 Jan 2012, 11:45 AM
I was able to get Snake to run. So most of my system must be setup.

As for the project in question. I have removed resources and eye candy just to make it easier. I only put these in after not getting sensa to work.


mvp4g-1.3.1.jar is what I am using which came from the mail sample from mvp44-1.3.1-examples. Which I thought was a nice example of ui binder and GWT. And thus was trying out sensa in this example, slightly modified to a different name (bdlive instead of mail).

Now that I have the com sencha stuf last, and UiBinder very last in my module I seem to be able to run! I am sorting out what is going on, and am going to try using your stuff in binder right now.

Sorry, not sure what occurred to make it work. but hey such is programming. My bet is that it was very sensitive to the order of the inherits ... but not clear to me.

I will post if I get an error again ... which I imagine I will when or if I try to use all this stuff in our original GWT application.

Evan

Colin Alworth
5 Jan 2012, 11:49 AM
We've left room for users of GXT to customize behavior, which means we can't mandate order of inherits... But if there is an order issue that causes this problem, we'll need to track it down.

Glad to head you've got it working, but let us know if it, or something like it, comes up again.

Evan Smith
5 Jan 2012, 12:34 PM
Hello,

Although the error is not there if I just put stuff int he module (see the module below). Meaning if I have not added any code to a .ui.xml file then I don't get an error. And am thus able to run our UI under development mode. However, when i add code the ui.xml file (a few buttons) I get an error. And am not sure why.

Below is my current module and the ui.xml file and some error messages.

So lets try some more !
Thanks!
Evan

TopPanel.ui.xml
<!DOCTYPE ui:UiBinder
SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent"
>

<ui:UiBinder
xmlns:ui="urn:ui:com.google.gwt.uibinder"
xmlns:gxt="urn:import:com.sencha.gxt.widget.core.client"
xmlns:button="urn:import:com.sencha.gxt.widget.core.client.button">






<ui:image field='logoRTMandBDLive' src='../resources/logoRTMandBDLive70.png' />
<ui:image field='topBackground' src='../resources/topBackground.png' />

<ui:style>
.statusDiv {
text-align: right;
margin: 1em;
}

.linksDiv {
text-align: right;
margin-top: -10px;
}

@if user.agent ie6 {
.logoRTMandBDLive {
background-image: url(logoRTMandBDLive.png);
position: absolute;
top:4px;
left:10px;
}
} @else {
@sprite .logoRTMandBDLive {
gwt-image: 'logoRTMandBDLive';
position: absolute;
padding: 10px 5px 15px 20px;
}
}

@if user.agent ie6 {
.topBackground {
background-image: url(topBackground.png);
position: absolute;
top:4px;
left:10px;
}
} @else {
@sprite .topBackground {
gwt-image: 'topBackground';
position: absolute;
padding: 10px 5px 15px 20px;
opacity:0.2;
}
}

.search {
text-align: right;
border-top: 4px;
border-right: 4px;
border-bottom: 4px;
border-left: 4px;
}

.a:link {color:#0000ff;}
.a:visited {color:#0000ff;}
.a:hover {color:#0000ff;}
.a:active {color:#0000ff;}

.myTopHTMLPanel {
border-bottom: 2px groove;
margin-right:-10px;
}
.gwt-TextBoxMore {
border: 1px groove;
background-color: White;
}

</ui:style>

<ui:with field="resources" type="com.relay.bdlive.client.view.MyResources" />

<gxt:FramedPanel collapsible="true" headingText="Example" pixelSize="100, 80">
<button:TextButton ui:field="exampleButton" text="Click Me" />
<button:TextButton ui:field="signOutLink" text="Logout" />
<button:TextButton ui:field="aboutLink" text="About" />
</gxt:FramedPanel>
</ui:UiBinder>


--------------------------------------------------------
bdlive.gwt.xml file is
<?xml version="1.0" encoding="UTF-8"?>
<module rename-to='bdlive'>
<!-- Inherit the core Web Toolkit stuff. -->
<inherits name='com.google.gwt.user.User'/>

<!-- Inherit the default GWT style sheet. You can change -->
<!-- the theme of your GWT application by uncommenting -->
<!-- any one of the following lines. -->
<inherits name='com.google.gwt.user.theme.standard.Standard'/>
<!-- <inherits name='com.google.gwt.user.theme.chrome.Chrome'/> -->
<!-- <inherits name='com.google.gwt.user.theme.dark.Dark'/> -->



<!-- Other module inherits -->
<inherits name='com.mvp4g.Mvp4gModule' />

<inherits name='com.sencha.gxt.ui.GXT' />
<inherits name='com.sencha.gxt.chart.Chart' />
<inherits name="com.sencha.gwt.uibinder.UiBinder"/>

<!--
<set-property name="gwt.logging.logLevel" value="FINEST" />
<set-property name="gwt.logging.enabled" value="TRUE" />
<set-property name="gwt.logging.popupHandler" value="DISABLED" />
-->

<!-- Specify the app entry point class. -->
<entry-point class='com.relay.bdlive.client.BDLiveEntryPoint'/>

<!-- Specify the paths for translatable code -->
<source path='client'/>

</module>

------------------------
TopPanel.java file is

/*
* Copyright 2007 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.relay.bdlive.client.view;

import com.google.gwt.core.client.GWT;
import com.google.gwt.event.dom.client.HasClickHandlers;
import com.google.gwt.resources.client.ClientBundle;
import com.google.gwt.resources.client.ImageResource;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.Anchor;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Image;
import com.google.gwt.user.client.ui.Widget;
import com.google.inject.Singleton;
import com.relay.bdlive.client.presenter.TopPresenter;
import com.relay.bdlive.client.view.widget.AboutDialog;

/**
* The top panel, which contains the 'welcome' message and various links.
*/
@Singleton
public class TopPanel extends Composite implements TopPresenter.ITopView {

interface Resources extends ClientBundle {
@Source("../resources/searchIcon32.png")
ImageResource searchIcon();
}

interface Binder extends UiBinder<Widget, TopPanel> {
}

private static final Binder binder = GWT.create( Binder.class );

// @UiField
// Resources resources;

@UiField
Anchor signOutLink;
@UiField
Anchor aboutLink;

public TopPanel() {
//resources = GWT.create(Resources.class);
initWidget( binder.createAndBindUi( this ) );
}

public HasClickHandlers getAboutButton() {
return aboutLink;
}

public HasClickHandlers getSignOutLink() {
return signOutLink;
}

public Widget getViewWidget() {
return this;
}

public void showAboutDialog() {
AboutDialog dlg = new AboutDialog();
dlg.show();
dlg.center();
}

public void showAlert( String message ) {
Window.alert( message );
}

}



-------------------------------------

And the errors are
[DEBUG] [bdlive] - Rebinding com.mvp4g.client.Mvp4gModule
[DEBUG] [bdlive] - Rebinding com.relay.bdlive.client.view.TopPanel.Binder
[DEBUG] [bdlive] - Invoking generator com.sencha.gwt.uibinder.rebind.UiBinderGenerator
[ERROR] [bdlive] - In @UiField aboutLink, template field and owner field types don't match: com.sencha.gxt.widget.core.client.button.TextButton is not assignable to com.google.gwt.user.client.ui.Anchor
[ERROR] [bdlive] - Deferred binding failed for 'com.relay.bdlive.client.view.TopPanel.Binder'; expect subsequent failures
[ERROR] [bdlive] - Failed to create an instance of 'com.relay.bdlive.client.view.TopPanel' via deferred binding
[DEBUG] [bdlive] - Rebinding com.google.gwt.dom.client.DOMImpl
[WARN] [bdlive] - For the following type(s), generated source was never committed (did you forget to call commit()?)
[WARN] [bdlive] - com.relay.bdlive.client.view.TopPanel_BinderImpl
[ERROR] [bdlive] - Unable to load module entry point class com.relay.bdlive.client.BDLiveEntryPoint (see associated exception for details)
[ERROR] [bdlive] - Failed to load module 'bdlive' from user agent 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1' at 127.0.0.1:53756




15:27:39.883 [ERROR] [bdlive] Failed to create an instance of 'com.relay.bdlive.client.view.TopPanel' via deferred binding

java.lang.RuntimeException: Deferred binding failed for 'com.relay.bdlive.client.view.TopPanel$Binder' (did you forget to inherit a required module?)
at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:53)
at com.google.gwt.core.client.GWT.create(GWT.java:97)
at com.relay.bdlive.client.view.TopPanel.&lt;clinit&gt;(TopPanel.java:47)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
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.mvp4g.client.Mvp4gModuleImpl_com_mvp4g_client_Mvp4gModuleGinjectorImpl.create_Key$type$com$relay$bdlive$client$view$TopPanel$_annotation$$none$$(Mvp4gModuleImpl_com_mvp4g_client_Mvp4gModuleGinjectorImpl.java:125)
at com.mvp4g.client.Mvp4gModuleImpl_com_mvp4g_client_Mvp4gModuleGinjectorImpl.get_Key$type$com$relay$bdlive$client$view$TopPanel$_annotation$$none$$(Mvp4gModuleImpl_com_mvp4g_client_Mvp4gModuleGinjectorImpl.java:142)
at com.mvp4g.client.Mvp4gModuleImpl_com_mvp4g_client_Mvp4gModuleGinjectorImpl.getcom_relay_bdlive_client_presenter_TopPresenterView(Mvp4gModuleImpl_com_mvp4g_client_Mvp4gModuleGinjectorImpl.java:51)
at com.mvp4g.client.Mvp4gModuleImpl.createAndStartModule(Mvp4gModuleImpl.java:77)
at com.relay.bdlive.client.BDLiveEntryPoint.onModuleLoad(BDLiveEntryPoint.java:48)
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.ModuleSpace.onLoad(ModuleSpace.java:396)
at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:525)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
at java.lang.Thread.run(Unknown Source)
Caused by: com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
at com.google.gwt.dev.shell.ModuleSpace.rebind(ModuleSpace.java:595)
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.relay.bdlive.client.view.TopPanel.&lt;clinit&gt;(TopPanel.java:47)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
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.mvp4g.client.Mvp4gModuleImpl_com_mvp4g_client_Mvp4gModuleGinjectorImpl.create_Key$type$com$relay$bdlive$client$view$TopPanel$_annotation$$none$$(Mvp4gModuleImpl_com_mvp4g_client_Mvp4gModuleGinjectorImpl.java:125)
at com.mvp4g.client.Mvp4gModuleImpl_com_mvp4g_client_Mvp4gModuleGinjectorImpl.get_Key$type$com$relay$bdlive$client$view$TopPanel$_annotation$$none$$(Mvp4gModuleImpl_com_mvp4g_client_Mvp4gModuleGinjectorImpl.java:142)
at com.mvp4g.client.Mvp4gModuleImpl_com_mvp4g_client_Mvp4gModuleGinjectorImpl.getcom_relay_bdlive_client_presenter_TopPresenterView(Mvp4gModuleImpl_com_mvp4g_client_Mvp4gModuleGinjectorImpl.java:51)
at com.mvp4g.client.Mvp4gModuleImpl.createAndStartModule(Mvp4gModuleImpl.java:77)
at com.relay.bdlive.client.BDLiveEntryPoint.onModuleLoad(BDLiveEntryPoint.java:48)
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.ModuleSpace.onLoad(ModuleSpace.java:396)
at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:525)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
at java.lang.Thread.run(Unknown Source)


15:27:39.934 [ERROR] [bdlive] Unable to load module entry point class com.relay.bdlive.client.BDLiveEntryPoint (see associated exception for details)

java.lang.RuntimeException: Deferred binding failed for 'com.relay.bdlive.client.view.TopPanel' (did you forget to inherit a required module?)
at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:53)
at com.google.gwt.core.client.GWT.create(GWT.java:97)
at com.mvp4g.client.Mvp4gModuleImpl_com_mvp4g_client_Mvp4gModuleGinjectorImpl.create_Key$type$com$relay$bdlive$client$view$TopPanel$_annotation$$none$$(Mvp4gModuleImpl_com_mvp4g_client_Mvp4gModuleGinjectorImpl.java:125)
at com.mvp4g.client.Mvp4gModuleImpl_com_mvp4g_client_Mvp4gModuleGinjectorImpl.get_Key$type$com$relay$bdlive$client$view$TopPanel$_annotation$$none$$(Mvp4gModuleImpl_com_mvp4g_client_Mvp4gModuleGinjectorImpl.java:142)
at com.mvp4g.client.Mvp4gModuleImpl_com_mvp4g_client_Mvp4gModuleGinjectorImpl.getcom_relay_bdlive_client_presenter_TopPresenterView(Mvp4gModuleImpl_com_mvp4g_client_Mvp4gModuleGinjectorImpl.java:51)
at com.mvp4g.client.Mvp4gModuleImpl.createAndStartModule(Mvp4gModuleImpl.java:77)
at com.relay.bdlive.client.BDLiveEntryPoint.onModuleLoad(BDLiveEntryPoint.java:48)
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.ModuleSpace.onLoad(ModuleSpace.java:396)
at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:525)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
at java.lang.Thread.run(Unknown Source)
Caused by: com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
at com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:503)
at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49)
at com.google.gwt.core.client.GWT.create(GWT.java:97)
at com.mvp4g.client.Mvp4gModuleImpl_com_mvp4g_client_Mvp4gModuleGinjectorImpl.create_Key$type$com$relay$bdlive$client$view$TopPanel$_annotation$$none$$(Mvp4gModuleImpl_com_mvp4g_client_Mvp4gModuleGinjectorImpl.java:125)
at com.mvp4g.client.Mvp4gModuleImpl_com_mvp4g_client_Mvp4gModuleGinjectorImpl.get_Key$type$com$relay$bdlive$client$view$TopPanel$_annotation$$none$$(Mvp4gModuleImpl_com_mvp4g_client_Mvp4gModuleGinjectorImpl.java:142)
at com.mvp4g.client.Mvp4gModuleImpl_com_mvp4g_client_Mvp4gModuleGinjectorImpl.getcom_relay_bdlive_client_presenter_TopPresenterView(Mvp4gModuleImpl_com_mvp4g_client_Mvp4gModuleGinjectorImpl.java:51)
at com.mvp4g.client.Mvp4gModuleImpl.createAndStartModule(Mvp4gModuleImpl.java:77)
at com.relay.bdlive.client.BDLiveEntryPoint.onModuleLoad(BDLiveEntryPoint.java:48)
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.ModuleSpace.onLoad(ModuleSpace.java:396)
at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:525)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
at java.lang.Thread.run(Unknown Source)



and in the browser we see

Evan Smith
5 Jan 2012, 12:42 PM
hello,

still may be me, as integrating in the sample. so no need to debug anything yet.

thanks,
evan

Evan Smith
5 Jan 2012, 12:51 PM
Hello,

Well I ripped out everything on the ui.xml page and the corresponding .java and got a button to show up.

So that is something and I can work with that.

Thanks!
I am sure I will post again for something else :-)

Evan

Colin Alworth
5 Jan 2012, 4:42 PM
Your problem is outlined in the error message - if you look more closely at the java and ui.xml files, it'll be clear to you too.


[ERROR] [bdlive] - In @UiField aboutLink, template field and owner field types don't match: com.sencha.gxt.widget.core.client.button.TextButton is not assignable to com.google.gwt.user.client.ui.Anchor

In your ui.xml, you make a <button:TextButton /> with name aboutLink, but in your java you reference @UiField Anchor aboutLink; - that @UiField means to get the isntance from xml, and TextButton and Anchor aren't related.

If you are using eclipse and the google plugin for eclipse, it should point that error out to you when you have both files saved.

k_prao
8 Jun 2012, 2:46 AM
Hi i'm working on a project but unfortunately system crashed.
Before ly i've back up of project in another system with all support of jars and everything.
when i trying to install and run it shows "Unable to start up App Engine Server" :((