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.
[1117] In first stage of Java wizard there choose an item in superclass combo while holding CTRL key. NullPointerException will occurr.
Created attachment 186 [details] stack trace
[1135] Verified
[1159c] Reopened
getSelectedItem method of javax.swing.JComboBox returns null when user holds CTRL modifier. It is a strange behavior, probably bug in Swing. To correct this bug explicit test for null was added to all getSelectedItem methods. Attachement with proposed patch, which will also correct some depricated API, follows this comment.
Created attachment 486 [details] proposed patch
[010130_1] Verified
Resolved for 3.4.x or earlier, no new info since then -> closing.