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 253437 - Project name highlighted in red color
Summary: Project name highlighted in red color
Status: RESOLVED WORKSFORME
Alias: None
Product: projects
Classification: Unclassified
Component: Ant Project (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-13 12:02 UTC by Jiri Kovalsky
Modified: 2016-07-06 10:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of a working project with its name highlighted in red. (99.09 KB, image/png)
2015-07-13 12:02 UTC, Jiri Kovalsky
Details
Sample project to reproduce the wrong error highlighting. (15.26 KB, application/zip)
2015-07-13 12:05 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2015-07-13 12:02:48 UTC
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.
Comment 1 Jiri Kovalsky 2015-07-13 12:05:03 UTC
Created attachment 154587 [details]
Sample project to reproduce the wrong error highlighting.
Comment 2 Tomas Stupka 2016-07-06 10:49:51 UTC
could not reproduce with NetBeans IDE Dev (Build 20160706-a8756e9db1c8)
perhaps this was already fixed
closing