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.

Bug 270548 - Not able to delete C/C++ Build host once added
Summary: Not able to delete C/C++ Build host once added
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 8.2
Hardware: PC Windows 10 x64
: P3 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-03 17:11 UTC by beans4lad
Modified: 2017-09-22 23:31 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description beans4lad 2017-05-03 17:11:44 UTC
I am seeing issue where in remote builds hosts once added then they are not getting deleted anytime. To be precise once you delete the host they gets removed but once you re-open IDE it will come back.

I don't have any reference of them in any project configuration.

steps to reproduce:
1. add c/c++ remote build host
2. connect host and may be try to build your project 
3. Now make some other host default.
4. Delete the host added in step 1
5. reload the IDE.

Version Detail:
Product Version: NetBeans IDE 8.2 (Build 201609300101)
Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 1
Java: 1.8.0_121; Java HotSpot(TM) 64-Bit Server VM 25.121-b13
Runtime: Java(TM) SE Runtime Environment 1.8.0_121-b13
System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
Comment 1 Vladimir Kvashin 2017-05-10 12:14:39 UTC
The host reappearance means that a reference to this host has stuck somewhere.

I think if you also changed the build host in the project, then the host would not be resurrected.

Upon start-up IDE reopens the projects that were previously open. If a project has a build host that does not exist in the list, IDE automatically adds this host to the list.
Comment 2 Vladimir Kvashin 2017-06-07 12:03:59 UTC
So the presence of the host in the list means that there is a reference to that host somewhere (most likely it is a build host in one of the opened projects or there is a file that is open on this host). If IDE didn't add a host into the list, it would have an unresolved references, which would lead to unpleasant consequences either.
Comment 3 Chimenti 2017-09-22 15:07:41 UTC
I am new to netbeans and I'm having this issue too. I created a remote project successfully but after I deleted the project it won't let me make any projects with a local host..

How do I get rid of the remote host or better yet how do I configure my host so that I can choose which ever one I want for a project? Right now the drop down menu when I make a new project is grayed out and only allows me to choose the remote host.
Comment 4 Chimenti 2017-09-22 23:31:19 UTC
Resolved by restoring defaults in Tools > C++ tab.