Hey guys!
I'm facing a quite weird problem with a B4J app.
Looks like it happens when I use FileChooser.ShowOpenMultiple(MainForm).
Whenever I hit "Cancel" on the file chooser dialog, application crashes immediately.
In debug mode, B4J IDE stays running as if the app was still open even though it's not.
Sometimes it takes more than one "cancel" click, but it always happens.
It happens also in release mode, in which case the UI closes and leaves Java SE binary running and I have to finish in task manager.
Find attached a test project to reproduce the error
It's a simple project that opens a main form with a button. Clicking that button, it opens the file open dialog. Select one or more files and click "Open". The selected filenames are written to log.
Click "Cancel", and the app closes immediately with no information whatsoever. No error, no warning, no nothing. It just crashes.
I'd appreciate it someone would shed a light on this rather strange behaviour.
Thanks!
I'm running Windows 10, B4J 10.0, JRE 8, JDK 11
I'm facing a quite weird problem with a B4J app.
Looks like it happens when I use FileChooser.ShowOpenMultiple(MainForm).
Whenever I hit "Cancel" on the file chooser dialog, application crashes immediately.
In debug mode, B4J IDE stays running as if the app was still open even though it's not.
Sometimes it takes more than one "cancel" click, but it always happens.
It happens also in release mode, in which case the UI closes and leaves Java SE binary running and I have to finish in task manager.
Find attached a test project to reproduce the error
It's a simple project that opens a main form with a button. Clicking that button, it opens the file open dialog. Select one or more files and click "Open". The selected filenames are written to log.
Click "Cancel", and the app closes immediately with no information whatsoever. No error, no warning, no nothing. It just crashes.
I'd appreciate it someone would shed a light on this rather strange behaviour.
Thanks!
I'm running Windows 10, B4J 10.0, JRE 8, JDK 11