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 167531 - AssertionError: Start offset must be before the end offset. startOffset = 136, endOffset = -1
Summary: AssertionError: Start offset must be before the end offset. startOffset = 136...
Status: RESOLVED DUPLICATE of bug 167478
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@editor
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-23 13:10 UTC by Erno Mononen
Modified: 2009-06-24 13:32 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 152930


Attachments
stacktrace (4.52 KB, text/plain)
2009-06-23 13:11 UTC, Erno Mononen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erno Mononen 2009-06-23 13:10:57 UTC
This issue was originally marked as duplicate of issue 149174, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related.

Build: NetBeans IDE Dev (Build 090619)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Linux, 2.6.27-14-generic, amd64

User Comments:
emononen: Pasted the following code to a newly created .erb file:

<table>
  <tr <%= 'foo' %>> <!-- ERROR -->
    <td></td>
  </tr>
</table>



Stacktrace: 
java.lang.AssertionError: Start offset must be before the end offset. startOffset = 136, endOffset = -1
        at org.netbeans.spi.editor.highlighting.support.OffsetsBag.addHighlightImpl(OffsetsBag.java:491)
        at org.netbeans.spi.editor.highlighting.support.OffsetsBag.addHighlight(OffsetsBag.java:161)
        at org.netbeans.modules.editor.bracesmatching.MasterMatcher.placeHighlights(MasterMatcher.java:301)
        at org.netbeans.modules.editor.bracesmatching.MasterMatcher.highlightAreas(MasterMatcher.java:278)
        at org.netbeans.modules.editor.bracesmatching.MasterMatcher.access$500(MasterMatcher.java:63)
        at org.netbeans.modules.editor.bracesmatching.MasterMatcher$Result$1.run(MasterMatcher.java:630)
Comment 1 Erno Mononen 2009-06-23 13:11:09 UTC
Created attachment 83928 [details]
stacktrace
Comment 2 Vitezslav Stejskal 2009-06-24 13:32:08 UTC

*** This issue has been marked as a duplicate of 167478 ***