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 112862 - Assertion error when pressing alt-enter
Summary: Assertion error when pressing alt-enter
Status: RESOLVED DUPLICATE of bug 112566
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Lahoda
Depends on:
Reported: 2007-08-15 10:27 UTC by _ tboudreau
Modified: 2007-08-20 14:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2007-08-15 10:27:56 UTC
I repeatedly pressed alt-enter in frustration while my laptop was sounding like a jet on the runway and the add import hint would not come up because 
some background thread was going insane.  On the third try, the following exception was thrown:

java.lang.AssertionError: Start offset must be before the end offset. startOffset = 675, endOffset = 674
        at org.netbeans.modules.editor.hints.AnnotationHolder.computeHighlights(
        at org.netbeans.modules.editor.hints.AnnotationHolder.updateHighlightsOnLine(
        at org.netbeans.modules.editor.hints.AnnotationHolder.updateHighlightsOnLine(
        at org.netbeans.modules.editor.hints.AnnotationHolder.setErrorDescriptionsImpl(
        at org.netbeans.modules.editor.hints.AnnotationHolder.access$1100(
        at org.netbeans.modules.editor.hints.AnnotationHolder$
        at org.netbeans.editor.BaseDocument.render(
        at org.netbeans.modules.editor.hints.AnnotationHolder.setErrorDescriptions(
        at org.netbeans.modules.editor.hints.HintsControllerImpl.setErrorsImpl(
        at org.netbeans.modules.editor.hints.HintsControllerImpl.setErrors(
        at org.netbeans.spi.editor.hints.HintsController$
        at org.openide.util.RequestProcessor$
[catch] at org.openide.util.RequestProcessor$
Comment 1 Jan Becicka 2007-08-20 14:20:21 UTC

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