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
URL:
Keywords:
Depends on:
Blocks:
 
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:


Attachments

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.spi.editor.highlighting.support.OffsetsBag.addHighlightImpl(OffsetsBag.java:452)
        at org.netbeans.spi.editor.highlighting.support.OffsetsBag.addHighlight(OffsetsBag.java:137)
        at org.netbeans.modules.editor.hints.AnnotationHolder.computeHighlights(AnnotationHolder.java:694)
        at org.netbeans.modules.editor.hints.AnnotationHolder.updateHighlightsOnLine(AnnotationHolder.java:642)
        at org.netbeans.modules.editor.hints.AnnotationHolder.updateHighlightsOnLine(AnnotationHolder.java:629)
        at org.netbeans.modules.editor.hints.AnnotationHolder.setErrorDescriptionsImpl(AnnotationHolder.java:808)
        at org.netbeans.modules.editor.hints.AnnotationHolder.access$1100(AnnotationHolder.java:83)
        at org.netbeans.modules.editor.hints.AnnotationHolder$4.run(AnnotationHolder.java:721)
        at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1162)
        at org.netbeans.modules.editor.hints.AnnotationHolder.setErrorDescriptions(AnnotationHolder.java:718)
        at org.netbeans.modules.editor.hints.HintsControllerImpl.setErrorsImpl(HintsControllerImpl.java:103)
        at org.netbeans.modules.editor.hints.HintsControllerImpl.setErrors(HintsControllerImpl.java:85)
        at org.netbeans.spi.editor.hints.HintsController$1.run(HintsController.java:51)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964)
Comment 1 Jan Becicka 2007-08-20 14:20:21 UTC

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