Project

General

Profile

Actions

Bug #11447

open

Virtual Node: ошибка при изменении с Base element на Reuse

Added by Viktoria Kopach over 2 years ago.

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

0%

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

Description

1. В Properties view виртуального узла указываем Iteration method - Base element и выбираем целевой узел.
Видим, что в дереве требований у виртуального узла появились соответствующие настройкам потомки.

2. В Properties view виртуального узла меняем Iteration method на Reuse.
В Error log возникает сообщение об ошибке.

eclipse.buildId=4.6.3.M20170301-0400
java.version=1.8.0_265
java.vendor=AdoptOpenJDK
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ru_RU
Framework arguments:  -product com.unitesk.requality.product.product -perspective com.unitesk.requality.main.perspective -perspective com.unitesk.requality.main.perspective
Command-line arguments:  -os win32 -ws win32 -arch x86 -product com.unitesk.requality.product.product -perspective com.unitesk.requality.main.perspective -perspective com.unitesk.requality.main.perspective

org.eclipse.ui
Error
Mon Feb 28 14:36:24 MSK 2022
Unhandled event loop exception

org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.IllegalArgumentException: Argument cannot be null)
    at org.eclipse.swt.SWT.error(SWT.java:4533)
    at org.eclipse.swt.SWT.error(SWT.java:4448)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4211)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3827)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
Caused by: java.lang.IllegalArgumentException: Argument cannot be null
    at org.eclipse.swt.SWT.error(SWT.java:4514)
    at org.eclipse.swt.SWT.error(SWT.java:4448)
    at org.eclipse.swt.SWT.error(SWT.java:4419)
    at org.eclipse.swt.widgets.Widget.error(Widget.java:482)
    at org.eclipse.swt.widgets.Widget.checkParent(Widget.java:291)
    at org.eclipse.swt.widgets.Widget.<init>(Widget.java:158)
    at org.eclipse.swt.widgets.Control.<init>(Control.java:110)
    at org.eclipse.swt.widgets.Button.<init>(Button.java:114)
    at com.unitesk.requality.eclipse.views.properties.InstancerIteratorPropertySection.updateSpecPanel(InstancerIteratorPropertySection.java:111)
    at com.unitesk.requality.eclipse.views.properties.InstancerIteratorPropertySection.setTreeNode(InstancerIteratorPropertySection.java:763)
    at com.unitesk.requality.eclipse.views.properties.TreeNodePropertiesTab$2.run(TreeNodePropertiesTab.java:292)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
    ... 23 more

3. Далее возникают ошибки при попытке удалить виртуальный узел:

eclipse.buildId=4.6.3.M20170301-0400
java.version=1.8.0_265
java.vendor=AdoptOpenJDK
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ru_RU
Framework arguments:  -product com.unitesk.requality.product.product -perspective com.unitesk.requality.main.perspective -perspective com.unitesk.requality.main.perspective
Command-line arguments:  -os win32 -ws win32 -arch x86 -product com.unitesk.requality.product.product -perspective com.unitesk.requality.main.perspective -perspective com.unitesk.requality.main.perspective

org.eclipse.e4.ui.workbench
Error
Mon Feb 28 14:56:59 MSK 2022
Problems while accessing file for 195e8247-1129-4c4b-bfba-4e2d79eff6eb during saveAttrs. Not exists or aceess error java.lang.Thread.getStackTrace(Thread.java:1559)
com.unitesk.requality.eclipse.core.ResourceStorage.getStorageAttributes(ResourceStorage.java:254)
com.unitesk.requality.core.storage.AbstractTreeStorage.getAttributes(AbstractTreeStorage.java:220)
com.unitesk.requality.core.storage.AbstractTreeStorage.getNodeRawType(AbstractTreeStorage.java:142)
com.unitesk.requality.core.TreeDB.getNodeType(TreeDB.java:420)
com.unitesk.requality.core.TreeNode.getShownParentExc(TreeNode.java:1041)
com.unitesk.requality.eclipse.views.RequalityContentProvider$1.changed(RequalityContentProvider.java:186)
com.unitesk.requality.core.TreeDB.stopChangeRow(TreeDB.java:643)
com.unitesk.requality.eclipse.handlers.DeleteSelection$1.runInWorkspace(DeleteSelection.java:344)
org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:39)
org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

No data to display

Actions

Also available in: Atom PDF