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.
Created attachment 156960 [details] Shows duplicates Not sure if this is the right category. Please reassign as appropriate! See attachments. Steps to reproduce: 1. Invoke File->New Project->Samples->JavaFX and select the "Maven FXML MigPane Sample". Accept the defaults, and create the project. 2. Debug the project. 3. Invoke File->New Project->Samples->JavaFX and select "Advanced Media". Accept the defaults and create the project. 4. Debug the project. Note the entries in the Debug toolbar dropdown. 5. Delete the "Maven FXML MigPane Sample", including sources. 6. Check the entries in the Debug toolbar dropdown. See bug attachments. Tested using IDE 8.1 FCS: Product Version: NetBeans IDE 8.1 (Build 201510222201) Java: 1.8.0_72-ea; Java HotSpot(TM) 64-Bit Server VM 25.72-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_72-ea-b02 System: Linux version 3.16.0-51-generic running on amd64; UTF-8; en_US (nb) (ubuntu 14.04)
Created attachment 156961 [details] Shows more duplicates
Created attachment 156962 [details] Shows entries remain after project deletion
please evaluate
I didn't reproduce more duplicates. But even two duplicates are wrong. The list of last debugging executions should not contain the current project.
Fixed by changeset: 293310:4fdb63703dbb http://hg.netbeans.org/core-main/rev/4fdb63703dbb
Integrated into 'main-silver', will be available in build *201510290002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/4fdb63703dbb User: mentlicher@netbeans.org Log: #256161: Get rid of duplicates and deleted/closed projects in debug projects history.
Created attachment 157083 [details] After deleting project, it yet remains in the Debug toolbar dropdown Dev build 201510300002 shows the duplicates have been eliminated (thank you), but an entry for the previously deleted project yet remains in the Debug dropdown menu (toolbar).
I can not reproduce this. The item is removed for me after the project is deleted.
Created attachment 157125 [details] Shows the error (newer test case) Slightly different steps to reproduce: 1. Invoke File->New Project->JavaFX->JavaFX Application and Click "Next". Accept the defaults, and Click "Finish" to create the project. 2. Debug the project. 3. Invoke File->New Project->Maven->JavaFX Application and Click "Next". Accept the defaults, and Click "Finish" to create the project. 4. Debug the Maven JavaFX project. 5. Right-click the Maven JavaFX project in the Projects view, and Delete it, including sources. 6. Check the entries in the Debug toolbar dropdown. It should look similar to the attachment dated 2015-Nov-03 This was tested using: NetBeans IDE Dev (Build 201511030002) on Windows 8.1 (32b) with Java 1.8.0_66; and on Ubuntu 14.04/Linux 3.16.0-51-generic (64b) with Java 1.8.0_72-ea-b02
I have reproduced it with the Maven JavaFX project. Thanks for the steps.
The problem here is, that after the project gets removed from the Projects view, I'm notified about a running task, that process the deletion of the project. Based on that notification, I grab the last finished task (which happened to be the deleted one) and add it back. I can implement a workaround for that strange behavior in the debugger menu logic, but IMHO this should be solved more conceptually in issue #256362.