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 198324 - [70cat] org.netbeans.ExitSecurityException: Illegal attempt to exit early
Summary: [70cat] org.netbeans.ExitSecurityException: Illegal attempt to exit early
Status: RESOLVED DUPLICATE of bug 166236
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-04 20:00 UTC by swpalmer
Modified: 2011-05-06 12:05 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 148454


Attachments
stacktrace (960 bytes, text/plain)
2011-05-04 20:00 UTC, swpalmer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description swpalmer 2011-05-04 20:00:23 UTC
Build: NetBeans IDE 7.0 (Build 201104080000)
VM: Java HotSpot(TM) Server VM, 20.0-b11, Java(TM) SE Runtime Environment, 1.6.0_25-b06
OS: Windows XP

User Comments:
sergius: can't close IDE in a conventional way.

GUEST: I pressed File->Exit. And it won't.

swpalmer: Trying to quite NetBeans  File->Exit doesn't work and the close button on the window has no effect.  This is all happening after an exception caused by dragging and dropping a text file (build.gradle) onto the IDE.  The file never opened and the IDE was in a strange state since then.

GUEST: was abt to exit frm the netBeans

GUEST: Trying to exit the IDE...

jxstanford: exiting.

GUEST: Tried to close window after File-Exit failed

GUEST: iNstalando plugins javafx




Stacktrace: 
org.netbeans.ExitSecurityException: Illegal attempt to exit early
   at org.netbeans.TopSecurityManager.checkExitImpl(TopSecurityManager.java:217)
   at org.netbeans.TopSecurityManager$PrivilegedCheck.run(TopSecurityManager.java:708)
   at java.security.AccessController.doPrivileged(AccessController.java:0)
   at org.netbeans.TopSecurityManager$PrivilegedCheck.check(TopSecurityManager.java:733)
   at org.netbeans.TopSecurityManager$PrivilegedCheck.checkExit(TopSecurityManager.java:721)
   at org.netbeans.TopSecurityManager.checkExit(TopSecurityManager.java:157)
Comment 1 swpalmer 2011-05-04 20:00:27 UTC
Created attachment 108120 [details]
stacktrace
Comment 2 Marian Mirilovic 2011-05-06 06:55:47 UTC
reassign to platform for evaluation, feel free to reassign ...
Comment 3 Jesse Glick 2011-05-06 12:05:42 UTC
The problem is that LifecycleManager.Trivial is being used rather than the real impl. More generally, there are lots of exception indicating a broken lookup. Probably caused by bug #166236.

*** This bug has been marked as a duplicate of bug 166236 ***