Hello,

I have a model that contains a List of Language objects (which just
contain a string for the language code and boolean to denote
default).  I am trying to setup a List Editor like that shown in
http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/dynatablerf/src/com/google/gwt/sample/dynatablerf/client/widgets/FavoritesWidget.java
for that model (with the major change that I am using
SimpleBeanEditorDriver instead of RequestFactoryEditorDriver).

However, during the creation of the LanguageEditor from the
LanguageListEditor.LanguageEditorSource's create method, it dies on
the call to uiBinder.createAndBindUi. The error seems to refer to
native javascript and I am unsure of how to debug it any further. Does
anyone have suggestions of what is the problem or how I can track it
down further?


22:09:04.490 [ERROR] [viewappdesigner] Failed to create an instance of
'vivid.client.widget.LanguageListEditor' via deferred binding

com.google.gwt.core.client.JavaScriptException: (TypeError):
__static[458906].call is not a function
    at
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:
237)
    at
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:
132)
    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.dom.client.DOMImpl.createElement(DOMImpl.java)
    at com.google.gwt.dom.client.Document$.createDivElement$
(Document.java:290)
    at com.google.gwt.user.client.ui.HTMLPanel.<init>
(HTMLPanel.java:79)
    at
vivid.client.widget.LanguageEditor_LanguageEditorUiBinderImpl.createAndBindUi(LanguageEditor_LanguageEditorUiBinderImpl.java:
13)
    at
vivid.client.widget.LanguageEditor_LanguageEditorUiBinderImpl.createAndBindUi(LanguageEditor_LanguageEditorUiBinderImpl.java:
1)
    at vivid.client.widget.LanguageEditor.<init>
(LanguageEditor.java:50)
    at vivid.client.widget.LanguageListEditor
$LanguageEditorSource.create(LanguageListEditor.java:47)
    at vivid.client.widget.LanguageListEditor
$LanguageEditorSource.create(LanguageListEditor.java:1)
    at
com.google.gwt.editor.client.adapters.ListEditorWrapper.add(ListEditorWrapper.java:
50)
    at vivid.client.widget.LanguageListEditor.<init>
(LanguageListEditor.java:76)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
Source)
    at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at
com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:
465)
    at
com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49)
    at com.google.gwt.core.client.GWT.create(GWT.java:98)
    at
vivid.client.view.ApplicationDialogViewImpl_ApplicationDialogViewImplUiBinderImpl.createAndBindUi(ApplicationDialogViewImpl_ApplicationDialogViewImplUiBinderImpl.java:
26)
    at
vivid.client.view.ApplicationDialogViewImpl_ApplicationDialogViewImplUiBinderImpl.createAndBindUi(ApplicationDialogViewImpl_ApplicationDialogViewImplUiBinderImpl.java:
1)
    at vivid.client.view.ApplicationDialogViewImpl.<init>
(ApplicationDialogViewImpl.java:77)
    at vivid.client.ClientFactoryImpl.<clinit>
(ClientFactoryImpl.java:57)
    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:98)
    at vivid.client.ViewAppDesigner.onModuleLoad(ViewAppDesigner.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:
193)
    at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
510)
    at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
352)
    at java.lang.Thread.run(Unknown Source)

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to