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 256738 - NullPointerException at org.netbeans.modules.cnd.modelimpl.csm.deep.LazyStatementImpl.getStatementTokenStream
Summary: NullPointerException at org.netbeans.modules.cnd.modelimpl.csm.deep.LazyState...
Status: VERIFIED 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: REGRESSION
Depends on:
Blocks:
 
Reported: 2015-11-23 10:51 UTC by Alexander Simon
Modified: 2015-12-23 14:52 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 221304


Attachments
stacktrace (4.27 KB, text/plain)
2015-11-23 10:51 UTC, Alexander Simon
Details
stacktrace (4.27 KB, text/plain)
2015-11-23 14:24 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2015-11-23 10:51:18 UTC
Build: NetBeans IDE 8.1 (Build 20151123-b21a68700606)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.66-b17, Java(TM) SE Runtime Environment, 1.8.0_66-b17
OS: SunOS

User Comments:
alexvsimon: close projects




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.modelimpl.csm.deep.LazyStatementImpl.getStatementTokenStream(LazyStatementImpl.java:196)
   at org.netbeans.modules.cnd.modelimpl.csm.deep.LazyStatementImpl.renderStatements(LazyStatementImpl.java:162)
   at org.netbeans.modules.cnd.modelimpl.csm.deep.LazyStatementImpl.createStatements(LazyStatementImpl.java:143)
   at org.netbeans.modules.cnd.modelimpl.csm.deep.LazyStatementImpl.getStatements(LazyStatementImpl.java:106)
   at org.netbeans.modules.cnd.modelimpl.csm.deep.LazyStatementImpl.getScopeElements(LazyStatementImpl.java:230)
   at org.netbeans.modules.cnd.modelimpl.csm.resolver.FileMapsCollector.gatherMaps(FileMapsCollector.java:537)
Comment 1 Alexander Simon 2015-11-23 10:51:20 UTC
Created attachment 157450 [details]
stacktrace
Comment 2 Alexander Simon 2015-11-23 14:24:04 UTC
Created attachment 157454 [details]
stacktrace

close project
Comment 3 Alexander Simon 2015-11-24 07:16:25 UTC
regression after fixing bug #256272
Comment 4 petrk 2015-11-24 13:29:05 UTC
Fixed at enum. 304354:e3c21c352e04
Comment 5 Quality Engineering 2015-12-03 02:24:39 UTC
Integrated into 'main-silver', will be available in build *201512030002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/ffb8be82541b
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Fixed #256738 - NullPointerException at org.netbeans.modules.cnd.modelimpl.csm.deep.LazyStatementImpl.getStatementTokenStream
(transplanted from 1be3acdc13cfa1a25202fe0fb5a96e62aa61f86a)
Comment 6 Alexander Pepin 2015-12-23 14:52:12 UTC
Cannot reproduce the bug in build 20121215.