Kompetenzbasiertes Projektmanagement

Autoren
Gessler, Michael; Thyssen, David
Erscheinungsjahr
2019
in
Deutsche Gesellschaft für Projektmanagement, GPM (Hrsg.) (FreeMarker template error (DEBUG mode; use RETHROW in production!): For "${...}" content: Expected a string or something automatically convertible to string (number, date or boolean), or "template output" , but this has evaluated to a sequence+hash (wrapper: f.e.dom.NodeListModel): ==> Publications.getYearOfPublication(item) [in template "templates/contentitems/list/collected-volume.html.ftl" at line 15, column 27] ---- Tip: This XML query result can't be used as string because for that it had to contain exactly 1 XML node, but it contains 0 nodes. That is, the constructing XML query has found no matches. ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${Publications.getYearOfPublication(i... [in template "templates/contentitems/list/collected-volume.html.ftl" at line 15, column 25] - Reached through: #include getContentItemTemplate(item[... [in template "ccm-cms/content-item.ftl" in macro "contentItem" at line 50, column 9] - Reached through: @ContentItem.contentItem Publications... [in template "templates/contentitems/detail/scipublications.html.ftl" at line 94, column 25] - Reached through: #include getContentItemTemplate(item[... [in template "ccm-cms/content-item.ftl" in macro "contentItem" at line 50, column 9] - Reached through: @ContentItem.contentItem ContentItem... [in template "templates/default-layout.html.ftl" at line 9, column 13] ~ Reached through: #nested [in template "templates/UniHB2018.html.ftl" in macro "layout" at line 387, column 17] ~ Reached through: @UniHB2018.layout [in template "templates/default-layout.html.ftl" at line 5, column 1] ---- Java stack trace (for programmers): ---- freemarker.core.NonStringOrTemplateOutputException: [... Exception message was already printed; see it above ...] at freemarker.core.EvalUtil.coerceModelToTextualCommon(EvalUtil.java:523) at freemarker.core.EvalUtil.coerceModelToStringOrMarkup(EvalUtil.java:401) at freemarker.core.EvalUtil.coerceModelToStringOrMarkup(EvalUtil.java:370) at freemarker.core.DollarVariable.calculateInterpolatedStringOrMarkup(DollarVariable.java:100) at freemarker.core.DollarVariable.accept(DollarVariable.java:63) at freemarker.core.Environment.visit(Environment.java:331) at freemarker.core.Environment.visit(Environment.java:337) at freemarker.core.Environment.include(Environment.java:2694) at freemarker.core.Include.accept(Include.java:171) at freemarker.core.Environment.visit(Environment.java:331) at freemarker.core.Environment.visit(Environment.java:373) at freemarker.core.Environment.invokeMacroOrFunctionCommonPart(Environment.java:872) at freemarker.core.Environment.invokeMacro(Environment.java:809) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:83) at freemarker.core.Environment.visit(Environment.java:331) at freemarker.core.Environment.visit(Environment.java:337) at freemarker.core.Environment.visit(Environment.java:337) at freemarker.core.Environment.include(Environment.java:2694) at freemarker.core.Include.accept(Include.java:171) at freemarker.core.Environment.visit(Environment.java:331) at freemarker.core.Environment.visit(Environment.java:373) at freemarker.core.Environment.invokeMacroOrFunctionCommonPart(Environment.java:872) at freemarker.core.Environment.invokeMacro(Environment.java:809) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:83) at freemarker.core.Environment.visit(Environment.java:367) at freemarker.core.Environment.invokeNestedContent(Environment.java:619) at freemarker.core.BodyInstruction.accept(BodyInstruction.java:60) at freemarker.core.Environment.visit(Environment.java:367) at freemarker.core.Environment.invokeMacroOrFunctionCommonPart(Environment.java:872) at freemarker.core.Environment.invokeMacro(Environment.java:809) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:83) at freemarker.core.Environment.visit(Environment.java:331) at freemarker.core.Environment.visit(Environment.java:337) at freemarker.core.Environment.process(Environment.java:310) at freemarker.template.Template.process(Template.java:383) at org.libreccm.theming.FreeMarkerPresentationManager.servePage(FreeMarkerPresentationManager.java:283) at com.arsdigita.bebop.jsp.ShowAll.servePageWithPresentationManager(ShowAll.java:126) at com.arsdigita.bebop.jsp.ShowAll.doEndTag(ShowAll.java:90) at org.apache.jsp.templates.ccm_002dcms.content_002dsection.default_.aplaws_002ditem_jsp._jspx_meth_show_005fall_005f0(aplaws_002ditem_jsp.java:275) at org.apache.jsp.templates.ccm_002dcms.content_002dsection.default_.aplaws_002ditem_jsp._jspService(aplaws_002ditem_jsp.java:245) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:747) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:485) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:410) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:337) at com.arsdigita.dispatcher.DispatcherHelper.forwardHelper(DispatcherHelper.java:216) at com.arsdigita.dispatcher.DispatcherHelper.forwardRequestByPath(DispatcherHelper.java:245) at com.arsdigita.dispatcher.DispatcherHelper.forwardRequestByPath(DispatcherHelper.java:263) at com.arsdigita.cms.dispatcher.ContentItemDispatcher$1.excurse(ContentItemDispatcher.java:116) at com.arsdigita.cms.CMSExcursion$1.excurse(CMSExcursion.java:79) at com.arsdigita.kernel.KernelExcursion.run(KernelExcursion.java:58) at com.arsdigita.cms.CMSExcursion.run(CMSExcursion.java:86) at com.arsdigita.cms.dispatcher.ContentItemDispatcher.dispatch(ContentItemDispatcher.java:119) at com.arsdigita.cms.ContentSectionServlet.serveItem(ContentSectionServlet.java:538) at com.arsdigita.cms.ContentSectionServlet.doService(ContentSectionServlet.java:428) at com.arsdigita.web.BaseApplicationServlet$1.excurse(BaseApplicationServlet.java:131) at com.arsdigita.kernel.KernelExcursion.run(KernelExcursion.java:58) at com.arsdigita.web.BaseApplicationServlet.doService(BaseApplicationServlet.java:138) at com.arsdigita.web.BaseServlet$1.excurse(BaseServlet.java:180) at com.arsdigita.kernel.KernelExcursion.run(KernelExcursion.java:58) at com.arsdigita.web.BaseServlet.internalService(BaseServlet.java:197) at com.arsdigita.web.BaseServlet.doGet(BaseServlet.java:286) at javax.servlet.http.HttpServlet.service(HttpServlet.java:624) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:747) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:485) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:410) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:337) at com.arsdigita.web.CCMDispatcherServlet.forward(CCMDispatcherServlet.java:377) at com.arsdigita.web.CCMDispatcherServlet.forward(CCMDispatcherServlet.java:349) at com.arsdigita.web.CCMDispatcherServlet.doService(CCMDispatcherServlet.java:261) at com.arsdigita.web.BaseServlet$1.excurse(BaseServlet.java:180) at com.arsdigita.kernel.KernelExcursion.run(KernelExcursion.java:58) at com.arsdigita.web.BaseServlet.internalService(BaseServlet.java:197) at com.arsdigita.web.BaseServlet.doGet(BaseServlet.java:286) at javax.servlet.http.HttpServlet.service(HttpServlet.java:624) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at com.arsdigita.shortcuts.ShortcutFilter.doService(ShortcutFilter.java:78) at com.arsdigita.web.BaseFilter.doFilter(BaseFilter.java:121) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at com.arsdigita.subsite.SubsiteFilter.doService(SubsiteFilter.java:106) at com.arsdigita.web.BaseFilter.doFilter(BaseFilter.java:121) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436) at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:188) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2517) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2506) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:748)