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 - NullPointerException when closing window
Summary: NullPointerException when closing window
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Text (show other bugs)
Version: 3.x
Hardware: PC Windows 95/98
: P3 blocker (vote)
Assignee: Peter Zavadsky
URL:
Keywords:
: 27005 27381 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-08-30 22:15 UTC by ats37
Modified: 2008-12-22 17:43 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 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.