[opencms-dev] OpenCMS Editor Problem

Brett Sheeran brett.sheeran at gmail.com
Thu Mar 5 00:51:23 CET 2009


I have just re-installed OpneCMS 7.0.5 and now the editors do not
work. Can someone tell me what I might do to fix this issue or, how I
might at least select the default editors please? Details as follows.

If I try to edit *any* file (JSP, text, XML content, XML advanced
edit) OpenCMS returns a blank page. There are no text area or buttons
or links.

I do see the following text area in the source, but obviously, it is not visible
<textarea wrap="virtual" id="editarea" name="edit1" style="width:
100%; height: 100%; color: window; background-color: window;
visibility: hidden;">

Furthermore The following error message appears in the console:
[ERROR] CmsDialog - The workplace dialog caused an error.
<org.opencms.file.CmsVfsException: Error reading resource from path
encms.file.CmsVfsException: Error reading resource from path "null".
        at org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:242)
        at org.opencms.db.CmsDbContext.report(CmsDbContext.java:212)
        at org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:4037)
        at org.opencms.file.CmsObject.readResource(CmsObject.java:3488)
        at org.opencms.workplace.editors.CmsEditorHandler.getEditorUri(CmsEditorHandler.java:86)
        at org.opencms.workplace.editors.CmsEditorSelector.getSelectedEditorUri(CmsEditorSelector.java:127)
        at org.apache.jsp.WEB_002dINF.jsp.offline.system.workplace.editors.editor_005fmain_jsp._jspService(editor_005fmain_jsp.java:58)

I looked at editor_005fmain_jsp.java. Line58 is the command:

String editorUri = wp.getSelectedEditorUri();

So, it seems that OpenCMS does not know what the editor URI should be.

Now, I have had this problem in the past and found I could stop the
errors occurring by going to Preferences -> Editors and setting all
editors to default.

However, this time there is no "Default" option.

So, can anyone tell me how I might get the "Default" editor option or
find some other way of fixing this issue please?

Thank you.

Regards Brett S

More information about the opencms-dev mailing list