Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345688 - ViewerCell.getNeighbor(ViewerCell.ABOVE, false) loops indefinitely if cellwidth is 0
Summary: ViewerCell.getNeighbor(ViewerCell.ABOVE, false) loops indefinitely if cellwid...
Status: RESOLVED WORKSFORME
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2011-05-13 02:59 EDT by Michael Mangeng CLA
Modified: 2012-03-21 05:38 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 Michael Mangeng CLA 2011-05-13 02:59:35 EDT
Build Identifier: 3.6.2

In a CellLabelProvider i'm using:
MyEntry prev = cell.getNeighbor(ViewerCell.ABOVE, false);
PZETableEntry p = null;
  if (prev != null) {
  p = (MyEntry) prev.getElement();
}

The request to cell.getNeighbor(ViewerCell.ABOVE, false); never returns and CPU goes to 100%.

Reproducible: Always
Comment 1 Michael Mangeng CLA 2011-05-13 03:01:12 EDT
As stated in the summary - it's only reproduceable if tableColumn.setWidth(0); is used on a cell.
Comment 2 Ivan Furnadjiev CLA 2011-05-13 03:46:12 EDT
Hi Michael, which version of RAP are you using? For me it looks like a bug in JFace. Could you check if it is reproducible in RCP as well. If yes - please file a bug against JFace.
Comment 3 Ivan Furnadjiev CLA 2012-01-03 08:50:09 EST
Michael, any progress on this issue? Do you have a complete self-running snippet/project to reproduce the problem?
Comment 4 Ivan Furnadjiev CLA 2012-03-21 05:38:54 EDT
Michael, without addition information we can't do much about this issue. I will close it as WORKSFORME. Please reopen this bug if the issue persists with RAP 1.5M5 and provide a complete self-running snippet/project to reproduce the problem.