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 154586 [details] Screenshot of a working project with its name highlighted in red. Product Version: NetBeans IDE Dev (Build 201507130001) Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM 25.45-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_45-b14 System: Linux version 3.13.0-37-generic running on amd64; UTF-8; cs_CZ (nb) Description: ============ When user opens a project which needs a specific Java platform not found in the NetBeans IDE and such dependency issue is resolved, the project root node remains highlighted in red color although there is no reason for this annotation - see attached screenshot. Steps to reproduce: =================== 1. Launch NetBeans IDE on JDK 8. 2. In "Tools > Java Platform" make sure you only have just one Java platform registered: "JDK 1.8 (Default)". 3. Open attached JavaApplication8 project. 4. "Open Project" dialog informing about missing project resources shows up. Just "Close" it. 5. Right click JavaApplication8 project root node and invoke "Properties" from its popup menu. 6. Click "Libraries" category and select "JDK 1.8 (Default)" as "Java Platform". 7. Click "OK" button. Expected: If user selects for example "Source Packages" node, "JavaApplication8" project root node is displayed in black color. Actual: If user selects for example "Source Packages" node, "JavaApplication8" project root node is displayed in red color.
Created attachment 154587 [details] Sample project to reproduce the wrong error highlighting.
could not reproduce with NetBeans IDE Dev (Build 20160706-a8756e9db1c8) perhaps this was already fixed closing