Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358911 - [Edit] StructureCreator has to be prepared for an OperationCanceledException
Summary: [Edit] StructureCreator has to be prepared for an OperationCanceledException
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Compare (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Compare-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: investigate
Depends on:
Blocks: 275153
  Show dependency tree
 
Reported: 2011-09-26 11:16 EDT by Tomasz Zarna CLA
Modified: 2020-07-08 14:13 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz Zarna CLA 2011-09-26 11:16:13 EDT
This is one of the regressions listed on bug 275153:

the worker that computes the AST is canceled by Compare and hence the exception (see bug 262557, comment 0)
==> the StructureCreate has to be prepared that an OperationCanceledException is thrown by anyone that check the monitor

Another case when the exception is thrown has been spotted when the structure is updated, see bug 262557, comment 13

The current solution is to catch these OperationCanceledException in org.eclipse.compare.structuremergeviewer.StructureCreator.createStructure(Object, IProgressMonitor). This bug is about finding and fixing the cause.
Comment 1 Szymon Brandys CLA 2012-03-05 07:16:28 EST
We still plan to investigate it in 3.8. But since we do not have enough manpower we can continue in the next release.
Comment 2 Eclipse Genie CLA 2020-07-08 14:13:58 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.