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.
Summary: | AssertionError: Start offset must be before the end offset. startOffset = 9025, endOffset = -1 | ||
---|---|---|---|
Product: | editor | Reporter: | compucoder <compucoder> |
Component: | -- Other -- | Assignee: | issues@editor <issues> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | compucoder, sustaining |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=152897 | ||
Issue Type: | DEFECT | Exception Reporter: | 152897 |
Attachments: |
stacktrace
stacktrace |
Description
compucoder
2009-06-22 19:20:04 UTC
Created attachment 83885 [details]
stacktrace
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 200906211401) VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: Windows XP, 5.1, x86 User Comments: Exception when I click into the </TD> tag in this block of code: <TD <?=$html?>> <A href="<?=REPORTING_PAGE."?class=$classID"?>" class="courseLink" width="100%" onclick="return checkHasChanged();"> <div> <?php $arrClass = explode("-", $classID); ?> <?=$courseName."<br>( {$arrClass[1]} )";?> </div> </A> </TD> All other </TD> on my page work fine but for some reason it doesn't like this one. Stacktrace: java.lang.AssertionError: Start offset must be before the end offset. startOffset = 9025, 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) Created attachment 83886 [details]
stacktrace
local chageset: 8e4cb6a45dcc *** Issue 167531 has been marked as a duplicate of this issue. *** Integrated into 'main-golden', will be available in build *200907010200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/8e4cb6a45dcc User: Vita Stejskal <vstejskal@netbeans.org> Log: #167478 - gracefully ignore invalid offsets supplied by custom BracesMatcher implementations verified in 090702 build The fix has been ported into the release67_fixes repository. http://hg.netbeans.org/release67_fixes/rev/21b1aff59300 v. in 6.7.1 |