Project

General

Profile

Actions

Bug #3222

closed

При изменении id меняется тип узла - дубль 2

Added by Viktoria Kopach over 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Start date:
07/17/2012
Due date:
% Done:

100%

Estimated time:
Detected in build:
0.13.164
Platform:
Windows x64
Published in build:
0.14.169

Description

1. Создаем требования:
01
--01
2. Меняем первого на 01zzz.
3. Меняем id его подтребования на 01zzz.
Тип узла меняется на непонятный.

Возникает окно с ошибкой:
An error has occurred when activating this view
java.lang.NullPointerException

В Error log view такая ошибка:
eclipse.buildId=M20120208-0800
java.version=1.7.0_02
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ru_RU
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.java.product

Error
Tue Jul 17 20:28:29 MSK 2012
Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".

java.lang.NullPointerException
at com.unitesk.requality.core.TreeNode.getSortedChildren(TreeNode.java:339)
at com.unitesk.requality.core.TreeNode.getSortedChildren(TreeNode.java:332)
at com.unitesk.requality.eclipse.views.properties.MainPropertySection.isReqIdOk(MainPropertySection.java:141)
at com.unitesk.requality.eclipse.views.properties.MainPropertySection$1.modifyText(MainPropertySection.java:67)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:179)
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.Widget.sendEvent(Widget.java:1077)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1058)
at org.eclipse.swt.widgets.Text.wmCommandChild(Text.java:2610)
at org.eclipse.swt.widgets.Control.WM_COMMAND(Control.java:4669)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4531)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4972)
at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2425)
at org.eclipse.swt.widgets.Text.callWindowProc(Text.java:255)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4623)
at org.eclipse.swt.widgets.Text.windowProc(Text.java:2254)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4972)
at org.eclipse.swt.internal.win32.OS.SetWindowTextW(Native Method)
at org.eclipse.swt.internal.win32.OS.SetWindowText(OS.java:3446)
at org.eclipse.swt.widgets.Text.setText(Text.java:1977)
at com.unitesk.requality.eclipse.views.properties.MainPropertySection.setTreeNode(MainPropertySection.java:162)
at com.unitesk.requality.eclipse.views.properties.TreeNodePropertiesTab$3.run(TreeNodePropertiesTab.java:136)
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:132)
at com.unitesk.requality.eclipse.views.properties.TreeNodePropertiesTab.access$000(TreeNodePropertiesTab.java:40)
at com.unitesk.requality.eclipse.views.properties.TreeNodePropertiesTab$1.changed(TreeNodePropertiesTab.java:65)
at com.unitesk.requality.core.TreeChangeListener.changed(TreeChangeListener.java:7)
at com.unitesk.requality.core.TreeDB.fireNodeChange(TreeDB.java:546)
at com.unitesk.requality.core.TreeDB$2.changed(TreeDB.java:443)
at com.unitesk.requality.core.transaction.TransactionStorage.changeNodeId(TransactionStorage.java:194)
at com.unitesk.requality.core.TreeDB.setId(TreeDB.java:93)
at com.unitesk.requality.core.TreeNode.setId(TreeNode.java:73)
at com.unitesk.requality.nodetypes.Requirement.setId(Requirement.java:129)
at com.unitesk.requality.eclipse.views.properties.MainPropertySection$2.focusLost(MainPropertySection.java:92)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:143)
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.Widget.sendEvent(Widget.java:1077)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1058)
at org.eclipse.swt.widgets.Control.sendFocusEvent(Control.java:2822)
at org.eclipse.swt.widgets.Widget.wmKillFocus(Widget.java:1921)
at org.eclipse.swt.widgets.Control.WM_KILLFOCUS(Control.java:4900)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4562)
at org.eclipse.swt.widgets.Text.windowProc(Text.java:2254)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4985)
at org.eclipse.swt.internal.win32.OS.SetFocus(Native Method)
at org.eclipse.swt.widgets.Control.forceFocus(Control.java:1098)
at org.eclipse.swt.widgets.Control.setFocus(Control.java:3303)
at org.eclipse.swt.widgets.Composite.setFocus(Composite.java:1040)
at org.eclipse.ui.navigator.CommonNavigator.setFocus(CommonNavigator.java:368)
at org.eclipse.ui.internal.PartPane.setFocus(PartPane.java:332)
at org.eclipse.ui.internal.WorkbenchPage$3.run(WorkbenchPage.java:703)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.runtime.Platform.run(Platform.java:888)
at org.eclipse.ui.internal.WorkbenchPage.activatePart(WorkbenchPage.java:698)
at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3632)
at org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:3159)
at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:279)
at org.eclipse.ui.internal.PartPane.handleEvent(PartPane.java:237)
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.Widget.sendEvent(Widget.java:1077)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1058)
at org.eclipse.swt.widgets.Shell.setActiveControl(Shell.java:1447)
at org.eclipse.swt.widgets.Shell.WM_MOUSEACTIVATE(Shell.java:2320)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4572)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1610)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2061)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4985)
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2526)
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:80)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4623)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4985)
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2526)
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:80)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4623)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4985)
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2526)
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:80)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4623)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4985)
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2526)
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:80)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4623)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4985)
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2526)
at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:1441)
at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5838)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4985)
at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2425)
at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:1533)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4623)
at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5937)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4985)
at org.eclipse.swt.internal.win32.OS.PeekMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.PeekMessage(OS.java:3114)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3749)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
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)

Подобная ошибка была в старом, уже закрытом тикете http://forge.ispras.ru/issues/2850


Files

unknown_node.png (6.69 KB) unknown_node.png Viktoria Kopach, 07/17/2012 08:31 PM
Actions #1

Updated by Андрей Третьяков about 12 years ago

  • Status changed from New to Resolved
  • Assignee set to Андрей Третьяков
  • Target version set to 0.14
  • % Done changed from 0 to 100
  • Published in build set to 0.14.169

Не воспроизводится.
Возможно, было уже исправлено в r2993. В этом случае, связанный баг #3321.

Actions #2

Updated by Viktoria Kopach about 12 years ago

  • Status changed from Resolved to Verified
  • Assignee changed from Андрей Третьяков to Alexey Khoroshilov
Actions #3

Updated by Alexey Khoroshilov almost 12 years ago

  • Status changed from Verified to Closed
Actions

Also available in: Atom PDF