Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 163039 - "The application NetBeans canceled restart" displayed when shutting down OS X
"The application NetBeans canceled restart" displayed when shutting down OS X
Product: platform
Classification: Unclassified
Component: -- Other --
Macintosh Mac OS X
: P4 with 1 vote (vote)
: 6.x
Assigned To: issues@platform
Depends on:
  Show dependency treegraph
Reported: 2009-04-19 16:39 UTC by behrangsa
Modified: 2014-09-10 00:52 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT

Error message screenshot (92.33 KB, image/png)
2012-08-31 13:39 UTC, andyimt

Note You need to log in before you can comment on or make changes to this bug.
Description behrangsa 2009-04-19 16:39:02 UTC
When NetBeans is running (with Java 1.6) and I restart/shutdown OS X Leopard 10.5.6, OS X cancels the restart/shutdown process and shows a dialog box 
with this message "The application NetBeans canceled restart."
Comment 1 Stanislav Aubrecht 2009-04-20 09:57:16 UTC
i've reproduce the problem but i suspect it's caused by netbeans taking too long to quit. because netbeans does quit
even though the message is displayed. i'm not sure there's much we can do about this
Comment 2 behrangsa 2009-04-20 21:12:44 UTC
I think there should be a way to fix this. Other Java IDEs (IDEA and Eclipse) do not have this problem on OS X.
Comment 3 simpatico 2011-06-20 16:28:54 UTC
this occurs also to NetBeans Platform applications and is very user-unfriendly.
Comment 4 andyimt 2012-08-31 13:36:59 UTC
Same situation here with Netbeans 7.2 on OS X 10.8.1.  It doesn't seem like the app is taking too long to quit, as I receive the message almost instantaneously.  (Attached screenshot)

It even happens if there are no projects / files open at all.  I suspect it's an issue with handling the close event itself.
Comment 5 andyimt 2012-08-31 13:39:46 UTC
Created attachment 123780 [details]
Error message screenshot
Comment 6 Rich Unger 2014-09-10 00:52:32 UTC
Interesting reference for this:

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