Actions
Bug #1342
closedПадает генерация отчёта после Header Document Processor'а
Start date:
06/09/2011
Due date:
% Done:
0%
Estimated time:
Detected in build:
0.11.82
Platform:
Windows x64
Published in build:
0.11.83
Description
- Создать новый пустой проект.
- Импортировать тестовый HTML (проверялось на файле glib-Arrays-utf8.html).
- Для импортированного документа вызвать HTML Headers Document Processing, дождаться окончания генерации.
- Щёлкнуть правой кнопкой на Requirements, выбрать Generate Report..., в появившемся диалоге ничего не менять, нажать OK.
Результат: сгенерированный "отчёт" содержит крэш-трассу вместо реального отчёта. Полный текст сообщения (без HTML-шапки):
Expression report.countStats is undefined on line 119, column 18 in testcases.ftl. The problematic instruction: ---------- ==> assignment: stats=report.countStats(rootReq,null) [on line 119, column 1 in testcases.ftl] ---------- Java backtrace for programmers: ---------- freemarker.core.InvalidReferenceException: Expression report.countStats is undefined on line 119, column 18 in testcases.ftl. at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124) at freemarker.core.TemplateObject.invalidTypeException(TemplateObject.java:134) at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:114) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.Assignment.accept(Assignment.java:90) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.Environment.process(Environment.java:176) at freemarker.template.Template.process(Template.java:232) at com.unitesk.requality.report.ReportGenerator.processTemplate(ReportGenerator.java:372) at com.unitesk.requality.report.ReportGenerator.processElem(ReportGenerator.java:247) at com.unitesk.requality.report.ReportGenerator.processTemplates(ReportGenerator.java:215) at com.unitesk.requality.report.ReportGenerator.generateReport(ReportGenerator.java:187) at com.unitesk.requality.eclipse.views.actions.GenerateReportAction.run(GenerateReportAction.java:93) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
Actions