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 - NPE when pressing Ctrl-F4 (try to close) in (empty) CVS output window
Summary: NPE when pressing Ctrl-F4 (try to close) in (empty) CVS output window
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: SIMPLEFIX
Depends on:
Blocks:
 
Reported: 2005-02-28 13:43 UTC by herkules
Modified: 2005-02-28 14:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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