I am getting the following error trying to create a simple editor.
my entry point only has
RootLayoutPanel.get().add(new CKEditor(CKConfig.basic));
So could not be any simpler.
I am using GWT 2.5.0-RC1 and gwt-ckeditor 1.0. I tries using the 1.1 snapshot
but the repository seems to be down.
0:00:15.259 [ERROR] Unable to load module entry point class
com.dcs.emailclient.client.emailclient (see associated exception for details)
com.google.gwt.core.client.JavaScriptException: (TypeError)
@com.axeiya.gwtckeditor.client.CKEditor::replaceTextArea(Ljava/lang/Object;Lcom/
google/gwt/core/client/JavaScriptObject;)([JavaScript object(170), JavaScript
object(125)]): Cannot call method 'replace' of undefined at
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelSer
ver.java:249) at
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:570) at
com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:298) at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107
) at com.axeiya.gwtckeditor.client.CKEditor.replaceTextArea(CKEditor.java) at
com.axeiya.gwtckeditor.client.CKEditor.initInstance(CKEditor.java:173) at
com.axeiya.gwtckeditor.client.CKEditor.onLoad(CKEditor.java:164) at
com.google.gwt.user.client.ui.Composite.onAttach(Composite.java:171) at
com.google.gwt.user.client.ui.Widget.setParent(Widget.java:475) at
com.google.gwt.user.client.ui.Panel.adopt(Panel.java:127) at
com.google.gwt.user.client.ui.LayoutPanel.insert(LayoutPanel.java:198) at
com.google.gwt.user.client.ui.LayoutPanel.add(LayoutPanel.java:134) at
com.dcs.emailclient.client.emailclient.onModuleLoad(emailclient.java:33) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:43) at java.lang.reflect.Method.invoke(Method.java:601) at
com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:405) at
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java
:200) at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelSe
rver.java:526) at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
at java.lang.Thread.run(Thread.java:722)
Original issue reported on code.google.com by markejfm...@yahoo.co.uk on 29 Mar 2013 at 8:42
Original issue reported on code.google.com by
markejfm...@yahoo.co.uk
on 29 Mar 2013 at 8:42