Bug 115618 - Can't exit a Platform application with File -> Exit
Can't exit a Platform application with File -> Exit
Product: platform
Classification: Unclassified
Component: -- Other --
Other Windows XP
: P2 (vote)
Assigned To: Jaroslav Tulach
Depends on:
  Show dependency treegraph
Reported: 2007-09-14 23:21 UTC by charliemblack
Modified: 2008-12-22 10:51 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT


Note You need to log in before you can comment on or make changes to this bug.
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?

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo