Project

General

Profile

Actions

Bug #4613

closed

Ошибки в Error log при создании фрагментов

Added by Viktoria Kopach almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
11/26/2013
Due date:
% Done:

100%

Estimated time:
Detected in build:
0.15.194
Platform:
Windows x64
Published in build:
0.15.195

Description

1. Создаем проект.
2. Импортируем в него документ.
3. Выделяем в документе фрагмент с созданием требования 01.
4. Выделяем еще один фрагмент в то же требование 01.
5. Кликаем в Requality Explorer на узел Requirements, чтобы при выделении нового фрагмента было предложено создать требование 02.
6. В документе выделяем новый фрагмент с созданием требования 02.
В Error log появляются ошибки:
eclipse.buildId=4.3.0.M20130911-1000
java.version=1.7.0_15
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

Error
Tue Nov 26 12:50:45 GMT+04:00 2013
Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".

java.lang.NullPointerException
at com.unitesk.requality.eclipse.handlers.DeleteSelection.getLabel(DeleteSelection.java:72)
at com.unitesk.requality.eclipse.handlers.DeleteSelection.updateElement(DeleteSelection.java:60)
at org.eclipse.ui.internal.handlers.HandlerProxy.updateElement(HandlerProxy.java:456)
at org.eclipse.ui.internal.handlers.E4HandlerProxy.updateElement(E4HandlerProxy.java:120)
at org.eclipse.ui.internal.WorkbenchHandlerServiceHandler.updateElement(WorkbenchHandlerServiceHandler.java:49)
at org.eclipse.ui.internal.commands.CommandService$1.run(CommandService.java:251)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.commands.CommandService.refreshElements(CommandService.java:255)
at org.eclipse.ui.internal.commands.SlaveCommandService.refreshElements(SlaveCommandService.java:279)
at com.unitesk.requality.eclipse.Activator.updateDeleteInMenu(Activator.java:141)
at com.unitesk.requality.eclipse.Activator.setActiveNodes(Activator.java:164)
at com.unitesk.requality.eclipse.ui.cnf.RequalityCNF$3.selectionChanged(RequalityCNF.java:194)
at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:888)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:886)
at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1726)
at org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java:1139)
at org.eclipse.ui.navigator.CommonViewer.setSelection(CommonViewer.java:377)
at org.eclipse.ui.navigator.CommonNavigator.selectReveal(CommonNavigator.java:383)
at com.unitesk.requality.eclipse.editors.browser.AddSelectionToRequirement.run(AddSelectionToRequirement.java:132)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
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:1057)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4170)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
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:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
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:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)


eclipse.buildId=4.3.0.M20130911-1000
java.version=1.7.0_15
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

Error
Tue Nov 26 12:50:45 GMT+04:00 2013
Failed to update callback: org.eclipse.ui.edit.delete


eclipse.buildId=4.3.0.M20130911-1000
java.version=1.7.0_15
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

Error
Tue Nov 26 12:50:45 GMT+04:00 2013
Failed to update callback: org.eclipse.ui.edit.delete

java.lang.NullPointerException
at com.unitesk.requality.eclipse.handlers.DeleteSelection.getLabel(DeleteSelection.java:72)
at com.unitesk.requality.eclipse.handlers.DeleteSelection.updateElement(DeleteSelection.java:60)
at org.eclipse.ui.internal.handlers.HandlerProxy.updateElement(HandlerProxy.java:456)
at org.eclipse.ui.internal.handlers.E4HandlerProxy.updateElement(E4HandlerProxy.java:120)
at org.eclipse.ui.internal.WorkbenchHandlerServiceHandler.updateElement(WorkbenchHandlerServiceHandler.java:49)
at org.eclipse.ui.internal.commands.CommandService$1.run(CommandService.java:251)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.commands.CommandService.refreshElements(CommandService.java:255)
at org.eclipse.ui.internal.commands.SlaveCommandService.refreshElements(SlaveCommandService.java:279)
at com.unitesk.requality.eclipse.Activator.updateDeleteInMenu(Activator.java:141)
at com.unitesk.requality.eclipse.Activator.setActiveNodes(Activator.java:164)
at com.unitesk.requality.eclipse.ui.cnf.RequalityCNF$3.selectionChanged(RequalityCNF.java:194)
at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:888)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:886)
at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1726)
at org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java:1139)
at org.eclipse.ui.navigator.CommonViewer.setSelection(CommonViewer.java:377)
at org.eclipse.ui.navigator.CommonNavigator.selectReveal(CommonNavigator.java:383)
at com.unitesk.requality.eclipse.editors.browser.AddSelectionToRequirement.run(AddSelectionToRequirement.java:132)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
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:1057)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4170)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
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:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
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:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)

Actions #1

Updated by Denis Kildishev almost 11 years ago

  • Status changed from New to Resolved

решено в r3455, r3452

Actions #2

Updated by Denis Kildishev almost 11 years ago

  • % Done changed from 0 to 100

Applied in changeset r3455.

Actions #3

Updated by Denis Kildishev almost 11 years ago

  • Published in build set to 0.15.195
Actions #4

Updated by Viktoria Kopach almost 11 years ago

  • Status changed from Resolved to Verified
Actions #5

Updated by Denis Kildishev almost 11 years ago

  • Status changed from Verified to Resolved

Applied in changeset r3455.

Actions #6

Updated by Denis Kildishev almost 11 years ago

  • Status changed from Resolved to Verified

что-то старые тикеты перезарезолвило

Actions #7

Updated by Alexey Khoroshilov almost 11 years ago

  • Status changed from Verified to Closed
  • Target version set to 0.15
Actions

Also available in: Atom PDF