Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 260076 - Infinite loop in Tree.clearCustomWidths()
Summary: Infinite loop in Tree.clearCustomWidths()
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.5   Edit
Hardware: PC Mac OS X
: P3 major (vote)
Target Milestone: 3.5 M5   Edit
Assignee: Grant Gayed CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-06 12:37 EST by Max Stepanov CLA
Modified: 2009-01-13 15:57 EST (History)
1 user (show)

See Also:


Attachments
Patch to fix the bug (325 bytes, patch)
2009-01-06 12:37 EST, Max Stepanov CLA
grant_gayed: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Max Stepanov CLA 2009-01-06 12:37:17 EST
Created attachment 121659 [details]
Patch to fix the bug

Build ID: I20081211-1908

Steps To Reproduce:
1. Have a TreeViewer with some input and a single column by default
2. Dispose all its columns
3. create a new column
4. it leads to an infinite loop

java.lang.StackOverflowError
        at org.eclipse.swt.widgets.Tree.clearCustomWidths(Tree.java:347)
        at org.eclipse.swt.widgets.Tree.clearCustomWidths(Tree.java:347)
        at org.eclipse.swt.widgets.Tree.clearCustomWidths(Tree.java:347)



More information:
Eclipse 3.5M4-cocoa
Comment 1 Steve Northover CLA 2009-01-06 12:39:53 EST
Grant, please check table too.
Comment 2 Grant Gayed CLA 2009-01-06 13:02:28 EST
fixed > 0106, no change required in Table, thanks for the patch Max!