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 65854

Summary: [50cat] Exception when I search something in the Ouput window after the process has finished
Product: platform Reporter: host <host>
Component: Output WindowAssignee: Milos Kleint <mkleint>
Status: VERIFIED FIXED    
Severity: blocker CC: jchalupa
Priority: P3    
Version: 5.x   
Hardware: All   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:

Description host 2005-10-04 14:26:20 UTC
I have run a program via "Run Main Project" and it has finished succesfully.
Now I click in the output window, from the drop down menu there I select "Find"
and type the word to look for.
After pressing return I get the following exception but the word is found and
highlighted correctly in the output window.

java.lang.IllegalStateException: Output file has been disposed!
	at org.netbeans.core.output2.OutWriter.getStorage(OutWriter.java:105)
	at org.netbeans.core.output2.OutWriter$LinesImpl.getStorage(OutWriter.java:548)
	at org.netbeans.core.output2.AbstractLines.find(AbstractLines.java:801)
	at
org.netbeans.core.output2.Controller$FindActionListener.actionPerformed(Controller.java:486)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:282)
[catch] at org.netbeans.core.output2.FindDialogPanel.run(FindDialogPanel.java:74)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 1 Milos Kleint 2005-10-13 10:10:44 UTC
should be fixed now in trunk.
Comment 2 host 2005-11-01 15:46:28 UTC
verified