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 258093 - NullPointerException at org.netbeans.modules.cnd.modelimpl.csm.core.AstUtil.findChildOfType
Summary: NullPointerException at org.netbeans.modules.cnd.modelimpl.csm.core.AstUtil.f...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: petrk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-22 12:29 UTC by PolesApart
Modified: 2016-06-19 02:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 222652


Attachments
stacktrace (3.97 KB, text/plain)
2016-02-22 12:29 UTC, PolesApart
Details

Note You need to log in before you can comment on or make changes to this bug.
Description PolesApart 2016-02-22 12:29:36 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: OpenJDK 64-Bit Server VM, 25.72-b05, OpenJDK Runtime Environment, 1.8.0_72-internal-b05
OS: Linux

User Comments:
PolesApart: Editing stl-related c++ code w/ std::vector<std::pair<const char *, const char *>> code.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.modelimpl.csm.core.AstUtil.findChildOfType(AstUtil.java:300)
   at org.netbeans.modules.cnd.modelimpl.csm.core.AstUtil.findChildOfType(AstUtil.java:296)
   at org.netbeans.modules.cnd.modelimpl.csm.FunctionImpl.createUIDExtraSuffix(FunctionImpl.java:218)
   at org.netbeans.modules.cnd.modelimpl.csm.FunctionImpl.temporaryRepositoryRegistration(FunctionImpl.java:244)
   at org.netbeans.modules.cnd.modelimpl.csm.LambdaFunction.create(LambdaFunction.java:81)
   at org.netbeans.modules.cnd.modelimpl.csm.deep.DeclarationStatementImpl$DSRenderer.render(DeclarationStatementImpl.java:171)
Comment 1 PolesApart 2016-02-22 12:29:38 UTC
Created attachment 158594 [details]
stacktrace
Comment 2 petrk 2016-06-18 15:34:47 UTC
Fixed in http://hg.netbeans.org/cnd-main/rev/c18ff89d71c9
Comment 3 Quality Engineering 2016-06-19 02:43:08 UTC
Integrated into 'main-silver', will be available in build *201606190002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/c18ff89d71c9
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Fixed #258093 - NullPointerException at org.netbeans.modules.cnd.modelimpl.csm.core.AstUtil.findChildOfType