This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
My customer complains that in spite of provided various options through run.extra.args in a project, those options are not always passed into its application. A bit of investigation turned out that (if there is a $userdir/lock file), additional parameters are passed to the application, especially "--test-userdir-lock-with-invalid-arg". I am not sure what module is supposed to handle this argument, but in simple NetBeans Platform Application there is none. That means the command line is found invalid and none of its arguments are processed. To simulate, use the attached Hg bundle and: 1. start the application with Ctrl-F5 2. properly close the main window 3. start with Ctrl-F5 once again check: so far no asserts 4. stop with Shift-F5 5. start with Ctrl-F5 failure: assert is shown, as the command line processor is not invoked.
Created attachment 106357 [details] Hg bundle with my project
Currently WONTFIX; do not use Finish Debugger, just close the app normally. *** This bug has been marked as a duplicate of bug 193649 ***
Finish debugger is a natural end of majority of debugging sessions. Explain why it breaks subsequent run in case of NetBeans platform based applications, before trying to close as won'tfix.
*** This bug has been marked as a duplicate of bug 193681 ***