Auftrag kann ohne Beschreibung erstellt werden

Beschreibung

freemarker.core.NonStringOrTemplateOutputException: 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):
==> data.object.initiator.objectRef.@id [in template "template" at line 39, column 52]


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: ${data.object.initiator.objectRef.@id} [in template "template" at line 39, column 50]


  • at freemarker.core.EvalUtil.coerceModelToTextualCommon(EvalUtil.java:492)
    at freemarker.core.EvalUtil.coerceModelToStringOrMarkup(EvalUtil.java:374)
    at freemarker.core.DollarVariable.calculateInterpolatedStringOrMarkup(DollarVariable.java:96)
    at freemarker.core.DollarVariable.accept(DollarVariable.java:59)
    at freemarker.core.Environment.visit(Environment.java:327)
    at freemarker.core.Environment.visit(Environment.java:333)
    at freemarker.core.Environment.process(Environment.java:306)
    at freemarker.template.Template.process(Template.java:386)
    at com.softmodeler.server.template.TemplateUtil.processTemplate(TemplateUtil.java:90)
    at com.softmodeler.server.template.TemplateUtil.processTemplate(TemplateUtil.java:73)
    at com.softmodeler.server.processor.ProcessorUtil.processFreemarkerTemplate(ProcessorUtil.java:111)
    at com.softmodeler.server.processor.ProcessorUtil.processFreemarkerTemplate(ProcessorUtil.java:125)
    at com.softmodeler.server.processor.html.WorkJobHtmlProcessor.process(WorkJobHtmlProcessor.java:53)
    at com.softmodeler.server.processor.AbstractXmlProcessor.process(AbstractXmlProcessor.java:239)
    at com.softmodeler.server.processor.AbstractXmlProcessor.getOutput(AbstractXmlProcessor.java:164)
    at com.softmodeler.server.processor.ProcessorController.requestOutputByType(ProcessorController.java:250)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)
    at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)
    at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110)
    at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:817)
    at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:731)
    at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959)
    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)
    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:968)
    ... 65 common frames omitted

Umgebung

None

Kontaktdaten

None

Notiz

None

Status

Zugewiesene Person

Flavio Donzé

Autor

Flavio Donzé

Label

None

Auftragstyp

None

Auftragsstatus

None

Kunde

None

Vergütung

None

Betrag

None

Startdatum

None

frühester Endtermin

None

Story Points

None

Lösungsversionen

Betrifft Versionen

4.15.0

Priorität

Normal
Configure