Project

General

Profile

Actions

Bug #1342

closed

Падает генерация отчёта после Header Document Processor'а

Added by Константин Власов almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
High
Category:
-
Target version:
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

  1. Создать новый пустой проект.
  2. Импортировать тестовый HTML (проверялось на файле glib-Arrays-utf8.html).
  3. Для импортированного документа вызвать HTML Headers Document Processing, дождаться окончания генерации.
  4. Щёлкнуть правой кнопкой на 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 #1

Updated by Alexey Demakov almost 13 years ago

  • Assignee set to Yuriy Shekochihin
  • Target version set to 0.11
Actions #2

Updated by Yuriy Shekochihin almost 13 years ago

fixed in r1987

Actions #3

Updated by Yuriy Shekochihin almost 13 years ago

  • Status changed from New to Resolved
Actions #4

Updated by Alexey Demakov almost 13 years ago

  • Published in build set to 0.11.83
Actions #5

Updated by Viktoria Kopach almost 13 years ago

  • Status changed from Resolved to Verified
Actions #6

Updated by Viktoria Kopach almost 13 years ago

  • Assignee changed from Yuriy Shekochihin to Alexey Khoroshilov
Actions #7

Updated by Alexey Khoroshilov almost 13 years ago

  • Status changed from Verified to Closed
Actions

Also available in: Atom PDF