qasta / gwt-html-editor

Automatically exported from code.google.com/p/gwt-html-editor
0 stars 1 forks source link

gwt-html-editor is throwing an exception #29

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Downloaded the latest jar file
2. Add jar file path in GWT compile and shell scripts
3. I was able to compile the provided example code successfully but when i
an running it on my browser 6.0 / firefox 2.0 i am getting below exception
message.

[ERROR] Unable to load module entry point class
com.dclk.editor.client.MyEditor (see associated exception for details)
java.lang.NullPointerException: container may not be null
    at com.google.gwt.user.client.ui.ComplexPanel.insert(ComplexPanel.java:157)
    at
com.gc.gwt.wysiwyg.client.EditorToolbar$EditorToolbarFlowPanel.insert(EditorTool
bar.java:36)
    at com.gc.gwt.wysiwyg.client.EditorToolbar.putWidget(EditorToolbar.java:103)
    at
com.gc.gwt.wysiwyg.client.EditorToolbar.putWidgetLast(EditorToolbar.java:109)
    at
com.gc.gwt.wysiwyg.client.defaults.DefaultEditorToolbar.<init>(DefaultEditorTool
bar.java:36)
    at com.gc.gwt.wysiwyg.client.Editor.<init>(Editor.java:61)
    at com.gc.gwt.wysiwyg.client.Editor.<init>(Editor.java:51)
    at com.dclk.editor.client.MyEditor.onModuleLoad(MyEditor.java:23)
    at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:342)
    at
com.google.gwt.dev.shell.BrowserWidget.attachModuleSpace(BrowserWidget.java:326)

Original issue reported on code.google.com by vdedan...@gmail.com on 27 Jun 2008 at 5:54

GoogleCodeExporter commented 9 years ago
The latest jar file was released for GWT 1.3 and it fails with this error on 
1.4. I
would suggest trying the version from the svn. As an alternative you can try the
FCKEditor wrapper (from the SVN).

Original comment by pavel.jb...@gmail.com on 27 Jun 2008 at 3:08

GoogleCodeExporter commented 9 years ago
Same here, this lib is not working!

Original comment by thie...@gmail.com on 11 Jul 2008 at 8:51

GoogleCodeExporter commented 9 years ago
com.gc.gwt.wysiwyg.client.Editor has not been updated for GWT version greater 
than
1.3. There are no current plans to release (as in publish a jar file) a fix, 
although
the version in SVN might work in newer versions of GWT (you'd have to compile it
manually).

Original comment by pavel.jb...@gmail.com on 11 Jul 2008 at 10:46