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 66287 - javax.swing.text.BadLocationException while debugging standard app
Summary: javax.swing.text.BadLocationException while debugging standard app
Status: RESOLVED 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:
Depends on:
Blocks:
 
Reported: 2005-10-07 22:18 UTC by sviyer
Modified: 2007-11-05 13:44 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 sviyer 2005-10-07 22:18:10 UTC
I got this exception while debugging and stepping through code.
Not sure why the stack is referring to ejb as I am only doing rich client apps.

------------------------------------------
>Log Session: Saturday, October 8, 2005 8:11:12 AM NZDT
>System Info: 
  Product Version       = NetBeans IDE 5.0 Beta (Build 200509261930)
  Operating System      = Windows XP version 5.1 running on x86
  Java; VM; Vendor      = 1.5.0_05; Java HotSpot(TM) Client VM 1.5.0_05-b05; Sun
Microsystems Inc.
  Java Home             = G:\Program Files\J2SE5.0_05\jre
  System Locale; Encod. = en_NZ (nb); Cp1252
  Home Dir; Current Dir = K:\Documents and Settings\Administrator;
C:\More_WinXP_ProgramFiles\NetBeans-5.0
  IDE Install; User Dir = C:\More_WinXP_ProgramFiles\NetBeans-5.0\platform6;
K:\Documents and Settings\Administrator\.netbeans\5.0beta
  CLASSPATH             =
C:\More_WinXP_ProgramFiles\NetBeans-5.0\platform6\lib\boot.jar;C:\More_WinXP_ProgramFiles\NetBeans-5.0\platform6\lib\org-openide-modules.jar;C:\More_WinXP_ProgramFiles\NetBeans-5.0\platform6\lib\org-openide-util.jar;G:\Program
Files\J2SE5.0_05\lib\dt.jar;G:\Program Files\J2SE5.0_05\lib\tools.jar
  Boot & ext classpath  = G:\Program Files\J2SE5.0_05\jre\lib\rt.jar;G:\Program
Files\J2SE5.0_05\jre\lib\i18n.jar;G:\Program
Files\J2SE5.0_05\jre\lib\sunrsasign.jar;G:\Program
Files\J2SE5.0_05\jre\lib\jsse.jar;G:\Program
Files\J2SE5.0_05\jre\lib\jce.jar;G:\Program
Files\J2SE5.0_05\jre\lib\charsets.jar;G:\Program
Files\J2SE5.0_05\jre\classes;G:\Program
Files\J2SE5.0_05\jre\lib\ext\dnsns.jar;G:\Program
Files\J2SE5.0_05\jre\lib\ext\localedata.jar;G:\Program
Files\J2SE5.0_05\jre\lib\ext\sunjce_provider.jar;G:\Program
Files\J2SE5.0_05\jre\lib\ext\sunpkcs11.jar
  Dynamic classpath     =
C:\More_WinXP_ProgramFiles\NetBeans-5.0\platform6\core\core.jar;C:\More_WinXP_ProgramFiles\NetBeans-5.0\platform6\core\org-openide-filesystems.jar;C:\More_WinXP_ProgramFiles\NetBeans-5.0\platform6\core\updater.jar;C:\More_WinXP_ProgramFiles\NetBeans-5.0\nb5.0\core\org-netbeans-upgrader.jar;C:\More_WinXP_ProgramFiles\NetBeans-5.0\nb5.0\core\locale\core_nb.jar;C:\More_WinXP_ProgramFiles\NetBeans-5.0\nb5.0\core\locale\updater_nb.jar;C:\More_WinXP_ProgramFiles\NetBeans-5.0\ide6\core\org-netbeans-modules-utilities-cli.jar
-------------------------------------------------------------------------------
*********** Exception occurred ************ at 10:13 AM on Oct 8, 2005
javax.swing.text.BadLocationException: Invalid offset=5752 not within <0, 1>
	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 Martin Roskanin 2005-10-10 08:23:35 UTC
already fixed, thanks for the report

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