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 249177 - NullPointerException at org.netbeans.modules.cnd.completion.csm.CsmOffsetUtilities.endsWithBrace
Summary: NullPointerException at org.netbeans.modules.cnd.completion.csm.CsmOffsetUtil...
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: ilia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-07 14:46 UTC by kosmonaffft
Modified: 2015-09-25 18:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 213963


Attachments
stacktrace (2.30 KB, text/plain)
2014-12-07 14:46 UTC, kosmonaffft
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kosmonaffft 2014-12-07 14:46:39 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b18
OS: Windows 8

User Comments:
kosmonaFFFt: Work with C++ code as usual...




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.completion.csm.CsmOffsetUtilities.endsWithBrace(CsmOffsetUtilities.java:130)
   at org.netbeans.modules.cnd.completion.csm.CsmOffsetUtilities.isInObject(CsmOffsetUtilities.java:98)
   at org.netbeans.modules.cnd.completion.csm.CsmDeclarationResolver.findInnerDeclaration(CsmDeclarationResolver.java:178)
   at org.netbeans.modules.cnd.completion.csm.CsmDeclarationResolver.findInnerFileObject(CsmDeclarationResolver.java:152)
   at org.netbeans.modules.cnd.completion.csm.CsmOffsetResolver.findObjectWithContext(CsmOffsetResolver.java:117)
   at org.netbeans.modules.cnd.completion.csm.CsmOffsetResolver.findContext(CsmOffsetResolver.java:349)
Comment 1 kosmonaffft 2014-12-07 14:46:42 UTC
Created attachment 150941 [details]
stacktrace