Bug 173430 - NetBeans cancels OSX shutdown
NetBeans cancels OSX shutdown
Status: NEW
Product: platform
Classification: Unclassified
Component: -- Other --
7.3
Macintosh All
: P4 with 4 votes (vote)
: TBD
Assigned To: issues@platform
issues@platform
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-09-30 22:02 UTC by emi
Modified: 2013-02-12 18:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description emi 2009-09-30 22:02:07 UTC
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.
Comment 1 _ tboudreau 2009-09-30 23:36:32 UTC
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.
Comment 2 Stanislav Aubrecht 2009-10-02 15:09:18 UTC
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.
Comment 3 emi 2009-10-02 15:11:17 UTC
Indeed it's not a blocking issue, but on my machine NetBeans was the only application with this behavior.
Comment 4 jpallas 2011-07-19 01:47:46 UTC
(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.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo