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: | [Looks API] Children.setKeys called with null argument | ||
---|---|---|---|
Product: | contrib | Reporter: | _ hkrug <hkrug> |
Component: | Looks | Assignee: | Petr Hrebejk <phrebejk> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P4 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
_ hkrug
2002-06-14 15:47:35 UTC
I add a related bug to this issue instead of creating a new issue: DefaultLookNode.drag(Look.NodeSubstitute) claims be behave neutrally be returning null. Unfortunately this is not neutral behaviour but seems to be a bug. DefaultLookNode.drag(..) should better throw an IOException. The reason is that Node.drag() requires either to return a Transferable or to throw an exception. The current implementation results in a NullPointerException whenever a drag is started on a Look derived from DefaultLook not overriding drag(..). Probably similar methods of DefaultLook should also be reviewed ? Moving Looks issues to dev 4.0 added keyword PROJECTS, because we need to distinguish issues against NB4.0 and S1Sx.y Neither LookProperties or Look.availableLooks exist any more. Thus marking as fixed. closed |