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 115618

Summary: Can't exit a Platform application with File -> Exit
Product: platform Reporter: charliemblack <charliemblack>
Component: -- Other --Assignee: Jaroslav Tulach <jtulach>
Status: RESOLVED WONTFIX    
Severity: blocker CC: anebuzelsky, mmirilovic
Priority: P2 Keywords: PLATFORM
Version: 6.x   
Hardware: Other   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description charliemblack 2007-09-14 23:21:28 UTC
I am using NetBeans 6.0 beta 1 and upon File -> Exit from my application I get the following stack trace and my
application doesn’t exit.  File -> Exit does work with the IDE.

org.netbeans.ExitSecurityException: Illegal attempt to exit early
        at org.netbeans.TopSecurityManager.checkExitImpl(TopSecurityManager.java:133)
        at org.netbeans.TopSecurityManager$PrivilegedCheck.run(TopSecurityManager.java:567)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.netbeans.TopSecurityManager$PrivilegedCheck.check(TopSecurityManager.java:592)
        at org.netbeans.TopSecurityManager$PrivilegedCheck.checkExit(TopSecurityManager.java:580)
        at org.netbeans.TopSecurityManager.checkExit(TopSecurityManager.java:116)
        at java.lang.Runtime.exit(Runtime.java:106)
        at java.lang.System.exit(System.java:943)
        at org.openide.LifecycleManager$Trivial.exit(LifecycleManager.java:70)
        at org.netbeans.core.actions.SystemExit.run(SystemExit.java:64)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964)
Comment 1 Jiri Prox 2007-09-17 20:53:26 UTC
Obsolete milestone, please reevaluate
Comment 2 Antonin Nebuzelsky 2007-10-22 12:35:55 UTC
Jardo, we already had this bug filed, right? I cannot find it though.
Comment 3 Jaroslav Tulach 2007-10-22 16:09:33 UTC
We had it. This is caused by core not being included in the platform. I doubt it is P2.
Comment 4 Antonin Nebuzelsky 2007-10-22 22:57:32 UTC
Does it mean the user excluded some parts of the platform?