Project

General

Profile

Actions

Bug #1784

closed

Ошибка при сохранении и удалении требований

Added by Anastasia Tugaenko over 12 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Start date:
09/16/2011
Due date:
% Done:

100%

Estimated time:
Detected in build:
0.12.110
Platform:
Windows x64
Published in build:
0.13.114

Description

При сохранении и удалении требований возникает ошибка:
java.lang.NullPointerException
at com.unitesk.requality.eclipse.views.properties.AltDescriptionPropertySection.setTreeNode(AltDescriptionPropertySection.java:194)
at com.unitesk.requality.eclipse.views.properties.TreeNodePropertiesTab$3.run(TreeNodePropertiesTab.java:112)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4683)
at com.unitesk.requality.eclipse.views.properties.TreeNodePropertiesTab.setTreeNodeSafe(TreeNodePropertiesTab.java:108)
at com.unitesk.requality.eclipse.views.properties.TreeNodePropertiesTab.access$000(TreeNodePropertiesTab.java:33)
at com.unitesk.requality.eclipse.views.properties.TreeNodePropertiesTab$1.deleted(TreeNodePropertiesTab.java:47)
at com.unitesk.requality.core.TreeDB$1.deleted(TreeDB.java:90)
at com.unitesk.requality.eclipse.core.DeltaProcessor.processDelta(DeltaProcessor.java:106)
at com.unitesk.requality.eclipse.core.DeltaProcessor.resourceChanged(DeltaProcessor.java:57)
at org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:291)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:395)
at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1530)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2353)
at com.unitesk.requality.eclipse.core.ResourceStorage.remove(ResourceStorage.java:304)
at com.unitesk.requality.core.TreeNode.removeChild(TreeNode.java:95)
at com.unitesk.requality.core.TreeNode.delete(TreeNode.java:175)
at com.unitesk.requality.eclipse.editors.browser.ReqMarker.removeLocation(ReqMarker.java:560)
at com.unitesk.requality.eclipse.editors.browser.ReqMarker.removeLocation(ReqMarker.java:532)
at com.unitesk.requality.eclipse.editors.browser.RemoveLocationFromRequirement.run(RemoveLocationFromRequirement.java:51)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

Actions #1

Updated by Alexey Khoroshilov over 12 years ago

  • Target version changed from 0.12 to 0.13
Actions #2

Updated by Alexey Khoroshilov over 12 years ago

Ошибка воспроизводится при добавлении к текущему требоованию ещё одного location'а, если для этого требования открыто Properties на вкладке Description.

Actions #3

Updated by Anastasia Tugaenko over 12 years ago

Воспроизводится именно при открытом окне Properties на вкладке Description. Добавляется новое требование или еще один location к уже существующему требованию в данном случае не важно.

Actions #4

Updated by Yuriy Shekochihin over 12 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r2317.

Actions #5

Updated by Alexey Demakov over 12 years ago

  • Assignee set to Viktoria Kopach
  • Published in build set to 0.13.114
Actions #6

Updated by Viktoria Kopach over 12 years ago

  • Status changed from Resolved to Verified
  • Assignee changed from Viktoria Kopach to Alexey Khoroshilov
Actions #7

Updated by Alexey Khoroshilov over 11 years ago

  • Status changed from Verified to Closed
Actions

Also available in: Atom PDF