1. #1
    Sencha User
    Join Date
    Jan 2012
    Posts
    12
    Vote Rating
    0
    Evan Smith is on a distinguished road

      0  

    Default deferred binding failed ... GWT BridgeImpl.create

    deferred binding failed ... GWT BridgeImpl.create


    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)

  2. #2
    Sencha User
    Join Date
    Jan 2012
    Posts
    12
    Vote Rating
    0
    Evan Smith is on a distinguished road

      0  

    Default


    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

  3. #3
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Which GWT version are you using?

  4. #4
    Sencha User
    Join Date
    Jan 2012
    Posts
    12
    Vote Rating
    0
    Evan Smith is on a distinguished road

      0  

    Default most current

    most current


    gwt-2.4.0

  5. #5
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,717
    Vote Rating
    88
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    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?

  6. #6
    Sencha User
    Join Date
    Jan 2012
    Posts
    12
    Vote Rating
    0
    Evan Smith is on a distinguished road

      0  

    Default Ok

    Ok


    ok

  7. #7
    Sencha User
    Join Date
    Jan 2012
    Posts
    12
    Vote Rating
    0
    Evan Smith is on a distinguished road

      0  

    Default logs development mode

    logs development mode


    [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)

  8. #8
    Sencha User
    Join Date
    Jan 2012
    Posts
    12
    Vote Rating
    0
    Evan Smith is on a distinguished road

      0  

    Default console log

    console log


    [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?gw...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)

  9. #9
    Sencha User
    Join Date
    Jan 2012
    Posts
    12
    Vote Rating
    0
    Evan Smith is on a distinguished road

      0  

    Default module

    module


    <?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>

  10. #10
    Sencha User
    Join Date
    Jan 2012
    Posts
    12
    Vote Rating
    0
    Evan Smith is on a distinguished road

      0  

    Default snake

    snake


    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