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 186385

Summary: Exception: !!! STANDALONE FILE FileImpl @-2103064348:1389935330 C:\Users\??????\Documents\NetBeansProjects\?????? ???????\PathTest\welcome.cc prj:315979244KeyBasedUID on ProjectKey C:\Users\??????\Doc
Product: cnd Reporter: Andrew Krasny <akrasny>
Component: -- Other --Assignee: Vladimir Voskresensky <vv159170>
Status: VERIFIED FIXED    
Severity: normal CC: apepin, vkvashin
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 169830
Attachments: stacktrace

Description Andrew Krasny 2010-05-19 14:31:40 UTC
Build: NetBeans IDE Dev (Build 100518-dae3dee5b201)
VM: Java HotSpot(TM) 64-Bit Server VM, 16.0-b13, Java(TM) SE Runtime Environment, 1.6.0_18-b07
OS: Windows 7

User Comments:
akrasny: start IDE with opened projects/files




Stacktrace: 
java.lang.Exception: !!! STANDALONE FILE FileImpl @-2103064348:1389935330 C:\Users\??????\Documents\NetBeansProjects\?????? ???????\PathTest\welcome.cc prj:315979244KeyBasedUID on ProjectKey C:\Users\??????\Documents\NetBeansProjects\?????? ???????\PathTest\welcome.ccN
TOOK PRIORITY OVER OTHER FILES [FileImpl @-2103064348:1389935330 C:\Users\??????\Documents\NetBeansProjects\?????? ???????\PathTest\welcome.cc prj:315979244KeyBasedUID on ProjectKey C:\Users\??????\Documents\NetBeansProjects\?????? ???????\PathTest\welcome.ccN, FileImpl @1085705676:2083578524 C:\Users\??????\Documents\NetBeansProjects\?????? ???????\PathTest\welcome.cc prj:1835904886KeyBasedUID on ProjectKey C:\Users\??????\Documents\NetBeansProjects\?????? ???????\PathTestN]
   at org.netbeans.modules.cnd.utils.CndUtils.assertTrue(CndUtils.java:161)
   at org.netbeans.modules.cnd.modelutil.CsmUtilities.getCsmFiles(CsmUtilities.java:440)
   at org.netbeans.modules.cnd.modelutil.CsmUtilities.getCsmFile(CsmUtilities.java:471)
   at org.netbeans.modules.cnd.modelutil.CsmUtilities.getCsmFile(CsmUtilities.java:326)
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmExpandedTokenProcessor.create(CsmExpandedTokenProcessor.java:85)
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery.query(CsmCompletionQuery.java:250)
Comment 1 Andrew Krasny 2010-05-19 14:31:46 UTC
Created attachment 99212 [details]
stacktrace
Comment 2 Alexander Simon 2010-05-20 09:24:16 UTC
*** Bug 186420 has been marked as a duplicate of this bug. ***
Comment 3 Vladimir Voskresensky 2010-05-20 12:25:47 UTC
fixed in trunk:
http://hg.netbeans.org/cnd-main?cmd=changeset;node=e50a37922a50
Comment 4 Vladimir Voskresensky 2010-05-20 12:27:00 UTC
please, consider it as a showstopper.
It's one more of our issues with standalone files support which was discovered by inserted exception to track down the root cause
Comment 5 Vladimir Voskresensky 2010-05-20 12:43:58 UTC
(i18n) http://hg.netbeans.org/cnd-main/rev/b690bd66def3
Comment 6 Alexander Pepin 2010-05-20 12:58:08 UTC
Accepted as a showstopper after discussion.
Starting showstopper process.
Comment 7 Vladimir Kvashin 2010-05-20 17:00:52 UTC
The fix is reviewed. I state that it is correct and safe.
Comment 8 dnikitin 2010-05-20 17:51:15 UTC
verified in dev cnd build
Comment 9 dnikitin 2010-05-20 17:53:36 UTC
verified in dev cnd build
Comment 10 Vladimir Voskresensky 2010-05-20 17:57:32 UTC
e50a37922a50 transplanted to a97cb7ad8759
Comment 11 Alexander Pepin 2010-05-24 10:19:58 UTC
verified in rc1 build