This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 215219 - ETable.getRowSorter() causes StackOverflowError exception
Summary: ETable.getRowSorter() causes StackOverflowError exception
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Outline&TreeTable (show other bugs)
Version: 7.2
Hardware: All All
: P1 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords: SIMPLEFIX
Depends on:
Blocks:
 
Reported: 2012-07-06 01:04 UTC by pwilly
Modified: 2012-07-11 03:28 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pwilly 2012-07-06 01:04:33 UTC
In case ETable is used with a TableColumnModel other than ETableColumnModel, there is a nasty typo in ETable.getRowSorter() line 2979 (NetBeans 7.2 RC1) which causes an endless recursion. 

Instead of "return getRowSorter()" it should be  "return super.getRowSorter()".
Comment 1 Martin Entlicher 2012-07-09 10:09:19 UTC
Thanks for catching this.
Comment 2 Martin Entlicher 2012-07-09 10:27:24 UTC
Fixed by changeset:   225406:d6237b25708b
http://hg.netbeans.org/main/rev/d6237b25708b
Comment 3 Antonin Nebuzelsky 2012-07-09 15:19:16 UTC
Please, integrate to release72.
Comment 4 Martin Entlicher 2012-07-09 15:28:38 UTC
Pushed into release72: changeset:   232634:90b15ca0e2ed
http://hg.netbeans.org/releases/rev/90b15ca0e2ed
Comment 5 Quality Engineering 2012-07-10 06:43:11 UTC
Integrated into 'releases', will be available in build *201207092359* or newer. Wait for official and publicly available build.
Changeset: http://hg.netbeans.org/releases/rev/90b15ca0e2ed
User: mentlicher@netbeans.org
Log: #215219: Fixed super getRowSorter() call.
(transplanted from d6237b25708b44d0a9b06e589f6c3e730e0bd6e6)
Comment 6 Quality Engineering 2012-07-11 03:28:08 UTC
Integrated into 'main-golden', will be available in build *201207110002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/d6237b25708b
User: mentlicher@netbeans.org
Log: #215219: Fixed super getRowSorter() call.