Project

General

Profile

Actions

Bug #8146

closed

Ошибка при удалении текста Alternative Description

Added by Viktoria Kopach over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
04/24/2017
Due date:
% Done:

100%

Estimated time:
Detected in build:
0.21.315
Platform:
Windows x64
Published in build:
0.21.492

Description

У требования в Properties view в Alternative Descriptionесть некоторый текст.
Выделяем его весь и удаляем.
Переключаемся на вкладку Main. Возникает окно с сообщением об ошибке: An error has occurred. See error log for more details.
java.lang.NullPointerException

В Error log ошибка:

eclipse.buildId=4.4.2.M20150204-1700
java.version=1.8.0_121
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
Mon Apr 24 12:14:00 MSK 2017
Problems occurred when invoking code from plug-in: "org.eclipse.jface".

java.lang.NullPointerException
    at com.unitesk.requality.core.TreeNode.reactBeforeAttributeChange(TreeNode.java:1150)
    at com.unitesk.requality.core.TreeDB$5.changed(TreeDB.java:2107)
    at com.unitesk.requality.core.transaction.TransactionStorage.saveAttributes(TransactionStorage.java:236)
    at com.unitesk.requality.core.TreeDB.saveAttributes(TreeDB.java:1082)
    at com.unitesk.requality.core.TreeNode.rawSaveAttributes(TreeNode.java:106)
    at com.unitesk.requality.core.attribute.AttributeStorage.rawSaveAttributes(AttributeStorage.java:724)
    at com.unitesk.requality.core.attribute.AttributeStorage.saveAttributes(AttributeStorage.java:685)
    at com.unitesk.requality.core.TreeNode.saveAttributes(TreeNode.java:2193)
    at com.unitesk.requality.eclipse.views.properties.TreeNodePropertiesTab$DescriptionFocusAdapter.focusLost(TreeNodePropertiesTab.java:97)
    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.Display.sendEvent(Display.java:4353)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1066)
    at org.eclipse.swt.widgets.Control.sendFocusEvent(Control.java:2841)
    at org.eclipse.swt.widgets.Widget.wmKillFocus(Widget.java:1943)
    at org.eclipse.swt.widgets.Control.WM_KILLFOCUS(Control.java:4983)
    at org.eclipse.swt.widgets.Canvas.WM_KILLFOCUS(Canvas.java:442)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4644)
    at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:339)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:5036)
    at org.eclipse.swt.internal.win32.OS.SetFocus(Native Method)
    at org.eclipse.swt.widgets.Control.forceFocus(Control.java:1097)
    at org.eclipse.swt.widgets.Control.setFocus(Control.java:3322)
    at org.eclipse.swt.widgets.Composite.setFocus(Composite.java:1041)
    at org.eclipse.swt.widgets.Control.fixFocus(Control.java:1052)
    at org.eclipse.swt.widgets.Control.setVisible(Control.java:3818)
    at org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage$SelectionChangedListener.hideTab(TabbedPropertySheetPage.java:259)
    at org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage$SelectionChangedListener.selectionChanged(TabbedPropertySheetPage.java:200)
    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.Widget.sendEvent(Widget.java:1085)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1070)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:782)
    at org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyList.select(TabbedPropertyList.java:864)
    at org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyList$2.mouseUp(TabbedPropertyList.java:175)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:220)
    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)

Если закрыть сообщение об ошибке и снова вернуться на вкладку Description, то она будет пустая, просто белый фон без каких-либо элементов.
Если снова в RE выделить требование и снова попереключаться в Properties view, то все свойства снова видно, но текст Alternative Description не удалился.

Actions #1

Updated by Viktoria Kopach over 7 years ago

  • Description updated (diff)
Actions #2

Updated by Denis Kildishev over 7 years ago

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

В svn версии уже не воспроизводится. возможно аналогично в билде

Actions #3

Updated by Alexey Khoroshilov over 7 years ago

  • Target version set to 0.21
Actions #4

Updated by Denis Kildishev over 6 years ago

  • Published in build set to 0.21.492
Actions #5

Updated by Viktoria Kopach over 6 years ago

  • Status changed from Resolved to Verified
Actions #6

Updated by Alexey Khoroshilov over 6 years ago

  • Status changed from Verified to Closed
Actions

Also available in: Atom PDF