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 110821 - BLE from AnnotationHolder$3.run
Summary: BLE from AnnotationHolder$3.run
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jan Lahoda
URL: http://deadlock.netbeans.org/hudson/j...
Keywords: TEST
Depends on:
Blocks: 110289
  Show dependency tree
 
Reported: 2007-07-24 18:58 UTC by Jesse Glick
Modified: 2007-11-05 13:39 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 Jesse Glick 2007-07-24 18:58:42 UTC
Broke commit validation.

javax.swing.text.BadLocationException: Invalid offset=406 not within <0, 405>
	at org.netbeans.editor.Utilities.checkOffsetValid(Utilities.java:1288)
	at org.netbeans.editor.Utilities.checkOffsetValid(Utilities.java:1283)
	at org.netbeans.editor.Utilities.getRowEnd(Utilities.java:246)
	at org.netbeans.modules.editor.hints.AnnotationHolder$3.run(AnnotationHolder.java:376)
	at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1162)
	at org.netbeans.modules.editor.hints.AnnotationHolder.updateAnnotations(AnnotationHolder.java:371)
	at org.netbeans.modules.editor.hints.AnnotationHolder.access$500(AnnotationHolder.java:83)
	at org.netbeans.modules.editor.hints.AnnotationHolder$2$2.run(AnnotationHolder.java:355)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964)
Comment 1 Jesse Glick 2007-07-24 18:59:57 UTC
Seems to be a regression from the fix of issue #110289.
Comment 2 Jan Lahoda 2007-07-24 19:16:23 UTC
Should be fixed:
Checking in AnnotationHolder.java;
/cvs/editor/hints/src/org/netbeans/modules/editor/hints/AnnotationHolder.java,v  <--  AnnotationHolder.java
new revision: 1.16; previous revision: 1.15
done