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 221835 - Code model can be broken by different ways on the simplest project with two configurations
Summary: Code model can be broken by different ways on the simplest project with two c...
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 7.3
Hardware: PC Solaris
: P3 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks: 221537
  Show dependency tree
 
Reported: 2012-11-09 14:57 UTC by Alexander Simon
Modified: 2012-11-09 15:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
project (145.61 KB, application/x-gzip)
2012-11-09 14:57 UTC, Alexander Simon
Details
Open project in IDE and provide this layout (143.67 KB, image/png)
2012-11-09 15:02 UTC, Alexander Simon
Details
attempt to fix project events (3.73 KB, patch)
2012-11-09 15:26 UTC, Alexander Simon
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2012-11-09 14:57:50 UTC
Created attachment 127481 [details]
project

The attachment contains project with two configurations.
- GNU configuration uses GNU tool collection
- SUN configuration uses SUN configuration
Comment 1 Alexander Simon 2012-11-09 15:02:40 UTC
Created attachment 127482 [details]
Open project in IDE and provide this layout

Note:
- left string editor opens string from Oracle Solaris Studio tool collectin
- right string editor opens string from GNU tool collection
Comment 2 Alexander Simon 2012-11-09 15:15:41 UTC
Expected behavior:
1. Selected SUN configuration.
- there is no redness in sun.cpp
- there is no navigator for gnu.cpp
- left string without redness
- right string has redness, navigator say "Limited CA"
- hyperlink sun.h:<string> go to left string
- hyperlink gnu.h:<string> go to left string
2. Select GNU configuration.
- there is no navigator for sun.cpp
- there is no redness in gnu.cpp
- left string has redness, navigator say "Limited CA"
- right string without redness
- hyperlink sun.h:<string> go to right string
- hyperlink gnu.h:<string> go to right string
3. repeat 1.
4. repeat 2.

Actual behavior:
- any assertion can be easy broken
Comment 3 Alexander Simon 2012-11-09 15:20:11 UTC
Most likely this bug explains unpredictable behavior described in the bug #221537
Comment 4 Alexander Simon 2012-11-09 15:26:35 UTC
Created attachment 127488 [details]
attempt to fix project events

Unfortunately, code model does mot manage to right process fixed events.