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.
When I press the small down-arrow button on the editor's tabs area (the right most of the 3 buttons) an NullPointerException exception occur: java.lang.NullPointerException at org.netbeans.core.windows.view.ui.tabcontrol.TabTa ble.prepareRenderer(TabTable.java:133) at javax.swing.plaf.basic.BasicTableUI.paintCell (BasicTableUI.java:1149) at javax.swing.plaf.basic.BasicTableUI.paintCells (BasicTableUI.java:1051) at javax.swing.plaf.basic.BasicTableUI.paint (BasicTableUI.java:974) at javax.swing.plaf.ComponentUI.update (ComponentUI.java:142) at javax.swing.JComponent.paintComponent (JComponent.java:541) at javax.swing.JComponent.paint (JComponent.java:808) at org.netbeans.core.windows.view.ui.tabcontrol.TabTa ble.paint(TabTable.java:289) at javax.swing.JComponent.paintChildren (JComponent.java:647) at javax.swing.JComponent.paint (JComponent.java:817) at javax.swing.JComponent.paintChildren (JComponent.java:647) at javax.swing.JComponent.paint (JComponent.java:817) at javax.swing.JLayeredPane.paint (JLayeredPane.java:557) at javax.swing.JComponent.paintChildren (JComponent.java:647) at javax.swing.JComponent.paint (JComponent.java:817) at javax.swing.JComponent.paintWithOffscreenBuffer (JComponent.java:4787) at javax.swing.JComponent.paintDoubleBuffered (JComponent.java:4740) at javax.swing.JComponent._paintImmediately (JComponent.java:4685) at javax.swing.JComponent.paintImmediately (JComponent.java:4488) at javax.swing.RepaintManager.paintDirtyRegions (RepaintManager.java:410) [catch] at javax.swing.SystemEventQueueUtilities$ComponentWor kRequest.run(SystemEventQueueUtilities.java:117) at java.awt.event.InvocationEvent.dispatch (InvocationEvent.java:178) at java.awt.EventQueue.dispatchEvent (EventQueue.java:454) at java.awt.EventDispatchThread.pumpOneEventForHierar chy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:151) at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:145) at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:137) at java.awt.EventDispatchThread.run (EventDispatchThread.java:100)
Created attachment 14042 [details] IDE Log file
I've also had this in 3.6 RC3, with Sun's JDK 1.4.2_04 on Mandrake Linux 9.2 (using the Metal L&F). It doesn't do it under normal circumstances. However, if I click the "down" button to open the list, drag the mouse down the list while keeping the left mouse button held, then click the right mouse button while over one of the list entries (which I did accidentally the first time) I get the same exception as listed below every time.
Created attachment 14357 [details] IDE log file
This code was completely rewritten for 4.0, and I cannot reproduce the problem now, so closing.
*** Issue 46715 has been marked as a duplicate of this issue. ***
verified in [nb_dev](200408151800)
This issue had *2 votes* before move to platform component