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.
Development build #200307230100 of NetBeans 4.0 Windows 2000 with JDK 1.4.1_02 build #06 -ui com.jgoodies.plaf.plastic.PlasticXPLookAndFeel Description: ============ Selecting some Java data node in the Explorer results in never ending loop of NullPointerExceptions if above mentioned look and feel is used. IDE is unusable in such situation because no property can be changed.
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.