Project

General

Profile

Bug #7781

NullPointerException после удаления виртуального узла

Added by Viktoria Kopach almost 4 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
12/06/2016
Due date:
% Done:

100%

Estimated time:
Detected in build:
0.21.275
Platform:
Windows x64
Published in build:
0.21.279

Description

1. В проекте есть требования 01 и 02.
2. У требования 02 создаем ребенка - виртуальный узел и назначаем ему таргетом узел 01.
3. Удаляем узел 02.
4. Кликаем на Requirements и создаем новый узел.

Новый узел не появляется, в Error log ошибка:

eclipse.buildId=4.4.1.M20140925-0400
java.version=1.8.0_101
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ru_RU
Framework arguments:  -product org.eclipse.epp.package.standard.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.standard.product

org.eclipse.ui
Error
Tue Dec 06 18:40:46 MSK 2016
Unhandled event loop exception

java.lang.NullPointerException
    at com.unitesk.requality.nodetypes.VirtualNode$2.created(VirtualNode.java:363)
    at com.unitesk.requality.core.TreeChangeListener.created(TreeChangeListener.java:15)
    at com.unitesk.requality.core.TreeDB$5.created(TreeDB.java:1308)
    at com.unitesk.requality.core.transaction.TransactionStorage.createNode(TransactionStorage.java:164)
    at com.unitesk.requality.core.AbstractTreeStorage.createNode(AbstractTreeStorage.java:74)
    at com.unitesk.requality.core.TreeDB.createChildNode(TreeDB.java:497)
    at com.unitesk.requality.core.TreeDB.createChildNode(TreeDB.java:474)
    at com.unitesk.requality.core.TreeNode.createChild(TreeNode.java:830)
    at com.unitesk.requality.eclipse.handlers.NewElementHandler.execute(NewElementHandler.java:93)
    at com.unitesk.requality.eclipse.views.actions.NewTypedTemplatedMenuPoint.runWithEvent(NewTypedTemplatedMenuPoint.java:27)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
    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:380)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
    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:648)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1465)

History

#1

Updated by Denis Kildishev almost 4 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
  • Published in build set to 0_21_279
#2

Updated by Denis Kildishev almost 4 years ago

  • Published in build changed from 0_21_279 to 0.21.279
#3

Updated by Viktoria Kopach almost 4 years ago

  • Status changed from Resolved to Verified
#4

Updated by Alexey Khoroshilov almost 4 years ago

  • Target version set to 0.21
#5

Updated by Alexey Khoroshilov about 2 years ago

  • Status changed from Verified to Closed

Also available in: Atom PDF