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 251231 - AssertionError: DIRECT_USAGE vs. DEFINITION
Summary: AssertionError: DIRECT_USAGE vs. DEFINITION
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-17 11:03 UTC by ilia
Modified: 2016-10-31 11:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 216166


Attachments
stacktrace (2.16 KB, text/plain)
2015-03-17 11:03 UTC, ilia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ilia 2015-03-17 11:03:57 UTC
Build: NetBeans IDE Dev (Build 201502160001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.5-b02, Java(TM) SE Runtime Environment, 1.8.0_05-b13
OS: Linux

User Comments:
ilia: Presses Ctrl+Z several times




Stacktrace: 
java.lang.AssertionError: DIRECT_USAGE vs. DEFINITION
   at org.netbeans.modules.cnd.completion.impl.xref.ReferenceImpl.restoreIfPossible(ReferenceImpl.java:178)
   at org.netbeans.modules.cnd.completion.impl.xref.ReferenceImpl.getReferencedObjectImpl(ReferenceImpl.java:120)
   at org.netbeans.modules.cnd.completion.impl.xref.ReferenceImpl.getReferencedObject(ReferenceImpl.java:99)
   at org.netbeans.modules.cnd.highlight.semantic.SemanticEntitiesProvider$FunctionsCodeProvider.getAttributes(SemanticEntitiesProvider.java:310)
   at org.netbeans.modules.cnd.highlight.semantic.SemanticHighlighter.addHighlightsToBag(SemanticHighlighter.java:267)
   at org.netbeans.modules.cnd.highlight.semantic.SemanticHighlighter.updateImpl(SemanticHighlighter.java:237)
Comment 1 ilia 2015-03-17 11:03:59 UTC
Created attachment 152671 [details]
stacktrace