Q7

Error log verification

Details

  • Type: New Feature New Feature
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: 1.3.x
  • Component/s: None
  • Labels:
    None
  • Test Mode:
    Q7
  • Q7 test:
    see tests with verification/Error Log tag

Description

User should be able to define a requirement on errors logged during test execution.

Verification should pass if no error selected with user provided criteria appeared in the Error Log during execution.

Entry selection
Verification should only consider selected log entires. Entries can be selected with:
1.1. A pattern of plugin or message.
1.2. Severity of a message.

Side effects
2.1. Verification should work without opening error log view.
2.2. Log filters should be ignored during verification.

Future
3.1. Optionally negate verification (selected error should be present).
3.2. Check error count (not just presence)

UI mockup

Issue Links

Activity

Hide
Ulyana Skorokhodova added a comment - 14/Jan/14 12:14 PM - edited

Detected issues:

1) Wrong window title: Should be "New Verification" instead of "New Context Wizard";
2) Error log verification doesn't have an icon in "New..." dialog;
3) Verification captures all entries starting from the very first test launch, even if clear-log comand was applied;
4) Shouldn't be "Entry null" in Execution Failure message (when "Deny" entry is found and verification is failed the following error message is shown: "Error log verification failed:
Log entry
Status INFO: org.eclipse.ui code=0 Info Entry null
is denied by predicate
INFO, plugin: org.eclipse.ui, message: Info Entry")
5) Multiple DragnDrop doesn't work for entries between tables;
6) Cut/Paste and Copy/Paste works equally for entries;
7) .ArrayIndexOutOfBoundsException when I drag an entry from "Allow" to "Deny" and back to "Allow".
8) "Widget is disposed" is thrown when you add any antry after you edit verification's name and press Ctrl+S;
9) Need to delete spaces from Plugin Pattern field right after it is edited;
10) Plugin Code field is cleaned if you put any spaces when you edit it, e.g. "7 " (works only if you edit empty field);
11) Verification takes into account exceptions thrown during contexs execution.

Show
Ulyana Skorokhodova added a comment - 14/Jan/14 12:14 PM - edited Detected issues: 1) Wrong window title: Should be "New Verification" instead of "New Context Wizard"; 2) Error log verification doesn't have an icon in "New..." dialog; 3) Verification captures all entries starting from the very first test launch, even if clear-log comand was applied; 4) Shouldn't be "Entry null" in Execution Failure message (when "Deny" entry is found and verification is failed the following error message is shown: "Error log verification failed: Log entry Status INFO: org.eclipse.ui code=0 Info Entry null is denied by predicate INFO, plugin: org.eclipse.ui, message: Info Entry") 5) Multiple DragnDrop doesn't work for entries between tables; 6) Cut/Paste and Copy/Paste works equally for entries; 7) .ArrayIndexOutOfBoundsException when I drag an entry from "Allow" to "Deny" and back to "Allow". 8) "Widget is disposed" is thrown when you add any antry after you edit verification's name and press Ctrl+S; 9) Need to delete spaces from Plugin Pattern field right after it is edited; 10) Plugin Code field is cleaned if you put any spaces when you edit it, e.g. "7 " (works only if you edit empty field); 11) Verification takes into account exceptions thrown during contexs execution.
Hide
Ulyana Skorokhodova added a comment - 14/Jan/14 12:34 PM

Error Log Verification Edior has only Description section.

Show
Ulyana Skorokhodova added a comment - 14/Jan/14 12:34 PM Error Log Verification Edior has only Description section.
Hide
Vasili Gulevich added a comment - 14/Jan/14 2:52 PM
Show
Vasili Gulevich added a comment - 14/Jan/14 2:52 PM Fixed in http://build.xored.com/browse/Q7-Q7D13-508
Hide
Ulyana Skorokhodova added a comment - 14/Jan/14 5:04 PM - edited

See #3 in comments: verification "listens" all entries starting from the very first test execution - it doesn't exclude previous execution's entries.

UPD: Works when a test case doesn't contain a varification - and it is launched separately.

Show
Ulyana Skorokhodova added a comment - 14/Jan/14 5:04 PM - edited See #3 in comments: verification "listens" all entries starting from the very first test execution - it doesn't exclude previous execution's entries. UPD: Works when a test case doesn't contain a varification - and it is launched separately.
Hide
Vasili Gulevich added a comment - 14/Jan/14 5:41 PM - edited

#4 May be left as it is - null means absence of associated exception and

Status INFO: org.eclipse.ui code=0 Info Entry null

is a canonical eclipse way to represent log entries.

Show
Vasili Gulevich added a comment - 14/Jan/14 5:41 PM - edited #4 May be left as it is - null means absence of associated exception and
Status INFO: org.eclipse.ui code=0 Info Entry null
is a canonical eclipse way to represent log entries.
Hide
Vasili Gulevich added a comment - 14/Jan/14 6:00 PM - edited

Fixed #1 and #5

Show
Vasili Gulevich added a comment - 14/Jan/14 6:00 PM - edited Fixed #1 and #5
Hide
Vasili Gulevich added a comment - 15/Jan/14 6:38 PM - edited

Fixed #7, #9 and #10

Show
Vasili Gulevich added a comment - 15/Jan/14 6:38 PM - edited Fixed #7, #9 and #10
Hide
Ulyana Skorokhodova added a comment - 16/Jan/14 10:42 AM

#8 is still reproducible on Q7-D13-515.
Steps to reproduce:

1. Open verification;
2. Type any text into "Name" field;
3. Press Ctrl+S;
4. Add new entry into "Require".

Show
Ulyana Skorokhodova added a comment - 16/Jan/14 10:42 AM #8 is still reproducible on Q7-D13-515. Steps to reproduce: 1. Open verification; 2. Type any text into "Name" field; 3. Press Ctrl+S; 4. Add new entry into "Require".
Hide
Vasili Gulevich added a comment - 16/Jan/14 11:15 AM

Fixed #8

Show
Vasili Gulevich added a comment - 16/Jan/14 11:15 AM Fixed #8
Hide
Ulyana Skorokhodova added a comment - 16/Jan/14 3:46 PM

#8: Widget is disposed is not thrown anymore, but if you run Q7 test(ErrLogVerification_Widget is disposed is thrown when you add any antry after you edit verification's name and press Ctrl+S) the following exception is thrown:

com.xored.q7.core.model.ModelException: Element: /MyProject/ErrorLogVerification.verification doesn't exist
	at com.xored.q7.internal.core.model.Q7Element.newNotPresentException(Q7Element.java:114)
	at com.xored.q7.internal.core.model.Q7NamedElement.buildStructure(Q7NamedElement.java:58)
	at com.xored.q7.internal.core.model.Openable.generateInfos(Openable.java:65)
	at com.xored.q7.internal.core.model.Q7Element.openWhenClosed(Q7Element.java:66)
	at com.xored.q7.internal.core.model.Q7Element.getElementInfo(Q7Element.java:39)
	at com.xored.q7.internal.core.model.Q7Element.getElementInfo(Q7Element.java:30)
	at com.xored.q7.internal.core.model.Q7NamedElement.getInfo(Q7NamedElement.java:112)
	at com.xored.q7.internal.core.model.Q7NamedElement.getNamedElement(Q7NamedElement.java:233)
	at com.xored.q7.ui.utils.ModelUtils.getVerificationImage(ModelUtils.java:154)
	at com.xored.q7.ui.utils.ModelUtils.getImage(ModelUtils.java:100)
	at com.xored.q7.ui.navigator.Q7LabelProvider.getImage(Q7LabelProvider.java:109)
	at org.eclipse.ui.internal.navigator.extensions.SafeDelegateCommonLabelProvider.getImage(SafeDelegateCommonLabelProvider.java:106)
	at org.eclipse.ui.internal.navigator.NavigatorContentServiceLabelProvider.findImage(NavigatorContentServiceLabelProvider.java:197)
	at org.eclipse.ui.internal.navigator.NavigatorContentServiceLabelProvider.getColumnImage(NavigatorContentServiceLabelProvider.java:105)
	at org.eclipse.ui.internal.navigator.NavigatorContentServiceLabelProvider.getImage(NavigatorContentServiceLabelProvider.java:98)
	at org.eclipse.ui.internal.navigator.NavigatorDecoratingLabelProvider$StyledLabelProviderAdapter.getImage(NavigatorDecoratingLabelProvider.java:60)
	at org.eclipse.jface.viewers.DelegatingStyledCellLabelProvider.getImage(DelegatingStyledCellLabelProvider.java:184)
	at org.eclipse.jface.viewers.DecoratingStyledCellLabelProvider.getImage(DecoratingStyledCellLabelProvider.java:167)
	at org.eclipse.jface.viewers.DelegatingStyledCellLabelProvider.update(DelegatingStyledCellLabelProvider.java:118)
	at org.eclipse.jface.viewers.DecoratingStyledCellLabelProvider.update(DecoratingStyledCellLabelProvider.java:134)
	at org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn.java:152)
	at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:938)
	at org.eclipse.jface.viewers.AbstractTreeViewer$UpdateItemSafeRunnable.run(AbstractTreeViewer.java:106)
	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.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:1018)
	at org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:485)
	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.updateItem(StructuredViewer.java:2167)
	at org.eclipse.jface.viewers.StructuredViewer.internalUpdate(StructuredViewer.java:2150)
	at org.eclipse.jface.viewers.StructuredViewer.update(StructuredViewer.java:2089)
	at org.eclipse.jface.viewers.ColumnViewer.update(ColumnViewer.java:554)
	at org.eclipse.ui.navigator.CommonViewer.update(CommonViewer.java:535)
	at org.eclipse.jface.viewers.StructuredViewer.update(StructuredViewer.java:2033)
	at org.eclipse.jface.viewers.StructuredViewer.handleLabelProviderChanged(StructuredViewer.java:1191)
	at org.eclipse.ui.navigator.CommonViewer.handleLabelProviderChanged(CommonViewer.java:235)
	at org.eclipse.jface.viewers.ContentViewer$1.labelProviderChanged(ContentViewer.java:97)
	at org.eclipse.ui.internal.navigator.NavigatorContentServiceLabelProvider$1.run(NavigatorContentServiceLabelProvider.java:339)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.ui.internal.navigator.NavigatorContentServiceLabelProvider.fireLabelProviderChanged(NavigatorContentServiceLabelProvider.java:337)
	at org.eclipse.ui.internal.navigator.NavigatorContentServiceLabelProvider.labelProviderChanged(NavigatorContentServiceLabelProvider.java:380)
	at org.eclipse.jface.viewers.BaseLabelProvider$1.run(BaseLabelProvider.java:74)
	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.BaseLabelProvider.fireLabelProviderChanged(BaseLabelProvider.java:72)
	at com.xored.q7.ui.navigator.Q7LabelProvider.access$0(Q7LabelProvider.java:1)
	at com.xored.q7.ui.navigator.Q7LabelProvider$2.run(Q7LabelProvider.java:97)
	at com.xored.q7.ui.utils.WorkbenchUtils.uiRun(WorkbenchUtils.java:49)
	at com.xored.q7.ui.utils.WorkbenchUtils.uiRun(WorkbenchUtils.java:39)
	at com.xored.q7.ui.navigator.Q7LabelProvider.refresh(Q7LabelProvider.java:76)
	at com.xored.q7.ui.navigator.Q7LabelProvider.elementChanged(Q7LabelProvider.java:49)
	at com.xored.q7.internal.core.model.deltas.DeltaProcessor$2.run(DeltaProcessor.java:834)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at com.xored.q7.internal.core.model.deltas.DeltaProcessor.notifyListeners(DeltaProcessor.java:828)
	at com.xored.q7.internal.core.model.deltas.DeltaProcessor.firePostChangeDelta(DeltaProcessor.java:673)
	at com.xored.q7.internal.core.model.deltas.DeltaProcessor.fire(DeltaProcessor.java:653)
	at com.xored.q7.internal.core.model.deltas.DeltaProcessor.resourceChanged(DeltaProcessor.java:1086)
	at com.xored.q7.internal.core.model.deltas.DeltaProcessingState.resourceChanged(DeltaProcessingState.java:201)
	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.Resource.move(Resource.java:1608)
	at org.eclipse.core.internal.resources.Resource.move(Resource.java:1559)
	at com.xored.q7.core.workspace.Q7Core.rename(Q7Core.java:668)
	at com.xored.q7.ui.refactoring.rename.RenameNamedElementChange.perform(RenameNamedElementChange.java:110)
	at com.xored.q7.ui.editors.FilenameUpdater.update(FilenameUpdater.java:34)
	at com.xored.q7.ui.editors.NamedElementEditor.doSave(NamedElementEditor.java:200)
	at com.xored.q7.ui.editors.verification.VerificationEditor.doSave(VerificationEditor.java:136)
	at org.eclipse.ui.internal.SaveableHelper$2.run(SaveableHelper.java:151)
	at org.eclipse.ui.internal.SaveableHelper$5.run(SaveableHelper.java:277)
	at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
	at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
	at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:759)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:756)
	at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2642)
	at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:285)
	at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:264)
	at org.eclipse.ui.internal.SaveableHelper.savePart(SaveableHelper.java:156)
	at org.eclipse.ui.internal.EditorManager.savePart(EditorManager.java:1399)
	at org.eclipse.ui.internal.WorkbenchPage.savePart(WorkbenchPage.java:3416)
	at org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPage.java:3429)
	at org.eclipse.ui.internal.handlers.SaveHandler.execute_aroundBody0(SaveHandler.java:54)
	at org.eclipse.ui.internal.handlers.SaveHandler$AjcClosure1.run(SaveHandler.java:1)
	at com.xored.tesla.recording.aspects.WorkbenchRecordingAspect.ajc$around$com_xored_tesla_recording_aspects_WorkbenchRecordingAspect$2$943c663bproceed(WorkbenchRecordingAspect.aj:1)
	at com.xored.tesla.recording.aspects.WorkbenchRecordingAspect.ajc$around$com_xored_tesla_recording_aspects_WorkbenchRecordingAspect$2$943c663b(WorkbenchRecordingAspect.aj:67)
	at org.eclipse.ui.internal.handlers.SaveHandler.execute(SaveHandler.java:44)
	at org.eclipse.ui.internal.handlers.HandlerProxy.execute_aroundBody0(HandlerProxy.java:293)
	at org.eclipse.ui.internal.handlers.HandlerProxy$AjcClosure1.run(HandlerProxy.java:1)
	at com.xored.tesla.recording.aspects.WorkbenchRecordingAspect.ajc$around$com_xored_tesla_recording_aspects_WorkbenchRecordingAspect$2$943c663bproceed(WorkbenchRecordingAspect.aj:1)
	at com.xored.tesla.recording.aspects.WorkbenchRecordingAspect.ajc$around$com_xored_tesla_recording_aspects_WorkbenchRecordingAspect$2$943c663b(WorkbenchRecordingAspect.aj:67)
	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:286)
	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
	at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:468)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:786)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:885)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:567)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:508)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:123)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Display.filterEvent_aroundBody2(Display.java:1262)
	at org.eclipse.swt.widgets.Display$AjcClosure3.run(Display.java:1)
	at com.xored.tesla.recording.aspects.RecordingAspect.ajc$around$com_xored_tesla_recording_aspects_RecordingAspect$5$a74609acproceed(RecordingAspect.aj:1)
	at com.xored.tesla.recording.aspects.RecordingAspect.ajc$around$com_xored_tesla_recording_aspects_RecordingAspect$5$a74609ac(RecordingAspect.aj:167)
	at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1262)
	at org.eclipse.swt.widgets.Widget.sendEvent_aroundBody2(Widget.java:1052)
	at org.eclipse.swt.widgets.Widget$AjcClosure3.run(Widget.java:1)
	at com.xored.tesla.recording.aspects.RecordingAspect.ajc$around$com_xored_tesla_recording_aspects_RecordingAspect$2$2f127892proceed(RecordingAspect.aj:1)
	at com.xored.tesla.recording.aspects.RecordingAspect.ajc$around$com_xored_tesla_recording_aspects_RecordingAspect$2$2f127892(RecordingAspect.aj:118)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1051)
	at org.eclipse.swt.widgets.Widget.sendEvent_aroundBody4(Widget.java:1077)
	at org.eclipse.swt.widgets.Widget$AjcClosure5.run(Widget.java:1)
	at com.xored.tesla.recording.aspects.RecordingAspect.ajc$around$com_xored_tesla_recording_aspects_RecordingAspect$1$bd9fb3e7proceed(RecordingAspect.aj:1)
	at com.xored.tesla.recording.aspects.RecordingAspect.ajc$around$com_xored_tesla_recording_aspects_RecordingAspect$1$bd9fb3e7(RecordingAspect.aj:82)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1066)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:774)
	at com.xored.tesla.internal.ui.player.SWTEvents.sendEventRaw(SWTEvents.java:76)
	at com.xored.tesla.internal.ui.player.SWTUIPlayer$10.sendKeyEvent(SWTUIPlayer.java:2266)
	at com.xored.tesla.internal.ui.player.SWTUIPlayer$10.run(SWTUIPlayer.java:2231)
	at com.xored.tesla.internal.ui.player.SWTUIPlayer$ExecRunnable.run(SWTUIPlayer.java:2785)
	at org.eclipse.swt.widgets.RunnableLock.run_aroundBody0(RunnableLock.java:35)
	at org.eclipse.swt.widgets.RunnableLock$AjcClosure1.run(RunnableLock.java:1)
	at com.xored.tesla.swt.aspects.DisplayAspect.ajc$around$com_xored_tesla_swt_aspects_DisplayAspect$10$90b1ba39proceed(DisplayAspect.aj:1)
	at com.xored.tesla.swt.aspects.DisplayAspect.ajc$around$com_xored_tesla_swt_aspects_DisplayAspect$10$90b1ba39(DisplayAspect.aj:366)
	at org.eclipse.swt.widgets.RunnableLock.run_aroundBody2(RunnableLock.java:35)
	at org.eclipse.swt.widgets.RunnableLock$AjcClosure3.run(RunnableLock.java:1)
	at com.xored.sherlock.aspects.swt.DisplayAspect.ajc$around$com_xored_sherlock_aspects_swt_DisplayAspect$2$90b1ba39proceed(DisplayAspect.aj:1)
	at com.xored.sherlock.aspects.swt.DisplayAspect.ajc$around$com_xored_sherlock_aspects_swt_DisplayAspect$2$90b1ba39(DisplayAspect.aj:63)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
	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)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
Show
Ulyana Skorokhodova added a comment - 16/Jan/14 3:46 PM #8: Widget is disposed is not thrown anymore, but if you run Q7 test(ErrLogVerification_Widget is disposed is thrown when you add any antry after you edit verification's name and press Ctrl+S) the following exception is thrown:
com.xored.q7.core.model.ModelException: Element: /MyProject/ErrorLogVerification.verification doesn't exist
	at com.xored.q7.internal.core.model.Q7Element.newNotPresentException(Q7Element.java:114)
	at com.xored.q7.internal.core.model.Q7NamedElement.buildStructure(Q7NamedElement.java:58)
	at com.xored.q7.internal.core.model.Openable.generateInfos(Openable.java:65)
	at com.xored.q7.internal.core.model.Q7Element.openWhenClosed(Q7Element.java:66)
	at com.xored.q7.internal.core.model.Q7Element.getElementInfo(Q7Element.java:39)
	at com.xored.q7.internal.core.model.Q7Element.getElementInfo(Q7Element.java:30)
	at com.xored.q7.internal.core.model.Q7NamedElement.getInfo(Q7NamedElement.java:112)
	at com.xored.q7.internal.core.model.Q7NamedElement.getNamedElement(Q7NamedElement.java:233)
	at com.xored.q7.ui.utils.ModelUtils.getVerificationImage(ModelUtils.java:154)
	at com.xored.q7.ui.utils.ModelUtils.getImage(ModelUtils.java:100)
	at com.xored.q7.ui.navigator.Q7LabelProvider.getImage(Q7LabelProvider.java:109)
	at org.eclipse.ui.internal.navigator.extensions.SafeDelegateCommonLabelProvider.getImage(SafeDelegateCommonLabelProvider.java:106)
	at org.eclipse.ui.internal.navigator.NavigatorContentServiceLabelProvider.findImage(NavigatorContentServiceLabelProvider.java:197)
	at org.eclipse.ui.internal.navigator.NavigatorContentServiceLabelProvider.getColumnImage(NavigatorContentServiceLabelProvider.java:105)
	at org.eclipse.ui.internal.navigator.NavigatorContentServiceLabelProvider.getImage(NavigatorContentServiceLabelProvider.java:98)
	at org.eclipse.ui.internal.navigator.NavigatorDecoratingLabelProvider$StyledLabelProviderAdapter.getImage(NavigatorDecoratingLabelProvider.java:60)
	at org.eclipse.jface.viewers.DelegatingStyledCellLabelProvider.getImage(DelegatingStyledCellLabelProvider.java:184)
	at org.eclipse.jface.viewers.DecoratingStyledCellLabelProvider.getImage(DecoratingStyledCellLabelProvider.java:167)
	at org.eclipse.jface.viewers.DelegatingStyledCellLabelProvider.update(DelegatingStyledCellLabelProvider.java:118)
	at org.eclipse.jface.viewers.DecoratingStyledCellLabelProvider.update(DecoratingStyledCellLabelProvider.java:134)
	at org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn.java:152)
	at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:938)
	at org.eclipse.jface.viewers.AbstractTreeViewer$UpdateItemSafeRunnable.run(AbstractTreeViewer.java:106)
	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.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:1018)
	at org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:485)
	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.updateItem(StructuredViewer.java:2167)
	at org.eclipse.jface.viewers.StructuredViewer.internalUpdate(StructuredViewer.java:2150)
	at org.eclipse.jface.viewers.StructuredViewer.update(StructuredViewer.java:2089)
	at org.eclipse.jface.viewers.ColumnViewer.update(ColumnViewer.java:554)
	at org.eclipse.ui.navigator.CommonViewer.update(CommonViewer.java:535)
	at org.eclipse.jface.viewers.StructuredViewer.update(StructuredViewer.java:2033)
	at org.eclipse.jface.viewers.StructuredViewer.handleLabelProviderChanged(StructuredViewer.java:1191)
	at org.eclipse.ui.navigator.CommonViewer.handleLabelProviderChanged(CommonViewer.java:235)
	at org.eclipse.jface.viewers.ContentViewer$1.labelProviderChanged(ContentViewer.java:97)
	at org.eclipse.ui.internal.navigator.NavigatorContentServiceLabelProvider$1.run(NavigatorContentServiceLabelProvider.java:339)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.ui.internal.navigator.NavigatorContentServiceLabelProvider.fireLabelProviderChanged(NavigatorContentServiceLabelProvider.java:337)
	at org.eclipse.ui.internal.navigator.NavigatorContentServiceLabelProvider.labelProviderChanged(NavigatorContentServiceLabelProvider.java:380)
	at org.eclipse.jface.viewers.BaseLabelProvider$1.run(BaseLabelProvider.java:74)
	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.BaseLabelProvider.fireLabelProviderChanged(BaseLabelProvider.java:72)
	at com.xored.q7.ui.navigator.Q7LabelProvider.access$0(Q7LabelProvider.java:1)
	at com.xored.q7.ui.navigator.Q7LabelProvider$2.run(Q7LabelProvider.java:97)
	at com.xored.q7.ui.utils.WorkbenchUtils.uiRun(WorkbenchUtils.java:49)
	at com.xored.q7.ui.utils.WorkbenchUtils.uiRun(WorkbenchUtils.java:39)
	at com.xored.q7.ui.navigator.Q7LabelProvider.refresh(Q7LabelProvider.java:76)
	at com.xored.q7.ui.navigator.Q7LabelProvider.elementChanged(Q7LabelProvider.java:49)
	at com.xored.q7.internal.core.model.deltas.DeltaProcessor$2.run(DeltaProcessor.java:834)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at com.xored.q7.internal.core.model.deltas.DeltaProcessor.notifyListeners(DeltaProcessor.java:828)
	at com.xored.q7.internal.core.model.deltas.DeltaProcessor.firePostChangeDelta(DeltaProcessor.java:673)
	at com.xored.q7.internal.core.model.deltas.DeltaProcessor.fire(DeltaProcessor.java:653)
	at com.xored.q7.internal.core.model.deltas.DeltaProcessor.resourceChanged(DeltaProcessor.java:1086)
	at com.xored.q7.internal.core.model.deltas.DeltaProcessingState.resourceChanged(DeltaProcessingState.java:201)
	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.Resource.move(Resource.java:1608)
	at org.eclipse.core.internal.resources.Resource.move(Resource.java:1559)
	at com.xored.q7.core.workspace.Q7Core.rename(Q7Core.java:668)
	at com.xored.q7.ui.refactoring.rename.RenameNamedElementChange.perform(RenameNamedElementChange.java:110)
	at com.xored.q7.ui.editors.FilenameUpdater.update(FilenameUpdater.java:34)
	at com.xored.q7.ui.editors.NamedElementEditor.doSave(NamedElementEditor.java:200)
	at com.xored.q7.ui.editors.verification.VerificationEditor.doSave(VerificationEditor.java:136)
	at org.eclipse.ui.internal.SaveableHelper$2.run(SaveableHelper.java:151)
	at org.eclipse.ui.internal.SaveableHelper$5.run(SaveableHelper.java:277)
	at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
	at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
	at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:759)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:756)
	at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2642)
	at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:285)
	at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:264)
	at org.eclipse.ui.internal.SaveableHelper.savePart(SaveableHelper.java:156)
	at org.eclipse.ui.internal.EditorManager.savePart(EditorManager.java:1399)
	at org.eclipse.ui.internal.WorkbenchPage.savePart(WorkbenchPage.java:3416)
	at org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPage.java:3429)
	at org.eclipse.ui.internal.handlers.SaveHandler.execute_aroundBody0(SaveHandler.java:54)
	at org.eclipse.ui.internal.handlers.SaveHandler$AjcClosure1.run(SaveHandler.java:1)
	at com.xored.tesla.recording.aspects.WorkbenchRecordingAspect.ajc$around$com_xored_tesla_recording_aspects_WorkbenchRecordingAspect$2$943c663bproceed(WorkbenchRecordingAspect.aj:1)
	at com.xored.tesla.recording.aspects.WorkbenchRecordingAspect.ajc$around$com_xored_tesla_recording_aspects_WorkbenchRecordingAspect$2$943c663b(WorkbenchRecordingAspect.aj:67)
	at org.eclipse.ui.internal.handlers.SaveHandler.execute(SaveHandler.java:44)
	at org.eclipse.ui.internal.handlers.HandlerProxy.execute_aroundBody0(HandlerProxy.java:293)
	at org.eclipse.ui.internal.handlers.HandlerProxy$AjcClosure1.run(HandlerProxy.java:1)
	at com.xored.tesla.recording.aspects.WorkbenchRecordingAspect.ajc$around$com_xored_tesla_recording_aspects_WorkbenchRecordingAspect$2$943c663bproceed(WorkbenchRecordingAspect.aj:1)
	at com.xored.tesla.recording.aspects.WorkbenchRecordingAspect.ajc$around$com_xored_tesla_recording_aspects_WorkbenchRecordingAspect$2$943c663b(WorkbenchRecordingAspect.aj:67)
	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:286)
	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
	at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:468)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:786)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:885)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:567)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:508)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:123)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Display.filterEvent_aroundBody2(Display.java:1262)
	at org.eclipse.swt.widgets.Display$AjcClosure3.run(Display.java:1)
	at com.xored.tesla.recording.aspects.RecordingAspect.ajc$around$com_xored_tesla_recording_aspects_RecordingAspect$5$a74609acproceed(RecordingAspect.aj:1)
	at com.xored.tesla.recording.aspects.RecordingAspect.ajc$around$com_xored_tesla_recording_aspects_RecordingAspect$5$a74609ac(RecordingAspect.aj:167)
	at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1262)
	at org.eclipse.swt.widgets.Widget.sendEvent_aroundBody2(Widget.java:1052)
	at org.eclipse.swt.widgets.Widget$AjcClosure3.run(Widget.java:1)
	at com.xored.tesla.recording.aspects.RecordingAspect.ajc$around$com_xored_tesla_recording_aspects_RecordingAspect$2$2f127892proceed(RecordingAspect.aj:1)
	at com.xored.tesla.recording.aspects.RecordingAspect.ajc$around$com_xored_tesla_recording_aspects_RecordingAspect$2$2f127892(RecordingAspect.aj:118)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1051)
	at org.eclipse.swt.widgets.Widget.sendEvent_aroundBody4(Widget.java:1077)
	at org.eclipse.swt.widgets.Widget$AjcClosure5.run(Widget.java:1)
	at com.xored.tesla.recording.aspects.RecordingAspect.ajc$around$com_xored_tesla_recording_aspects_RecordingAspect$1$bd9fb3e7proceed(RecordingAspect.aj:1)
	at com.xored.tesla.recording.aspects.RecordingAspect.ajc$around$com_xored_tesla_recording_aspects_RecordingAspect$1$bd9fb3e7(RecordingAspect.aj:82)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1066)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:774)
	at com.xored.tesla.internal.ui.player.SWTEvents.sendEventRaw(SWTEvents.java:76)
	at com.xored.tesla.internal.ui.player.SWTUIPlayer$10.sendKeyEvent(SWTUIPlayer.java:2266)
	at com.xored.tesla.internal.ui.player.SWTUIPlayer$10.run(SWTUIPlayer.java:2231)
	at com.xored.tesla.internal.ui.player.SWTUIPlayer$ExecRunnable.run(SWTUIPlayer.java:2785)
	at org.eclipse.swt.widgets.RunnableLock.run_aroundBody0(RunnableLock.java:35)
	at org.eclipse.swt.widgets.RunnableLock$AjcClosure1.run(RunnableLock.java:1)
	at com.xored.tesla.swt.aspects.DisplayAspect.ajc$around$com_xored_tesla_swt_aspects_DisplayAspect$10$90b1ba39proceed(DisplayAspect.aj:1)
	at com.xored.tesla.swt.aspects.DisplayAspect.ajc$around$com_xored_tesla_swt_aspects_DisplayAspect$10$90b1ba39(DisplayAspect.aj:366)
	at org.eclipse.swt.widgets.RunnableLock.run_aroundBody2(RunnableLock.java:35)
	at org.eclipse.swt.widgets.RunnableLock$AjcClosure3.run(RunnableLock.java:1)
	at com.xored.sherlock.aspects.swt.DisplayAspect.ajc$around$com_xored_sherlock_aspects_swt_DisplayAspect$2$90b1ba39proceed(DisplayAspect.aj:1)
	at com.xored.sherlock.aspects.swt.DisplayAspect.ajc$around$com_xored_sherlock_aspects_swt_DisplayAspect$2$90b1ba39(DisplayAspect.aj:63)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
	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)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

People

Vote (0)
Watch (0)

Dates

  • Created:
    27/Dec/13 2:29 PM
    Updated:
    12/Mar/15 6:39 PM