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 26929

Summary: NullPointerException when closing window
Product: platform Reporter: ats37 <ats37>
Component: TextAssignee: Peter Zavadsky <pzavadsky>
Status: CLOSED FIXED    
Severity: blocker CC: mihmax
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Windows 95/98   
Issue Type: DEFECT Exception Reporter:

Description ats37 2002-08-30 22:15:15 UTC
I'm running Netbeans 3.4 under the Sun JDK 1.4.0 using the 
Windows L&F.  I had a number of files open in the editor, 
and closed them all by clicking the "X" button in the menu 
bar (not the one in the title bar, which would have quit 
the application).  The editor window did close, but I also 
got a dialog box with the following exception:

Annotation: Exception occurred in Request Processor
java.lang.NullPointerException
        at org.openide.text.CloneableEditor$2.taskFinished
(CloneableEditor.java:219)
        at org.openide.util.Task.notifyFinished
(Task.java:121)
        at org.openide.util.Task.run(Task.java:138)
[catch] at org.openide.util.RequestProcessor$Processor.run
(RequestProcessor.java:599)
Comment 1 Peter Zavadsky 2002-09-04 08:57:05 UTC
Fixed in [trunk]

openide/../text/CloneableEditor.java [1.48]
Comment 2 Marian Mirilovic 2002-09-11 09:58:38 UTC
verified in source
Comment 3 Peter Zavadsky 2002-09-18 08:15:44 UTC
*** Issue 27381 has been marked as a duplicate of this issue. ***
Comment 4 Peter Zavadsky 2002-10-14 15:43:21 UTC
*** Issue 27005 has been marked as a duplicate of this issue. ***
Comment 5 Jaroslav Tulach 2002-12-03 09:54:00 UTC
Hi. This issue is marked as 3.4.1_CANDIDATE. It means that it should be
integrated into release341 one branch. The plan at
http://www.netbeans.org/devhome/docs/releases/34/index.html expected beta1 to be
produced on Dec01. That did not happen due to a lot of outstanding not
integrated candidates like this one. 

Would it be possible to spend few minutes by backporting this fix? Thank you in
advance.
Comment 6 Peter Zavadsky 2002-12-03 16:06:05 UTC
Integrated into [release341] branch.

openide/../text/CloneableEditor.java 1.42.16.2.2.1 part of the patch
Comment 7 Peter Zavadsky 2002-12-03 16:07:59 UTC
Integrated into [release341] branch.

openide/../text/CloneableEditor.java 1.42.16.2.2.1 part of the patch
Comment 8 Quality Engineering 2003-07-01 16:19:02 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.