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.
Accordining to importance of GTK L&F in Mustang it might be P1 - up to you. Seems that Multiview are in general broken when using GTK L&F. Example steps to reproduce: 1) Create a new Web Application 2) Open web.xml 3) Click on Filters tab 4) Try to expand Filter Mappings Attached AIOOBE is thrown. Maybe bug in GTK L&F itself.
Created attachment 29145 [details] AIOOBE
1.6.0-beta2-b74, Gnome, Slackware 10.2.0
I'll get back to this after Mustang b83 is released since issue 74362 is keeping me from testing whether this issue still exists with latest Mustang releases.
*** Issue 71346 has been marked as a duplicate of this issue. ***
Tested with b83 and while there are no exceptions thrown now, visual view of web.xml is still unusable. For example, it is not possible to expand filter mappings, nothing happens. I suspect that it is a bug in GTK L&F, I'll look into this and file an issue if it indeed seems to be so.
Still in beta-b84
Reproducible in b86 also.
Fixed in release55 branch. Although this should be now fixed, I'm not entirely sure whether there still isn't a bug in Mustang (or elsewhere) related to this. I merely set the model of a JTable before calling getTableCellRendererComponent(..) on TableCellRenderer which fixed this (since the exception was thrown from DefaultTableColumnModel). For other LnFs DefaultTableColumnModel#tableColumns vector is not empty, as it is for GTK. Needs to be investigated still. Also, whereas with b83 no exceptions were thrown, with b86 I got the same exception as with b74. Checking in DefaultTablePanel.java; /cvs/xml/multiview/src/org/netbeans/modules/xml/multiview/ui/DefaultTablePanel. java,v <-- DefaultTablePanel.java new revision: 1.7.50.1; previous revision: 1.7 done
*** Issue 80378 has been marked as a duplicate of this issue. ***
*** Issue 80380 has been marked as a duplicate of this issue. ***
Verified