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 268872

Summary: Reparse Project breaks Code Assistance in current file
Product: cnd Reporter: soldatov <soldatov>
Component: Code ModelAssignee: Alexander Simon <alexvsimon>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P2    
Version: Dev   
Hardware: PC   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

Description soldatov 2016-11-07 09:11:23 UTC
On Solaris 11.3 I use latest Oracle Developer Studio with latest compilers.

Scenario:
- Create C/C++ Application project with main.cpp
- Open Project Properties window
- Set Build|C++ Compiler|C++ Standard = C++11
- Press OK button
- Open main.cpp file
- Add and Save such code:
#include <vector>

int main(int argc, char** argv) {
    std::vector<int> v;
    v.push_back(1);
    return 0;
}
- Call context menu and select "Code Assistance|Reparse Project" item
==> I see 2 unresolved identifiers 'vector' and 'push_back'

Workaround:
- Reopen file
- Rebuild project
- Modify and save file
Comment 1 Vladimir Voskresensky 2016-11-29 18:11:04 UTC
Alexander, please, help to investigate
Comment 2 Vladimir Voskresensky 2016-11-29 21:36:54 UTC
could it be related to the fixed issue #247747?
Comment 3 Vladimir Voskresensky 2016-11-29 21:37:48 UTC
(In reply to Vladimir Voskresensky from comment #2)
> could it be related to the fixed issue #247747?
I mean could it be still reproduced after fixed issue #247747?
Comment 4 Alexander Simon 2016-12-05 09:34:20 UTC

*** This bug has been marked as a duplicate of bug 247747 ***