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 65752 - javax.swing.text.BadLocationException: Invalid offest, when deleting code
Summary: javax.swing.text.BadLocationException: Invalid offest, when deleting code
Status: RESOLVED DUPLICATE of bug 64283
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: -S1S-
Hardware: PC All
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-03 20:30 UTC by yoav
Modified: 2007-11-05 13:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
the NB5.0 messages.log (15.90 KB, text/plain)
2005-10-03 20:31 UTC, yoav
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yoav 2005-10-03 20:30:22 UTC
Happened when editing & deleting a method from a  class.
It might be related to issues:63320 & 63395, but it appears to occur in
different circumstances.
javax.swing.text.BadLocationException: Invalid offset=8575 not within <0, 8479>
	at org.netbeans.editor.Utilities.checkOffsetValid(Utilities.java:1227)
	at org.netbeans.editor.Utilities.getLineOffset(Utilities.java:552)
[catch] at
org.netbeans.modules.j2ee.ejbcore.hints.EjbHintsProvider.getHints(EjbHintsProvider.java:56)
	at
org.netbeans.modules.editor.hints.HintsOperator$HintPopupTaskImpl.run(HintsOperator.java:233)
	at org.openide.util.Task.run(Task.java:207)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:469)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:870)
Comment 1 yoav 2005-10-03 20:31:25 UTC
Created attachment 25466 [details]
the NB5.0 messages.log
Comment 2 Martin Roskanin 2005-10-04 10:31:28 UTC
already fixed, thanks for the report

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