Project

General

Profile

Actions

Bug #12738

open

Ошибка при генерации отчета типа - Анализ покрытия требований

Added by Радек Мария about 1 year ago. Updated 5 months ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
Start date:
11/09/2023
Due date:
% Done:

100%

Estimated time:
Detected in build:
git
Platform:
Published in build:
1.4.864

Description

При попытке сгенерировать отчет Анализ покрытия требований без установки каких-либо дополнительных параметров формирование завершается ошибкой

freemarker.core._MiscTemplateException: When calling macro "showheader", required parameter "noHeader" (parameter #2) was not specified. 
---- Tip: If the omission was deliberate, you may consider making the parameter optional in the macro by specifying a default value for it, like <#macro macroName paramName=defaultExpr>) 
---- 
---- FTL stack trace ("~" means nesting-related):
- Failed at: #macro showheader req noHeader [in template "lib/comInfoTable.ftl" in macro "showheader" at line 107, column 1]
- Reached through: @showheader rootReq [in template "coverage/cov.ftl" at line 580, column 1] 
---- FreeMarker template error: When calling macro "showheader", required parameter "noHeader" (parameter #2) was not specified. 
---- Tip: If the omission was deliberate, you may consider making the parameter optional in the macro by specifying a default value for it, like <#macro macroName paramName=defaultExpr>) 
---- 
---- FTL stack trace ("~" means nesting-related):
- Failed at: #macro showheader req noHeader [in template "lib/comInfoTable.ftl" in macro "showheader" at line 107, column 1]
- Reached through: @showheader rootReq [in template "coverage/cov.ftl" at line 580, column 1] 
---- Java stack trace (for programmers): 
---- freemarker.core._MiscTemplateException: [... Exception message was already printed; see it above ...]
at freemarker.core.Macro$Context.sanityCheck(Macro.java:221)at freemarker.core.Environment.invoke(Environment.java:774)
at freemarker.core.UnifiedCall.accept(UnifiedCall.java:83)at freemarker.core.Environment.visit(Environment.java:330)
at freemarker.core.Environment.visit(Environment.java:336)at freemarker.core.Environment.process(Environment.java:309)
at freemarker.template.Template.process(Template.java:384)at com.unitesk.requality.report.ReportGenerator$1.process(ReportGenerator.java:205)
at com.unitesk.requality.report.ReportGenerator.generateReport(ReportGenerator.java:179)
at com.unitesk.requality.core.operation.GenerateReportHandler.actualGenerateReport(GenerateReportHandler.java:410)
at com.unitesk.requality.core.operation.GenerateReportHandler.execute(GenerateReportHandler.java:148)
at com.unitesk.requality.core.operation.GenerateReportHandler.execute(GenerateReportHandler.java:158)
at com.unitesk.requality.eclipse.handlers.report.GenerateReportHandler.execute(GenerateReportHandler.java:194)
at com.unitesk.requality.api.services.report.ReportSettingsService$1.run(ReportSettingsService.java:282)
at java.base/java.lang.Thread.run(Thread.java:833) 

Version: 1.4.836.202310301830
Build id: 5071a1a05ecf208efbeefeb8d31722c593ce112c on HEAD, built at 30.10.2023 18:30:01

Для воспроизведения ошибки необходимо создать новый файл Report Settings и только поменять Template на - Анализ покрытия требований.
После этого запустить генерацию, которая завершиться ошибкой.

Actions

Also available in: Atom PDF