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: | L&F: Loop of NPEs while painting Java node properties. | ||
---|---|---|---|
Product: | platform | Reporter: | Jiri Kovalsky <jkovalsky> |
Component: | Explorer | Assignee: | _ tboudreau <tboudreau> |
Status: | VERIFIED INVALID | ||
Severity: | blocker | CC: | mmirilovic |
Priority: | P3 | Keywords: | L&F |
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Windows ME/2000 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
L&F library put into <ide_dir>/lib directory.
NullPointerException thrown if Java node is clicked. |
Description
Jiri Kovalsky
2003-07-23 15:07:57 UTC
Created attachment 11096 [details]
L&F library put into <ide_dir>/lib directory.
Created attachment 11097 [details]
NullPointerException thrown if Java node is clicked.
This is Look and Feel specific issue. This is a bug in Plastic L&F. It is probably assuming the button has a parent when it is painted. In the case of the problem button, it does not - for efficiency, it is simply configured and painted in the right place on screen. Generally it should be possible to paint a component which has no parent - I suggest firing a bug report at Karsten. A workaround is possible (there is unoptimized painting logic for JComboBoxes due to a similar problem), but better to fix the look and feel. This is one danger when writing a look and feel - making unwarranted assumptions about the state of a component. Okay, I won't force you to implement the workaround. I hope they will fix it. Verified as invalid bug. |