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.

Bug 41127 - Exception when pressing button to show the currently edited file
Summary: Exception when pressing button to show the currently edited file
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: _ tboudreau
URL:
Keywords:
: 46715 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-03-18 17:45 UTC by crosati
Modified: 2008-12-23 14:24 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE Log file (759.58 KB, text/plain)
2004-03-18 17:47 UTC, crosati
Details
IDE log file (14.09 KB, text/plain)
2004-04-12 10:20 UTC, ats37
Details

Note You need to log in before you can comment on or make changes to this bug.
Description crosati 2004-03-18 17:45:53 UTC
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)
Comment 1 crosati 2004-03-18 17:47:55 UTC
Created attachment 14042 [details]
IDE Log file
Comment 2 ats37 2004-04-12 10:19:26 UTC
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.
Comment 3 ats37 2004-04-12 10:20:35 UTC
Created attachment 14357 [details]
IDE log file
Comment 4 _ tboudreau 2004-07-22 13:37:15 UTC
This code was completely rewritten for 4.0, and I cannot reproduce the problem now, so 
closing.
Comment 5 Milos Kleint 2004-08-06 12:46:33 UTC
*** Issue 46715 has been marked as a duplicate of this issue. ***
Comment 6 Marian Mirilovic 2004-08-16 15:30:56 UTC
verified in [nb_dev](200408151800)
Comment 7 Quality Engineering 2008-12-23 14:24:09 UTC
This issue had *2 votes* before move to platform component