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.
Sometimes, on OSX while shutting down with NetBeans open, NetBeans cancels the shutdown process although no user interaction is needed (like a dialog to save files which could be a legitimate reason). This happened to me on multiple occasions but I can't actually provide a reproducible usecase as I don't shutdown that often nor really investigated. I basically just get the OSX "NetBeans cancelled shutdown" dialog and after I quit netbeans manually and wait for it, I can manually shutdown nicely. Mostly happened in 6.5 since that's what I use. Pretty sure it applies to current too but I can't say since I don't use it very much.
Not sure if anything can be done about this, as NetBeans can take a while to shut down (the main window disappears immediately, but various things get written out to disk) - I suspect the OS-level shutdown process has a timer for each process it commands to shut down, and if the process takes longer than a certain amount of time, the OS assumes the process couldn't exit. Bear in mind, that's a guess - would be worth asking about this on the Apple Java-Dev mailing list.
i don't think it's a big problem as shutting down the computer isn't usually a frequent action. pls feel free to readjust the issue priority if you disagree.
Indeed it's not a blocking issue, but on my machine NetBeans was the only application with this behavior.
(In reply to comment #2) > i don't think it's a big problem as shutting down the computer isn't usually a > frequent action. It also applies to logout, not just shut down. Apple documentation <http://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPSystemStartup/Articles/BootProcess.html%23//apple_ref/doc/uid/20002130-114794-BAJIBGGI> says that a application has 45 seconds to reply to the shutdown request. A simple test shows that the message about NetBeans canceling the logout or shutdown request appears right away, so it doesn't look like this is an issue with the time it takes for NetBeans to respond.