For a couple of days I've been noticing a suspicious behavior when exiting
the IDE after running platform applications based upon RELEASE120-1, I
think.

Even though the output window displays something like
------------------------------------------------------------------------
BUILD SUCCESS
------------------------------------------------------------------------
Total time:  16.010 s
Finished at: 2020-06-15T16:45:24+02:00
------------------------------------------------------------------------

and the menu item "Run/Stop build/run" is disabled

I get the following dialog when exiting the IDE

Exit IDE
Exiting the IDE will terminate the following processes:
Process - Run(...)
Process - Run(...)
Process - Run(...)
...*

*Number of rows depending on number of application starts.

And the thing is, when I DO have the application running and trying to exit
the IDE,
the dialog shows two rows, one WITH "Process - ", and one without.

I noticed this in my platform application, on Kubuntu and Windows, and was
able to reproduce on a fresh project.

Steps to reproduce on NetBeans 12

   1. Create a new project: Maven based platform application with sample
   module.
   2. Use RELEASE113.
   3. Run & exit the application.
   4. Exit the IDE and notice that it works as expected.
   5. Start the IDE and use RELEASE120-1 instead
   6. Build, Run & exit the application.
   7. Exit the IDE and notice the dialog: Exiting the IDE will terminate
   the following processes

I think one has to restart the IDE between changes of netbeans.version.

You can also try to exit the IDE with the application running and notice
the difference in the dialog contents.

Is it just me?

Reply via email to