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.
Summary: | AIOOBE from Output when running the project | ||
---|---|---|---|
Product: | platform | Reporter: | Milan Kubec <mkubec> |
Component: | Output Window | Assignee: | Milos Kleint <mkleint> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | tboudreau |
Priority: | P3 | ||
Version: | 4.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | exc stack trace |
Description
Milan Kubec
2005-03-18 08:39:55 UTC
stack-trace? Created attachment 20942 [details]
exc stack trace
Sorry, but I got finally pist off enough to start finding out why those MIME types are ordered as they are when you want to attach attachment so I almost forgot about the attachment :-) See http://www.netbeans.org/issues/show_bug.cgi?id=56117 4.1, there's a strange trick with overriding doLayout() in CloseButtonTabbedPane. If the tab is being removed, the super.doLayout() call is invokedLater(). That's where the data structure race condition emerges. Tim, what was the reason for the doLayout() override? it looks like hack to me. if the problem is that the tab component is removed in awtlistener, then it would be better to invokelater the whole removal of the tab? were you closing some tabs right before the exception appeared? fixed in trunk. commit -m "#56628 removed the recheduling of doLayout() and replaced it by reflection call on windowsL&F that will reset the rollovertab when removing one." src/org/netbeans/core/output2/ui/AbstractOutputWindow.java src/org/netbeans/core/output2/ui/CloseButtonTabbedPane.java Checking in src/org/netbeans/core/output2/ui/AbstractOutputWindow.java; /cvs/core/output2/src/org/netbeans/core/output2/ui/AbstractOutputWindow.java,v <-- AbstractOutputWindow.java new revision: 1.11; previous revision: 1.10 done Checking in src/org/netbeans/core/output2/ui/CloseButtonTabbedPane.java; /cvs/core/output2/src/org/netbeans/core/output2/ui/CloseButtonTabbedPane.java,v <-- CloseButtonTabbedPane.java new revision: 1.8; previous revision: 1.7 Not able to reproduce in dev-200507061800. |