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 63398 - BadLocationException after closing(switch) editor windows
Summary: BadLocationException after closing(switch) editor windows
Status: VERIFIED DUPLICATE of bug 64283
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
: 63283 63564 64995 65003 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-08-31 10:22 UTC by ehucka
Modified: 2007-11-05 13:44 UTC (History)
3 users (show)

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 ehucka 2005-08-31 10:22:27 UTC
I made a search over projects and opened all found files with searched substring
into editor. After I edited and closed one editor window the BadLocationExceptio
is thrown:

javax.swing.text.BadLocationException: Invalid offset=1320 not within <0, 1>
at org.netbeans.editor.Utilities.checkOffsetValid(Utilities.java:1227)
at org.netbeans.editor.Utilities.getLineOffset(Utilities.java:552)
at
org.netbeans.modules.j2ee.ejbcore.hints.EjbHintsProvider.getHints(EjbHintsProvider.java:54)
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 zikmund 2005-08-31 15:43:30 UTC
I saw the same exception (only once) when closing editor windows (XML and JSP)
in a WebProject.
Comment 2 Martin Adamek 2005-09-07 08:39:10 UTC
*** Issue 63283 has been marked as a duplicate of this issue. ***
Comment 3 mdaniel 2005-09-07 22:24:24 UTC
I believe Issue 63564 is a dup of this issue, too.

Oh, and "me, too!" with
>System Info:
  Product Version       = NetBeans IDE Dev (Build 050907)
  Operating System      = Linux version 2.6.12.1 running on amd64
  Java; VM; Vendor      = 1.5.0_04; Java HotSpot(TM) 64-Bit Server VM
1.5.0_04-b05; Sun Microsystems Inc.
  Java Home             = /usr/java/jdk1.5.0_04/jre
  System Locale; Encod. = en_US (nb); UTF-8

running today's CVS HEAD build
Comment 4 Martin Adamek 2005-09-12 10:10:29 UTC
*** Issue 63564 has been marked as a duplicate of this issue. ***
Comment 5 tkellerer 2005-09-24 18:45:08 UTC
Another "Me too". I'm getting this very frequently in the current 5.0 dev builds
Comment 6 Martin Roskanin 2005-09-26 10:08:37 UTC
*** Issue 65003 has been marked as a duplicate of this issue. ***
Comment 7 Martin Roskanin 2005-09-26 15:28:11 UTC
*** Issue 64995 has been marked as a duplicate of this issue. ***
Comment 8 Martin Roskanin 2005-09-26 15:30:22 UTC
it is web module issue.

*** This issue has been marked as a duplicate of 64283 ***
Comment 9 ehucka 2006-03-22 10:12:23 UTC
verified