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.
I.e. TopSecurityManager should block all exit calls unless a flag is set that NbTM.exit is being called. This should improve robustness.
Candidate for inclusion in Orion, I suppose.
Created attachment 4794 [details] Proposed patch
The attached patch (against release33 sources) appears to solve #20204. When Help | Help Sets | <<your bogus help set here>> is selected (I tried messing up usersguide to include a mistyped search database name in ide.hs), an exception dialog appears, and the details include information about the help set error sufficient to debug it. The rest of the IDE is unaffected and can continue to be used. I will apply this patch to the trunk soon. Let me know if and when it should be applied to release33 or some FFJ-specific branch. The patch is simple enough and I believe safe; reviews welcome.
Possible candidate for pre-3.4 patch; needs to be tested & evaluated, remove keyword if desired.
Fixed in trunk. committed * Up-To-Date 1.138 core/src/org/netbeans/core/NbTopManager.java committed * Up-To-Date 1.59 core/src/org/netbeans/core/NonGui.java committed * Up-To-Date 1.8 core/src/org/netbeans/core/NonGuiMain.java committed * Up-To-Date 1.49 core/src/org/netbeans/core/execution/TopSecurityManager.java
The diff looks sane to me. Consider it reviewed
Assuming there is a 3.3.2, it would be helpful if this patch were in there so it could be included in Orion FCS. Thank you for the patch.
Tested and verified. Will mark this as verified after commit into 3.3.2.
x
-> Petr for physical integration.
Integrated into orion_fcs branch
Verified in FFJ40.
Resolved for 3.4.x or earlier, no new info since then -> closing.
Created attachment 64957 [details] Thread dump with NB 6.1
toniomack's thread dump was intended for issue #138196.