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 55609

Summary: NPE when pressing Ctrl-F4 (try to close) in (empty) CVS output window
Product: obsolete Reporter: herkules <herkules>
Component: vcscoreAssignee: Martin Entlicher <mentlicher>
Status: RESOLVED FIXED    
Severity: blocker Keywords: SIMPLEFIX
Priority: P3    
Version: 4.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description herkules 2005-02-28 13:43:18 UTC
Press Ctrl-9, Crtl-F4:


java.lang.NullPointerException
	at
org.netbeans.modules.vcscore.commands.CommandOutputTopComponent$1.actionPerformed(CommandOutputTopComponent.java:160)
	at
javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1571)
	at
javax.swing.JComponent.processKeyBinding(JComponent.java:2730)
	at
org.openide.windows.TopComponent.processKeyBinding(TopComponent.java:760)
	at
javax.swing.JComponent.processKeyBindings(JComponent.java:2776)
	at
javax.swing.JComponent.processKeyEvent(JComponent.java:2693)
Comment 1 Martin Entlicher 2005-02-28 13:54:33 UTC
Right, I've reproduced it, the fix is simple.
Comment 2 Martin Entlicher 2005-02-28 14:18:59 UTC
Fixed in trunk:

/cvs/vcscore/src/org/netbeans/modules/vcscore/commands/CommandOutputTopComponent.java,v
 <--  CommandOutputTopComponent.java
new revision: 1.26; previous revision: 1.25