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 55495 - NPE during IDE finish
Summary: NPE during IDE finish
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P1 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
: 55524 55561 55585 55590 56229 57229 57952 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-24 14:26 UTC by Jan Jancura
Modified: 2008-12-22 23:57 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NPE (1.51 KB, text/plain)
2005-02-24 14:36 UTC, Jan Jancura
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Jancura 2005-02-24 14:26:14 UTC
1) start some process in NB (run some app)
2) finish NB (press x button)
3) press Cancel in exit ide dialog
4) finish NB again (press x button)
=> NPE & its not possible to finish netbeans now.
Comment 1 Jan Jancura 2005-02-24 14:36:19 UTC
Created attachment 20503 [details]
NPE
Comment 2 Petr Nejedly 2005-02-24 14:56:22 UTC
I've seen it myself.
Comment 3 pzajac 2005-02-24 15:21:43 UTC
probably problem in CLI 
Comment 4 Petr Nejedly 2005-02-24 20:54:39 UTC
The problem is in NbTopManager, which calls
org.netbeans.CLIHandler.stopServer() even before the exit is
confirmed, so the second exit attempt calls it second time.
Comment 5 Jan Jancura 2005-02-25 10:57:30 UTC
*** Issue 55524 has been marked as a duplicate of this issue. ***
Comment 6 Milan Kubec 2005-02-25 11:08:11 UTC
I think it's P2, user cannot correctly exit IDE, the only way is task
manager or kill.
Comment 7 Jan Chalupa 2005-02-25 12:40:28 UTC
It's a P1. The user cannot exit the IDE without killing the process.
Yarda, please fix.
Comment 8 Jaroslav Tulach 2005-02-25 19:14:50 UTC
"#55495:  Stops CLI when closing is approved by all modules"

Checking in bootstrap/src/org/netbeans/CLIHandler.java;
/cvs/core/bootstrap/src/org/netbeans/CLIHandler.java,v  <-- 
CLIHandler.java
new revision: 1.18; previous revision: 1.17
done
Processing log script arguments...
More commits to come...
Checking in src/org/netbeans/core/NbTopManager.java;
/cvs/core/src/org/netbeans/core/NbTopManager.java,v  <-- 
NbTopManager.java
new revision: 1.215; previous revision: 1.214

I know that it is not educative enough, but for this fix I have no
test. I'll provide one if it regresses once more.
Comment 9 Milos Kleint 2005-02-28 06:49:23 UTC
*** Issue 55585 has been marked as a duplicate of this issue. ***
Comment 10 Jan Chalupa 2005-03-01 09:58:02 UTC
*** Issue 55561 has been marked as a duplicate of this issue. ***
Comment 11 Milan Kubec 2005-03-01 10:16:00 UTC
*** Issue 55590 has been marked as a duplicate of this issue. ***
Comment 12 Jan Chalupa 2005-03-13 13:07:49 UTC
*** Issue 56229 has been marked as a duplicate of this issue. ***
Comment 13 Jan Chalupa 2005-03-31 05:34:12 UTC
*** Issue 57229 has been marked as a duplicate of this issue. ***
Comment 14 Jaroslav Tulach 2005-04-20 18:10:44 UTC
*** Issue 57952 has been marked as a duplicate of this issue. ***
Comment 15 Marian Mirilovic 2005-07-14 14:15:28 UTC
verified in NB.dev(200607131800)