Log in or register to post comments
Last post
FCKeditor.Java 2.4 released
The stabilization of version 2.4 of our Java integration package has been completed successfully. One important issue has been solved, making upgrading strongly recommended.

The FCKeditor.Java Documentation web site has also been enhanced, modified and completed. Be sure to spend some minutes there before downloading and installing it.

FCKeditor goes Java seriously now. Enjoy it!

Frederico Knabben
Project Lead for CKEditor
CEO at CKSource

Re: FCKeditor.Java 2.4 released
I've been getting a null pointer exception when I load the editor without initializing it with some text. The NPE is at line 238 in FCKEditor.java

here's the line
String encodedValue = escapeXml(value.replaceAll("((\r?\n)+|\t*)", ""));


I think what's happening is value is coming in as null instead of a string. I think it can be fixed with

String encodedValue = (value != null ) ? escapeXml(value.replaceAll("((\r?\n)+|\t*)", "")) : ""


Chad
Re: FCKeditor.Java 2.4 released