Actions
Bug #7716
closedNullPointerException при создании требования при выделении фрагмента
Start date:
11/11/2016
Due date:
% Done:
100%
Estimated time:
Detected in build:
0.21.271
Platform:
Windows x64
Published in build:
0.21.272
Description
1. в документе выделаем часть текста, на ней вызываем контекстное меню и выбираем пункт "Add to requirement...". В открывшемся окне кликаем по дереву требований (по любому узлу), возникает окно с сообщением об ошибке.
В 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.jface Error Fri Nov 11 16:56:09 MSK 2016 Problems occurred when invoking code from plug-in: "org.eclipse.jface". java.lang.NullPointerException at com.unitesk.requality.core.domproxy.LinkResolver.resolvePath(LinkResolver.java:297) at com.unitesk.requality.core.TreeDB.getNode(TreeDB.java:690) at com.unitesk.requality.core.TreeDB.getNode(TreeDB.java:680) at com.unitesk.requality.nodetypes.Requirement.getLocation(Requirement.java:98) at com.unitesk.requality.eclipse.editors.browser.AddSelectionToRequirement$1.canSelect(AddSelectionToRequirement.java:172) at com.unitesk.requality.eclipse.ui.dialogs.TreeViewerDialog.updateUI(TreeViewerDialog.java:123) at com.unitesk.requality.eclipse.ui.dialogs.SelectNodeDialog.select(SelectNodeDialog.java:325) at com.unitesk.requality.eclipse.ui.dialogs.SelectNodeDialog$NodeSelectionListener.selectionChanged(SelectNodeDialog.java:73) at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:163) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:178) at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:160) at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2171) at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1202) at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1231) at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:242) at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:236) at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:408) 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.jface.window.Window.runEventLoop(Window.java:832) at org.eclipse.jface.window.Window.open(Window.java:808) at com.unitesk.requality.eclipse.ui.dialogs.SelectNodeDialog.open(SelectNodeDialog.java:197) at com.unitesk.requality.eclipse.editors.browser.AddSelectionToRequirement.createTargetRequirement(AddSelectionToRequirement.java:181) at com.unitesk.requality.eclipse.editors.browser.AddSelectionToRequirement.run(AddSelectionToRequirement.java:127) at org.eclipse.jface.action.Action.runWithEvent(Action.java:519) 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)
Actions