Bug #13072
openПосле попытки удалить значение Name требования - комплекс странного поведения
100%
Description
Перед описанными ниже действиями был совершен профилактический рестарт.
Создано новое требование первого уровня (в корне), изменено его поле Name, после чего изменен ID, после чего попытка стереть значение в поле Name – приводит к ошибке 1, воспроизводилось.
При этом после описанной ситуации при попытке создания нового требования на том же уровне (в корне) выпала ошибка 2 про Unhandled event loop exception, требование не создалось.
Вложенные требования в требованиях, которые были созданы раньше, создавались без ошибок.
Далее был совершен новый рестарт, после которого оказалось, что проект пуст, но существует, хотя удалений объектов вручную не производилось.
Ошибка 1:
eclipse.buildId=4.26.0.20240520-1757
java.version=21.0.3
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 -product com.unitesk.requality.product.product -perspective com.unitesk.requality.main.perspective -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 -product com.unitesk.requality.product.product -perspective com.unitesk.requality.main.perspective -data file:/D:/_NG/requality/testing/requality-1.4.859/workspace/ -product com.unitesk.requality.product.product -perspective com.unitesk.requality.main.perspective
org.eclipse.core.jobs
Error
Tue May 28 18:02:30 MSK 2024
An internal error occurred during: "Update name for ttt".
java.lang.NullPointerException: Cannot invoke "com.unitesk.requality.core.attribute.AttributeDefinition.getRawValue()" because "ad" is null
at com.unitesk.requality.core.model.TreeNode.reactBeforeAttributeChange(TreeNode.java:1488)
at com.unitesk.requality.core.model.TreeDB.addAttrsRec(TreeDB.java:3353)
at com.unitesk.requality.core.attribute.AttributeStorage.commitAttributes(AttributeStorage.java:669)
at com.unitesk.requality.core.model.TreeNode.commitAttributes(TreeNode.java:2608)
at com.unitesk.requality.eclipse.views.panels.NameEditPanel$1$1.runInWorkspace(NameEditPanel.java:52)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:43)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Ошибка 2:
eclipse.buildId=4.26.0.20240520-1757
java.version=21.0.3
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 -product com.unitesk.requality.product.product -perspective com.unitesk.requality.main.perspective -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 -product com.unitesk.requality.product.product -perspective com.unitesk.requality.main.perspective -data file:/D:/_NG/requality/testing/requality-1.4.859/workspace/ -product com.unitesk.requality.product.product -perspective com.unitesk.requality.main.perspective
org.eclipse.ui
Error
Tue May 28 18:06:44 MSK 2024
Unhandled event loop exception
java.lang.NullPointerException: Cannot invoke "com.unitesk.requality.core.attribute.AttributeDefinition.getRawValue()" because "ad" is null
at com.unitesk.requality.core.model.TreeNode.reactBeforeAttributeChange(TreeNode.java:1488)
at com.unitesk.requality.core.model.TreeDB.addAttrsRec(TreeDB.java:3353)
at com.unitesk.requality.core.attribute.AttributeStorage.commitAttributes(AttributeStorage.java:669)
at com.unitesk.requality.core.model.TreeNode.commitAttributes(TreeNode.java:2608)
at com.unitesk.requality.core.propagator.PositionChangePropagator.apply(PositionChangePropagator.java:54)
at com.unitesk.requality.core.model.TreeDB.commitAttributes(TreeDB.java:1525)
at com.unitesk.requality.core.attribute.AttributeStorage.saveAttributes(AttributeStorage.java:700)
at com.unitesk.requality.core.attribute.AttributeStorage.commitAttributes(AttributeStorage.java:681)
at com.unitesk.requality.core.model.TreeNode.commitAttributes(TreeNode.java:2608)
at com.unitesk.requality.core.model.TreeNode.addChildUUID(TreeNode.java:315)
at com.unitesk.requality.core.model.TreeNode.addChildUUID(TreeNode.java:296)
at com.unitesk.requality.core.model.TreeDB$6.created(TreeDB.java:2621)
at com.unitesk.requality.core.transaction.TransactionStorage.createStorageNode(TransactionStorage.java:308)
at com.unitesk.requality.core.storage.AbstractTreeStorage.createNode(AbstractTreeStorage.java:222)
at com.unitesk.requality.core.storage.AbstractTreeStorage.createNode(AbstractTreeStorage.java:159)
at com.unitesk.requality.core.model.TreeDB.createChildNode(TreeDB.java:848)
at com.unitesk.requality.core.model.TreeDB.createChildNode(TreeDB.java:820)
at com.unitesk.requality.core.model.TreeNode.createChild(TreeNode.java:1416)
at com.unitesk.requality.core.operation.create.CreateElementOperation.execute(CreateElementOperation.java:115)
at com.unitesk.requality.core.operation.create.CreateNode.call(CreateNode.java:13)
at com.unitesk.requality.eclipse.views.actions.NewTypedTemplatedMenuPoint.runWithEvent(NewTypedTemplatedMenuPoint.java:44)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:580)
at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:414)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4256)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1066)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4054)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3642)
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.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
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)
Files
Updated by Denis Kildishev 6 months ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset requality|fee94d2a5ec9b4b29a5066007df3f2a0e309835d.