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 193112 - NullPointerException at org.netbeans.modules.cnd.api.model.util.CsmBaseUtilities.findClosestTopLevelObject
Summary: NullPointerException at org.netbeans.modules.cnd.api.model.util.CsmBaseUtilit...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
: 193127 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-12-09 10:56 UTC by Exceptions Reporter
Modified: 2010-12-16 12:34 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 173448


Attachments
stacktrace (2.16 KB, text/plain)
2010-12-09 10:57 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2010-12-09 10:56:58 UTC
This issue was reported manually by vv159170.
It already has 6 duplicates 


Build: NetBeans IDE 7.0 M2 (Build 201010151251)
VM: IBM J9 VM, 2.4, Java(TM) SE Runtime Environment, pxa6460sr7-20091215_02 (SR7)
OS: Linux

User Comments:
GUEST: right click or ctrl + c




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.api.model.util.CsmBaseUtilities.findClosestTopLevelObject(CsmBaseUtilities.java:380)
   at org.netbeans.modules.cnd.completion.impl.xref.ReferenceImpl.getClosestTopLevelObject(ReferenceImpl.java:246)
   at org.netbeans.modules.cnd.modelimpl.csm.core.FileComponentReferences.addReference(FileComponentReferences.java:220)
   at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.addReference(FileImpl.java:1375)
   at org.netbeans.modules.cnd.modelimpl.impl.services.CsmReferenceStorageImpl.put(CsmReferenceStorageImpl.java:64)
   at org.netbeans.modules.cnd.spi.model.services.CsmReferenceStorage$Default.put(CsmReferenceStorage.java:83)
Comment 1 Exceptions Reporter 2010-12-09 10:57:02 UTC
Created attachment 103812 [details]
stacktrace
Comment 2 Vladimir Voskresensky 2010-12-13 05:28:34 UTC
*** Bug 193127 has been marked as a duplicate of this bug. ***
Comment 3 Vladimir Voskresensky 2010-12-15 21:54:35 UTC
let's evaluate exceptions as P2 issues
Comment 4 Vladimir Voskresensky 2010-12-16 12:34:01 UTC
fixed as 
http://hg.netbeans.org/cnd-main/rev/8b70114bcc50