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: | StackOverflowError at javax.swing.LayoutComparator.compare | ||
---|---|---|---|
Product: | guibuilder | Reporter: | jorgenc |
Component: | Code | Assignee: | issues@guibuilder <issues> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | germor, teJECSke, zolta |
Priority: | P3 | ||
Version: | 7.0 | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://netbeans.org/bugzilla/show_bug.cgi?id=241958 | ||
Issue Type: | DEFECT | Exception Reporter: | 189598 |
Attachments: | stacktrace |
Description
jorgenc
2012-06-16 16:05:19 UTC
Created attachment 120940 [details]
stacktrace
Possible steps to reproduce: * Create a new JPanel form, add a JButton to it. * Set the button's focusTraversalPolicyProvider to true. * Set the button's focusable property to false. * Invoke form preview, if you don't get the exception right away, press Tab. I was not able to get the exception from the designer (IDE itself), only from the preview dialog. Also, when the GUI form is run, the same exception happens. So when we build the Swing UI for preview, we also get it. It's basically a Swing bug: either should not allow to set invalid combination of property values, or should not fail on it (end up in an infinite cycle). We could possibly warn the user somehow in this special case, but it would be really hacky, and the combination of the properties does not make sense anyway, so almost nobody really tries it (that's why we had only a few exception reports). IMHO not worth trying to workaround. *** Bug 163256 has been marked as a duplicate of this bug. *** *** Bug 190960 has been marked as a duplicate of this bug. *** *** Bug 215591 has been marked as a duplicate of this bug. *** |