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 270731 - NullPointerException at org.netbeans.modules.cnd.modelimpl.content.file.FileComponent.<init>
Summary: NullPointerException at org.netbeans.modules.cnd.modelimpl.content.file.FileC...
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-24 20:19 UTC by PolesApart
Modified: 2017-05-25 18:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 229253


Attachments
stacktrace (3.77 KB, text/plain)
2017-05-24 20:19 UTC, PolesApart
Details

Note You need to log in before you can comment on or make changes to this bug.
Description PolesApart 2017-05-24 20:19:52 UTC
This bug was originally marked as duplicate of bug 258071, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.2 (Build 201609300101)
VM: OpenJDK 64-Bit Server VM, 25.131-b11, OpenJDK Runtime Environment, 1.8.0_131-8u131-b11-1-b11
OS: Linux

User Comments:
PolesApart: editing c++ file




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.modelimpl.content.file.FileComponent.<init>(FileComponent.java:69)
   at org.netbeans.modules.cnd.modelimpl.content.file.FileComponentMacros.<init>(FileComponentMacros.java:100)
   at org.netbeans.modules.cnd.modelimpl.content.file.FileContent.getHardReferenceBasedCopy(FileContent.java:180)
   at org.netbeans.modules.cnd.modelimpl.parser.spi.TokenStreamProducer.create(TokenStreamProducer.java:104)
   at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.createAndCacheFullTokenStream(FileImpl.java:1258)
   at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.getTokenStream(FileImpl.java:1334)
Comment 1 PolesApart 2017-05-24 20:19:54 UTC
Created attachment 164398 [details]
stacktrace