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 255767 - NullPointerException at org.netbeans.modules.cnd.modelimpl.parser.clank.ClankTokenStreamProducer$FileTokenStreamCallback.onEnter
Summary: NullPointerException at org.netbeans.modules.cnd.modelimpl.parser.clank.Clank...
Status: RESOLVED DUPLICATE of bug 255560
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.1
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-07 11:19 UTC by Alexander Simon
Modified: 2015-10-08 13:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 220406


Attachments
stacktrace (3.76 KB, text/plain)
2015-10-07 11:19 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-10-07 11:19:18 UTC
Build: NetBeans IDE Dev (Build 20151007-af62a508f5b8)
VM: Java HotSpot(TM) Client VM, 24.80-b11, Java(TM) SE Runtime Environment, 1.7.0_80-b15
OS: SunOS

User Comments:
alexvsimon: jump from cnd-main/cnd.modelimpl/test/unit/data/org/netbeans/modules/cnd/modelimpl/impl/services/MacroExpansionExpandTestCase/file1.cc into #include "file1.h"




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.modelimpl.parser.clank.ClankTokenStreamProducer$FileTokenStreamCallback.onEnter(ClankTokenStreamProducer.java:451)
   at org.netbeans.modules.cnd.apt.impl.support.clank.ClankPPCallback.onEnter(ClankPPCallback.java:339)
   at org.clang.tools.services.support.FileInfoCallback.FileEnterImpl(FileInfoCallback.java:777)
   at org.clang.tools.services.support.FileInfoCallback.FileChanged(FileInfoCallback.java:315)
   at org.clang.lex.PPCallbacks.FileChanged(PPCallbacks.java:97)
   at org.clang.lex.Preprocessor.EnterSourceFileWithLexer(Preprocessor.java:7166)
Comment 1 Alexander Simon 2015-10-07 11:19:19 UTC
Created attachment 156583 [details]
stacktrace
Comment 2 Vladimir Voskresensky 2015-10-07 16:25:07 UTC
Looks serious. Needs investigation
Comment 3 Vladimir Voskresensky 2015-10-08 13:31:21 UTC
fixed as part of #255560
in changeset
http://hg.netbeans.org/cnd-main/rev/bd79f9b84f47

*** This bug has been marked as a duplicate of bug 255560 ***