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 251972

Summary: AssertionError: Start position must be before the end position.
Product: editor Reporter: tbrunhoff <tbrunhoff>
Component: Painting & PrintingAssignee: Miloslav Metelka <mmetelka>
Status: NEW ---    
Severity: normal CC: tbrunhoff
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 216885
Attachments: stacktrace
stacktrace

Description tbrunhoff 2015-04-21 15:44:16 UTC
Build: NetBeans IDE Dev (Build 201503250001)
VM: Java HotSpot(TM) Client VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Linux

User Comments:
tbrunhoff: adding new methods to a class.




Stacktrace: 
java.lang.AssertionError: Start position must be before the end position.
   at org.netbeans.spi.editor.highlighting.support.PositionsBag.addHighlightImpl(PositionsBag.java:482)
   at org.netbeans.spi.editor.highlighting.support.PositionsBag.addHighlight(PositionsBag.java:139)
   at org.netbeans.modules.cnd.highlight.semantic.SemanticHighlighter.addHighlightsToBag(SemanticHighlighter.java:305)
   at org.netbeans.modules.cnd.highlight.semantic.SemanticHighlighter.addHighlightsToBag(SemanticHighlighter.java:272)
   at org.netbeans.modules.cnd.highlight.semantic.SemanticHighlighter.updateImpl(SemanticHighlighter.java:237)
   at org.netbeans.modules.cnd.highlight.semantic.SemanticHighlighter.access$500(SemanticHighlighter.java:90)
Comment 1 tbrunhoff 2015-04-21 15:44:19 UTC
Created attachment 153290 [details]
stacktrace
Comment 2 tbrunhoff 2015-07-28 16:11:45 UTC
Created attachment 154979 [details]
stacktrace

editing code.