Using ckeditor and jquery adapter, and with a textarea that is initialized as a ckeditor instance more than once, once with content, once without, you may encounter a bug in Firefox, p is null.

Go to line 126, change

p.setHtml('');

to

if (p) { p.setHtml(''); }