[opencms-dev] Problem with Language Settings in WYSIWIG editor, problems with tutorial

Thomas Klöber thomas.kloeber at haeger-consulting.de
Wed Apr 10 11:54:31 CEST 2013


Folkses,

I'm an absolute newbie to OpenCms and am trying to get to grips with it.
I couldn't find any tutorial on the web for folks like me but luckily I 
came across the tutorial from Nick Prosch @ codecentric.

However, I keep running into problems and things don't quite work as 
they should.
For example, if I want to change the element language of a page

  * I only can select "Englisch", "Deutsch" has "[-]"  at the end (does
    that mean it's not available?)
  * if I select "Deutsch [-]" the text block selection is empty
  * if I the click on the "Element" icon to activate the "Text" element
    I get an exception, see attachment

In my workplace my html files are shown to be of type xmlpage. Is that 
correct?


As far as the tuorial goes, I don't get the navigation from the page 
template in my pages. What do I need to do?

Any help appreciated,

PS: I'm using OpenCms 8.5.1 on Windows Server 2003  R2, MySQL 5.6, 
Apache Tomcat 7.0

-- 
Thomas Klöber

IT Consultant - Haeger Consulting
Nachtigallenweg 1 | 53343 Wachtberg

Mobile: +49(0)151 55573779
thomas.kloeber at haeger-consulting.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20130410/8bcc370c/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 5499 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20130410/8bcc370c/attachment.png>
-------------- next part --------------
javax.servlet.ServletException: javax.servlet.jsp.JspException: java.lang.NullPointerException
	at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:908)
	at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:841)
	at org.apache.jsp.WEB_002dINF.jsp.offline.system.workplace.editors.editor_005fmain_jsp._jspService(editor_005fmain_jsp.java:78)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)
	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)
	at org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:188)
	at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:163)
	at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:618)
	at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:417)
	at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:167)
	at org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:903)
	at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:523)
	at org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:1183)
	at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1669)
	at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:153)
	at org.opencms.main.OpenCmsServlet.doPost(OpenCmsServlet.java:166)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:947)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
	at org.opencms.xml.CmsXmlUtils.createXpath(CmsXmlUtils.java:137)
	at org.opencms.xml.A_CmsXmlDocument.hasValue(A_CmsXmlDocument.java:590)
	at org.opencms.workplace.editors.CmsDefaultPageEditor.initContent(CmsDefaultPageEditor.java:614)
	at org.opencms.workplace.editors.CmsDefaultPageEditor.actionChangeBodyElement(CmsDefaultPageEditor.java:143)
	at org.opencms.workplace.editors.CmsSimplePageEditor.initWorkplaceRequestValues(CmsSimplePageEditor.java:159)
	at org.opencms.editors.tinymce.CmsTinyMCE.initWorkplaceRequestValues(CmsTinyMCE.java:85)
	at org.opencms.workplace.CmsWorkplace.initWorkplaceMembers(CmsWorkplace.java:1953)
	at org.opencms.workplace.CmsWorkplace.<init>(CmsWorkplace.java:251)
	at org.opencms.workplace.tools.CmsToolDialog.<init>(CmsToolDialog.java:93)
	at org.opencms.workplace.CmsDialog.<init>(CmsDialog.java:282)
	at org.opencms.workplace.editors.CmsEditorBase.<init>(CmsEditorBase.java:51)
	at org.opencms.workplace.editors.CmsEditor.<init>(CmsEditor.java:218)
	at org.opencms.workplace.editors.CmsDefaultPageEditor.<init>(CmsDefaultPageEditor.java:115)
	at org.opencms.workplace.editors.CmsSimplePageEditor.<init>(CmsSimplePageEditor.java:71)
	at org.opencms.editors.tinymce.CmsTinyMCE.<init>(CmsTinyMCE.java:33)
	at org.apache.jsp.WEB_002dINF.jsp.offline.system.workplace.editors.tinymce.editor_jsp._jspService(editor_jsp.java:85)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)
	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)
	at org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:188)
	at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:163)
	at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:618)
	at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:417)
	at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:167)
	at org.opencms.jsp.CmsJspTagInclude.includeActionWithCache(CmsJspTagInclude.java:356)
	at org.opencms.jsp.CmsJspTagInclude.includeTagAction(CmsJspTagInclude.java:232)
	at org.opencms.jsp.CmsJspActionElement.include(CmsJspActionElement.java:547)
	at org.opencms.jsp.CmsJspActionElement.include(CmsJspActionElement.java:487)
	at org.opencms.jsp.CmsJspActionElement.include(CmsJspActionElement.java:574)
	at org.apache.jsp.WEB_002dINF.jsp.offline.system.workplace.editors.editor_005fmain_jsp._jspService(editor_005fmain_jsp.java:70)
	... 40 more


More information about the opencms-dev mailing list