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 39833 - [36cat] Find in output tab causes exception
Summary: [36cat] Find in output tab causes exception
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Terminalemulator (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: _ tboudreau
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-09 19:47 UTC by jonrichards
Modified: 2008-12-23 08:23 UTC (History)
1 user (show)

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 jonrichards 2004-02-09 19:47:21 UTC
[ JDK VERSION : J2SE 1.4.2_02 ]

If do Ctrl-F in an output tab I get the following exception:

java.lang.NullPointerException
	at org.netbeans.core.output.OutputTabInner$OutTermPane.findPattern(OutputTabInner.java:1199)
	at org.netbeans.core.output.OutputTabInner$OutTermPane.access$1200(OutputTabInner.java:831)
	at org.netbeans.core.output.OutputTabInner$15.run(OutputTabInner.java:1118)
	at org.netbeans.core.output.OutputTabInner.invokeLater(OutputTabInner.java:2615)
	at org.netbeans.core.output.OutputTabInner.access$1300(OutputTabInner.java:87)
	at org.netbeans.core.output.OutputTabInner$14.performAction(OutputTabInner.java:1112)
	at org.openide.util.actions.CallbackSystemAction$1.run(CallbackSystemAction.java:180)
	at org.openide.util.actions.CallableSystemAction.doPerformAction(CallableSystemAction.java:135)
	at org.openide.util.actions.CallbackSystemAction.actionPerformed(CallbackSystemAction.java:178)
	at org.openide.util.actions.CallbackSystemAction$DelegateAction.actionPerformed(CallbackSystemAction.java:453)
	at org.openide.windows.TopComponent.processKeyBinding(TopComponent.java:702)
	at javax.swing.JComponent.processKeyBindings(JComponent.java:2484)
	at javax.swing.JComponent.processKeyEvent(JComponent.java:2401)
	at java.awt.Component.processEvent(Component.java:4909)
	at java.awt.Container.processEvent(Container.java:1569)
	at java.awt.Component.dispatchEventImpl(Component.java:3615)
	at java.awt.Container.dispatchEventImpl(Container.java:1627)
	at java.awt.Component.dispatchEvent(Component.java:3477)
	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:3506)
	at java.awt.Container.dispatchEventImpl(Container.java:1627)
	at java.awt.Window.dispatchEventImpl(Window.java:1606)
	at java.awt.Component.dispatchEvent(Component.java:3477)
[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 Lukas Hasik 2004-02-09 19:58:28 UTC
are you doing something special ? I'm not able to reproduce on my XP.
What build ? Beta ? Last dev build ?
Comment 2 jonrichards 2004-02-09 20:24:30 UTC
Don't think I'm doing anything special.
It always happens if that's any help.
The version is 1.6 Beta.
Comment 3 jonrichards 2004-02-09 20:24:54 UTC
Sorry. 3.6 beta of course.
Comment 4 Jan Chalupa 2004-02-10 06:25:35 UTC
Reported frequently by the NB 3.6 beta users. Raising prio to P2. This
must be fixed for the final release.
Comment 5 ehartmann 2004-02-10 07:54:42 UTC
It seems not be OS specific as I see the same exception on jdk
1.4.2_02 on Linux with 3.6 Beta.
Comment 6 Marian Mirilovic 2004-02-10 08:27:51 UTC
Reproducible on Linux RH9

Tim, please look at it....
Comment 7 _ tboudreau 2004-02-10 10:34:26 UTC
Fixed in trunk.

/cvs/core/output/src/org/netbeans/core/output/OutputTabInner.java,v  <--  
OutputTabInner.java
new revision: 1.13; previous revision: 1.12
Comment 8 Marian Mirilovic 2004-02-25 16:55:22 UTC
verified in [nb_dev](200402241900)
Comment 9 Quality Engineering 2008-12-23 08:23:45 UTC
moving terminal emulator issues to terminalemulator component.
To see the correct version and target milestone of this issue look at Issue
Activity table.