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 240177 - NullPointerException at org.netbeans.modules.cnd.completion.impl.xref.ReferencesSupport.findDeclaration
Summary: NullPointerException at org.netbeans.modules.cnd.completion.impl.xref.Referen...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-10 00:21 UTC by tbrunhoff
Modified: 2014-06-04 15:27 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 206434


Attachments
stacktrace (1.69 KB, text/plain)
2014-01-10 00:22 UTC, tbrunhoff
Details
stacktrace (1.69 KB, text/plain)
2014-03-28 15:19 UTC, tbrunhoff
Details
stacktrace (1.89 KB, text/plain)
2014-05-28 15:06 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tbrunhoff 2014-01-10 00:21:59 UTC
Build: NetBeans IDE Dev (Build 201312190002)
VM: Java HotSpot(TM) Client VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Linux

User Comments:
tbrunhoff: Undo in the editor.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.completion.impl.xref.ReferencesSupport.findDeclaration(ReferencesSupport.java:350)
   at org.netbeans.modules.cnd.completion.impl.xref.ReferencesSupport.findReferencedObject(ReferencesSupport.java:248)
   at org.netbeans.modules.cnd.completion.impl.xref.ReferenceImpl.getReferencedObject(ReferenceImpl.java:105)
   at org.netbeans.modules.cnd.highlight.semantic.ModelUtils$FieldReferenceCollector.visit(ModelUtils.java:133)
   at org.netbeans.modules.cnd.highlight.semantic.SemanticHighlighter$2.visit(SemanticHighlighter.java:255)
   at org.netbeans.modules.cnd.completion.impl.xref.FileReferencesImpl._accept(FileReferencesImpl.java:150)
Comment 1 tbrunhoff 2014-01-10 00:22:01 UTC
Created attachment 143766 [details]
stacktrace
Comment 2 tbrunhoff 2014-03-28 15:19:01 UTC
Created attachment 146388 [details]
stacktrace

typing code
Comment 3 Alexander Simon 2014-05-28 15:06:42 UTC
Created attachment 147483 [details]
stacktrace

open YAMLTraits.h file from LLVM34
Comment 4 Alexander Simon 2014-05-28 15:37:07 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/1f6e5ba8913c
Comment 5 Quality Engineering 2014-05-30 02:22:55 UTC
Integrated into 'main-silver', will be available in build *201405300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/1f6e5ba8913c
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #240177 - NullPointerException at org.netbeans.modules.cnd.completion.impl.xref.ReferencesSupport.findDeclaration
Comment 6 Quality Engineering 2014-06-04 15:27:40 UTC
Integrated into 'releases/release80', will be available in build *201406041415* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/7b3839e5ac0b
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #240177 - NullPointerException at org.netbeans.modules.cnd.completion.impl.xref.ReferencesSupport.findDeclaration
(transplanted from 1f6e5ba8913c45c5f1c242b210d2b0b1bac55483)