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.
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)
Created attachment 151313 [details] stacktrace