Project

General

Profile

Actions

Bug #559

closed

Пустой отчет Requirements

Added by Alexey Khoroshilov almost 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
High
Assignee:
Yuriy Shekochihin
Category:
-
Target version:
Start date:
11/15/2010
Due date:
% Done:

0%

Estimated time:
Detected in build:
0.7.43
Platform:
Published in build:
44

Description

На приложенном проекте отчет 'Requirements' генерируется пустым.


Files

Test2.tar.gz (10.9 KB) Test2.tar.gz Alexey Khoroshilov, 11/15/2010 09:41 PM
Actions #1

Updated by Alexey Khoroshilov almost 14 years ago

Возможно, эти сообщения в консоли имели к этому отношение. Замечу, что пользователь о проблемах догадаться не мог, т.к. ему просто открывался пустой файл с отчетом.

java.io.FileNotFoundException: Template reqs.ftl not found.
        at freemarker.template.Configuration.getTemplate(Configuration.java:489)
        at freemarker.template.Configuration.getTemplate(Configuration.java:466)
        at com.unitesk.requality.report.ReportGenerator.processTemplate(ReportGenerator.java:371)
        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:188)
        at com.unitesk.requality.eclipse.views.actions.GenerateReportAction.run(GenerateReportAction.java:81)
        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:1258)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161)
        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(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
Report generation completed.
(node 'Requirements'):  is true
(node 'Documents'):  is true
(node 'Types'):  is true
(node 'snd_hctl_close'):  is true
java.io.FileNotFoundException: Template reqs.ftl not found.
        at freemarker.template.Configuration.getTemplate(Configuration.java:489)
        at freemarker.template.Configuration.getTemplate(Configuration.java:466)
        at com.unitesk.requality.report.ReportGenerator.processTemplate(ReportGenerator.java:371)
        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:188)
        at com.unitesk.requality.eclipse.views.actions.GenerateReportAction.run(GenerateReportAction.java:81)
        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:1258)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161)
        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(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
Report generation completed.
(node 'Requirements'):  is true
(node 'Documents'):  is true
(node 'Types'):  is true
(node 'snd_hctl_close'):  is true
(node '01'):  is true
(node '02'):  is true
(node '04'):  is true
(node '03'):  is true
(node 'snd_hctl_close-01'):  is true
(node 'snd_hctl_close-01'):  is true
(node 'snd_hctl_close-01'):  is true
(node 'snd_hctl_close-01'):  is true
(node 'snd_hctl_close-02'):  is true
(node 'group___h_control.xhtml'):  is true
(node '74bf6360-985f-45be-be6a-10292f67cd6c'):  is true
(node '58586216-c46e-48b3-8bbd-b3e7a1ec729d'):  is true
(node '357ac667-4c01-4e4a-812c-c429d10b0d72'):  is true
(node '105d09bf-3521-4bdf-a8ee-56584fe9ace8'):  is true
(node '8eabb1e9-969d-4710-8168-bb6ecba51be6'):  is true
(node '38d91c2b-296d-451d-987f-ad62ffed7853'):  is true
Report generation completed.
(node 'Requirements'):  is true
(node 'Documents'):  is true
(node 'Types'):  is true
(node 'snd_hctl_close'):  is true
(node '01'):  is true
(node '02'):  is true
(node '04'):  is true
(node '03'):  is true
java.io.FileNotFoundException: Template reqs.ftl not found.
        at freemarker.template.Configuration.getTemplate(Configuration.java:489)
        at freemarker.template.Configuration.getTemplate(Configuration.java:466)
        at com.unitesk.requality.report.ReportGenerator.processTemplate(ReportGenerator.java:371)
        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:188)
        at com.unitesk.requality.eclipse.views.actions.GenerateReportAction.run(GenerateReportAction.java:81)
        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:1258)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161)
        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(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
Report generation completed.

Actions #2

Updated by Alexey Demakov almost 14 years ago

  • Status changed from New to Open
  • Assignee set to Alexey Khoroshilov

1. Под windows отработало нормально
2. Надо проверить наличие файла
eclipse\dropins\requality-0.7.43-alfa-101113\eclipse\plugins\com.unitesk.requality_0.7.43\templates\requirements\reqs.ftl
в дистрибутиве он есть

Actions #3

Updated by Alexey Khoroshilov almost 14 years ago

  • Assignee changed from Alexey Khoroshilov to Alexey Demakov

Поскольку установка шла через update site, то каталог dropins пуст.

Actions #4

Updated by Alexey Demakov almost 14 years ago

  • Assignee changed from Alexey Demakov to Yuriy Shekochihin

Похоже, что при установке через update site плагин requality не распаковывается, поэтому шаблон не находится.

Actions #5

Updated by Yuriy Shekochihin almost 14 years ago

  • Status changed from Open to Resolved
  • Published in build set to 44
Actions #6

Updated by Alexey Khoroshilov almost 14 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF