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 249564

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    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 214506
Attachments: stacktrace

Description tbrunhoff 2014-12-29 22:42:19 UTC
This bug was originally marked as duplicate of bug 244735, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201412220001)
VM: Java HotSpot(TM) Client VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Linux

User Comments:
tbrunhoff: pasting a declaration.




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 2014-12-29 22:42:21 UTC
Created attachment 151313 [details]
stacktrace