Bug 533064 - Potential OperationCanceledException
Summary: Potential OperationCanceledException
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2018-03-29 08:42 EDT by Laurent Goubet CLA
Modified: 2018-03-30 05:59 EDT (History)
1 user (show)

See Also:


Attachments
533064 sample (1.87 MB, application/x-zip-compressed)
2018-03-30 05:59 EDT, Steve Monnier CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Goubet CLA 2018-03-29 08:42:02 EDT
I'm not sure exactly what I cancelled, but the following can happen when cancelling jobs:


org.eclipse.core.runtime.OperationCanceledException
	at org.eclipse.core.internal.jobs.JobManager.join(JobManager.java:999)
	at org.eclipse.sirius.ui.tools.internal.views.common.navigator.ManageSessionActionProvider.fillContextMenu(ManageSessionActionProvider.java:72)
	at org.eclipse.ui.navigator.NavigatorActionService$2.run(NavigatorActionService.java:225)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.ui.navigator.NavigatorActionService.addCommonActionProviderMenu(NavigatorActionService.java:219)
	at org.eclipse.ui.navigator.NavigatorActionService.fillContextMenu(NavigatorActionService.java:174)
	at org.eclipse.ui.navigator.CommonNavigatorManager.fillContextMenu(CommonNavigatorManager.java:267)
	at org.eclipse.ui.navigator.CommonNavigatorManager$3.menuAboutToShow(CommonNavigatorManager.java:283)
Comment 1 Steve Monnier CLA 2018-03-30 05:59:48 EDT
Created attachment 273377 [details]
533064 sample

Step to reproduce:
- Import the project from 533064.zip
- Open the project
- Immediatly right click on the project
- As it still loading a progress monitor appears
- The last step should be a user operation -> Cancel it (Click on red block)
-> This should not throw the CancelOperationException