Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

MAC OSX JavaFX - Reopen dialog after crash blocks application

3140182Jun 11 2016 — edited Jun 11 2016

Hi all,

When my application quits anexpectedly, every time I open app a window pops up with "The last time you opened "MyApp", it unexpectedly quit while reopening windows. Do you want to try to reopen its windows again?". This window cannot be closed and has two buttons that perfom nothing on click. While this dialog is visible, my main window cannot be closed (I can only force quit the applicaiton), and if I try to open native file dialog, application blocks.

The workaround I found is to open application while holding shift key.

I tried various suggestions with no results like:

defaults write com.apple.Preview ApplePersistenceIgnoreState -bool yes

or

defaults write -app 'preview' ApplePersistence -bool no.

or

defaults write com.apple.CrashReporter DialogType none

Please help me fixing this issue. Is there any solution to control buttons in this dialog? Did someone found solution to disable this window from showing?

I currently use JavaFX from Java 8.0.51 on Mac OSX.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 9 2016
Added on Jun 11 2016
0 comments
692 views