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 41107 - NullPointerException when using 'type-in-search'
Summary: NullPointerException when using 'type-in-search'
Status: RESOLVED DUPLICATE of bug 41097
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-18 11:41 UTC by tomzi
Modified: 2004-03-19 12:44 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 tomzi 2004-03-18 11:41:17 UTC
I don't really know the specified expression for
this, following happens (NB 3.6 RC1):

.) Klick on node in fs
.) type in filename until the ide doesn't find a
node anymore to the typed in one.
.) press enter

-> NPE:

java.lang.NullPointerException
	at
org.openide.explorer.view.TreeView$ExplorerTree$SearchFieldListener.keyPressed(TreeView.java:1317)
	at
java.awt.Component.processKeyEvent(Component.java:5057)
	at
javax.swing.JComponent.processKeyEvent(JComponent.java:2388)
	at
org.openide.explorer.view.TreeView$3.processKeyEvent(TreeView.java:1226)
	at
java.awt.Component.processEvent(Component.java:4908)
	at
java.awt.Container.processEvent(Container.java:1569)
	at
java.awt.Component.dispatchEventImpl(Component.java:3614)
	at
java.awt.Container.dispatchEventImpl(Container.java:1627)
	at
java.awt.Component.dispatchEvent(Component.java:3476)
	at
java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1713)
	at
java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:627)
	at
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:831)
	at
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:741)
	at
java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:592)
	at
java.awt.Component.dispatchEventImpl(Component.java:3505)
	at
java.awt.Container.dispatchEventImpl(Container.java:1627)
	at
java.awt.Window.dispatchEventImpl(Window.java:1606)
	at
java.awt.Component.dispatchEvent(Component.java:3476)
[catch] at
java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(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 Jan Chalupa 2004-03-19 12:44:41 UTC
Duplicate. Will be fixed in RC2.

*** This issue has been marked as a duplicate of 41097 ***