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 214366 - org.netbeans.core.execution.ExitSecurityException: Exit from within user-loaded code
Summary: org.netbeans.core.execution.ExitSecurityException: Exit from within user-load...
Status: RESOLVED INVALID
Alias: None
Product: contrib
Classification: Unclassified
Component: Other (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-18 12:26 UTC by 452
Modified: 2012-11-08 18:35 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 6822


Attachments
stacktrace (4.76 KB, text/plain)
2012-06-18 12:26 UTC, 452
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 452 2012-06-18 12:26:15 UTC
This issue was reported manually by 452.
It already has 2 duplicates 


Build: NetBeans IDE Dev (Build 201206180001)
VM: Java HotSpot(TM) Client VM, 23.1-b03, Java(TM) SE Runtime Environment, 1.7.0_05-b05
OS: Linux

User Comments:
452: I only click to menu -> Tools -> Customize archived Bean




Stacktrace: 
org.netbeans.core.execution.ExitSecurityException: Exit from within user-loaded code
   at org.netbeans.core.execution.SecMan.checkExitImpl(SecMan.java:92)
   at org.netbeans.core.execution.SecMan$PrivilegedCheck.run(SecMan.java:163)
   at java.security.AccessController.doPrivileged(AccessController.java:0)
   at org.netbeans.core.execution.SecMan$PrivilegedCheck.check(SecMan.java:178)
   at org.netbeans.core.execution.SecMan$PrivilegedCheck.checkExit(SecMan.java:173)
   at org.netbeans.core.execution.SecMan.checkExit(SecMan.java:72)
Comment 1 452 2012-06-18 12:26:22 UTC
Created attachment 120980 [details]
stacktrace
Comment 2 Ondrej Vrabec 2012-11-08 14:08:52 UTC
org.netbeans.modules.archiver.CustomizeBeanAction.performAction - the exception in initializer should be handled more gracefully probably.
Comment 3 Jesse Glick 2012-11-08 18:35:35 UTC
Nothing to fix. The bean sets defaultCloseOperation to EXIT_ON_CLOSE, which is not permitted when loaded inside the IDE’s JVM. When that fails, the error is reported.