Found in GWT Release (e.g. 1.5.3, 1.6 RC): 2.0.3
Encountered on OS / Browser (e.g. WinXP, IE6-7, FF3): Every browser
Detailed description (please be as specific as possible):
Could not able to render GWT button on the screen in hosted mode.
Please find the stack trace i'm getting
10:32:08.234 [ERROR] [com.tradiant.gwt_demo.Demo] Unable to load
module
entry point class com.tradiant.gwt_demo.gui.client.DemoModule (see
associated exception for details)
com.google.gwt.core.client.JavaScriptException:
(INVALID_CHARACTER_ERR):
INVALID_CHARACTER_ERR: DOM Exception 5
code: 5
__gwt_ObjectId: 614
INDEX_SIZE_ERR: 1
DOMSTRING_SIZE_ERR: 2
HIERARCHY_REQUEST_ERR: 3
WRONG_DOCUMENT_ERR: 4
INVALID_CHARACTER_ERR: 5
NO_DATA_ALLOWED_ERR: 6
NO_MODIFICATION_ALLOWED_ERR: 7
NOT_FOUND_ERR: 8
NOT_SUPPORTED_ERR: 9
INUSE_ATTRIBUTE_ERR: 10
INVALID_STATE_ERR: 11
SYNTAX_ERR: 12
INVALID_MODIFICATION_ERR: 13
NAMESPACE_ERR: 14
INVALID_ACCESS_ERR: 15
VALIDATION_ERR: 16
TYPE_MISMATCH_ERR: 17
SECURITY_ERR: 18
NETWORK_ERR: 19
ABORT_ERR: 20
URL_MISMATCH_ERR: 21
QUOTA_EXCEEDED_ERR: 22
at
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:
195)
at
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:
120)
at
com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
507)
at
com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:
264)
at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:
91)
at
com.google.gwt.dom.client.DOMImplTrident.createButtonElement(DOMImplTrident.java)
at
com.google.gwt.dom.client.Document$.createPushButtonElement$
(Document.java:834)
at com.google.gwt.user.client.ui.Button.<init>(Button.java:69)
at com.google.gwt.user.client.ui.Button.<init>(Button.java:79)
at
com.userinterface.gui.client.widgets.MyButton.<init>(MyButton.java:18)
Shortest code snippet which demonstrates issue (please indicate where
actual result differs from expected result):
The very moment I create MyButton with new MyButton("text") causes
this
problem.
public class MyButton extends com.google.gwt.user.client.ui.Button {
public MyButton(String text) {
super (text);
setStyleName ("linkbutton");
}
public MyButton() {
super ();
setStyleName ("linkbutton");
}
}
Workaround if you have one: Totally stuck.
--
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.