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 119615 - NPE after ENTER key is pressed with selected tree node
Summary: NPE after ENTER key is pressed with selected tree node
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Nejedly
Depends on:
Reported: 2007-10-22 09:21 UTC by Jiri Vagner
Modified: 2008-12-22 12:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:

exception.txt (1.88 KB, text/plain)
2007-10-22 09:24 UTC, Jiri Vagner

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Vagner 2007-10-22 09:21:54 UTC
NPE is thrown after ENTER key is pressed with selected tree node in Project, Files or Services tree.

Steps to reproduce:
 - start IDE
 - go to Services tab and select for example "Databases" node
 - press ENTER key

	at org.openide.explorer.view.TreeView$PopupSupport.actionPerformed(
	at javax.swing.JComponent$ActionStandin.actionPerformed(
	at javax.swing.SwingUtilities.notifyAction(
	at javax.swing.JComponent.processKeyBinding(
	at javax.swing.JComponent.processKeyBindings(
	at javax.swing.JComponent.processKeyEvent(
	at java.awt.Component.processEvent(

Product Version: NetBeans IDE Dev (Build 200710211200)
Java: 1.5.0_12; Java HotSpot(TM) Client VM 1.5.0_12-b04
System: Linux version 2.6.20-16-generic running on i386; UTF-8; en_US (nb)
Comment 1 Jiri Vagner 2007-10-22 09:24:50 UTC
Created attachment 51389 [details]
Comment 2 Petr Nejedly 2007-10-22 15:00:45 UTC
Easy to reproduce, simple to fix though mostly harmless.
I will fix it for 6.0.
Comment 3 Petr Nejedly 2007-10-22 15:37:08 UTC
Fixed. I accidentally removed a null check in v1.29
Comment 4 Jiri Vagner 2007-10-26 09:35:13 UTC

Product Version: NetBeans IDE Dev (Build 200710241200)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05
System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)