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 158407

Summary: dotFX trying to call System.exit
Product: third-party Reporter: Oleg Khokhlov <ovk>
Component: -- Other --Assignee: issues@third-party <issues>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=55950
Issue Type: DEFECT Exception Reporter: 55950
Attachments: stacktrace

Description Oleg Khokhlov 2009-02-11 16:03:33 UTC
Build: NetBeans IDE Dev (Build 090206)
VM: Java HotSpot(TM) Server VM, 1.5.0_12-b04, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_12-b04
OS: Windows XP, 5.1, x86

User Comments:
ovk: closed IDE with opened project and started it again

GUEST: In Services panel, clicked to expand DotFX tree

GUEST: Clicked on dotFX tree item in the services tab.

ovk: closed IDE with opened project and started it again



Stacktrace: 
org.netbeans.ExitSecurityException: Illegal attempt to exit early
        at org.netbeans.TopSecurityManager.checkExitImpl(TopSecurityManager.java:192)
        at org.netbeans.TopSecurityManager$PrivilegedCheck.run(TopSecurityManager.java:652)
        at java.security.AccessController.doPrivileged(AccessController.java:0)
        at org.netbeans.TopSecurityManager$PrivilegedCheck.check(TopSecurityManager.java:677)
        at org.netbeans.TopSecurityManager$PrivilegedCheck.checkExit(TopSecurityManager.java:665)
        at org.netbeans.TopSecurityManager.checkExit(TopSecurityManager.java:153)
Comment 1 Oleg Khokhlov 2009-02-11 16:03:42 UTC
Created attachment 76866 [details]
stacktrace
Comment 2 dlipin 2009-02-11 16:15:48 UTC
Looks like the dup of 128965.

*** This issue has been marked as a duplicate of 128965 ***
Comment 3 Jesse Glick 2009-04-09 22:17:29 UTC
One exception is from StartLog, which I can fix. The rest are from com.dotfx.netbeans.RepositoryFacade, which is trying
to call System.exit.
Comment 4 Jesse Glick 2009-04-09 22:18:41 UTC
In the unlikely event that System.exit is actually wanted, NB requires that you call LifecycleManager.getDefault().exit().