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 254400

Summary: [newcodemodel] NullPointerException at org.netbeans.modules.cnd.apt.utils.APTCommentsFilter.nextToken
Product: cnd Reporter: Exceptions Reporter <exceptions_reporter>
Component: Code ModelAssignee: Vladimir Kvashin <vkvashin>
Status: RESOLVED FIXED    
Severity: normal CC: alexvsimon
Priority: P2    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 219168
Attachments: stacktrace

Description Exceptions Reporter 2015-08-16 14:04:19 UTC
This issue was reported manually by alexvsimon.
It already has 1 duplicates 


Build: NetBeans IDE 8.1 Beta (Build 201508041349)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.51-b03, Java(TM) SE Runtime Environment, 1.8.0_51-b16
OS: Windows 8.1

User Comments:
GUEST: Editting a c++ program in the IDE




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.apt.utils.APTCommentsFilter.nextToken(APTCommentsFilter.java:68)
   at org.netbeans.modules.cnd.apt.utils.APTCommentsFilter.nextToken(APTCommentsFilter.java:57)
   at org.netbeans.modules.cnd.modelimpl.parser.clank.ClankFileInfoQuerySupport.expand(ClankFileInfoQuerySupport.java:99)
   at org.netbeans.modules.cnd.modelimpl.impl.services.MacroExpansionDocProviderImpl.expand(MacroExpansionDocProviderImpl.java:447)
   at org.netbeans.modules.cnd.api.model.services.CsmMacroExpansion.expand(CsmMacroExpansion.java:174)
   at org.netbeans.modules.cnd.debugger.common2.debugger.MacroSupport.expandMacro(MacroSupport.java:68)
Comment 1 Exceptions Reporter 2015-08-16 14:04:21 UTC
Created attachment 155370 [details]
stacktrace
Comment 2 Vladimir Kvashin 2015-09-29 10:23:50 UTC
http://hg.netbeans.org/cnd-main/rev/3a1ce499b9f9
Comment 3 Quality Engineering 2015-09-30 01:19:51 UTC
Integrated into 'main-silver', will be available in build *201509300002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/3a1ce499b9f9
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixed #254400 - [newcodemodel] NullPointerException at org.netbeans.modules.cnd.apt.utils.APTCommentsFilter.nextToken