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 194236

Summary: NullPointerException at org.netbeans.modules.cnd.modelimpl.platform.ModelSupport.createFileBuffer
Product: cnd Reporter: Vladimir Voskresensky <vv159170>
Component: Code ModelAssignee: Vladimir Voskresensky <vv159170>
Status: RESOLVED FIXED    
Severity: normal CC: thp
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 175757
Attachments: stacktrace

Description Vladimir Voskresensky 2011-01-11 23:41:25 UTC
Build: NetBeans IDE Dev (Build 110111-9e63a06a4664)
VM: Java HotSpot(TM) 64-Bit Server VM, 17.1-b03, Java(TM) SE Runtime Environment, 1.6.0_22-b04
OS: Linux

User Comments:
vv159170: create remote Quote




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.modelimpl.platform.ModelSupport.createFileBuffer(ModelSupport.java:439)
   at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.findFileImpl(ProjectBase.java:1865)
   at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.findFile(ProjectBase.java:1852)
   at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.onFileIncluded(ProjectBase.java:1233)
   at org.netbeans.modules.cnd.modelimpl.parser.apt.APTParseFileWalker.includeAction(APTParseFileWalker.java:173)
   at org.netbeans.modules.cnd.modelimpl.parser.apt.APTProjectFileBasedWalker.include(APTProjectFileBasedWalker.java:95)
Comment 1 Vladimir Voskresensky 2011-01-11 23:41:30 UTC
Created attachment 104897 [details]
stacktrace
Comment 2 Egor Ushakov 2011-01-12 14:24:36 UTC
local quote project on windows causes IDE to consume 100% cpu and log contains huge number of:
Replace file info for KeyBasedUID on FileKey...
Comment 3 Quality Engineering 2011-01-13 07:57:43 UTC
Integrated into 'main-golden', will be available in build *201101130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/e2f94a1a0af2
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixing #194236 -  NullPointerException at org.netbeans.modules.cnd.modelimpl.platform.ModelSupport.createFileBuffer
Comment 4 Vladimir Kvashin 2011-01-13 13:10:21 UTC
fixed (too many change sets to mention here)
Comment 5 Quality Engineering 2011-01-14 06:08:07 UTC
Integrated into 'main-golden', will be available in build *201101140000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/1c4b038dbbe7
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixing #194236 NPE, #193843 Code model does not work in full remote mode