Project

General

Profile

Actions

Bug #12177

open

В отчете "Анализ покрытия требований" не всегда работает кнопка "Add test"

Added by Viktoria Kopach almost 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
02/10/2023
Due date:
% Done:

0%

Estimated time:
Detected in build:
1.4.766
Platform:
Windows x64
Published in build:

Description

1. Генерируем отчет "Анализ покрытия требований" для двух связанных проектов.
2. Открываем отчет и переходим на страничку отчета для связанного проекта (не того, в котором был создан отчет).
3. Нажимаем на кнопку "Add test" у одного из узлов.
Окно для добавления теста не появляется, но в Error log возникает сообщение об ошибке (иногда случается не с первого нажатия кнопки):

eclipse.buildId=4.26.0.20230203-0825
java.version=17.0.6
java.vendor=Eclipse Adoptium
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=ru_RU
Framework arguments:  -product com.unitesk.requality.product.product -perspective com.unitesk.requality.main.perspective
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product com.unitesk.requality.product.product -perspective com.unitesk.requality.main.perspective

org.eclipse.ui
Error
Fri Feb 10 19:19:18 MSK 2023
Unhandled event loop exception

java.lang.NullPointerException: Cannot invoke "com.unitesk.requality.core.model.TreeNode.getType()" because "target" is null
    at com.unitesk.reqcoverage.tests.NewTestGenerator.isEnabled(NewTestGenerator.java:51)
    at com.unitesk.requality.tests.TestDialogProvider.fireTestCreation(TestDialogProvider.java:88)
    at com.unitesk.requality.eclipse.ui.dialogs.EclipseModalMessageConsumer$7.run(EclipseModalMessageConsumer.java:239)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:132)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4029)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3645)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
    at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:643)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:550)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:171)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:402)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1467)

No data to display

Actions

Also available in: Atom PDF