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 64995

Summary: [50cat] javax.swing.text.BadLocationException
Product: editor Reporter: cpreisler <cpreisler>
Component: -- Other --Assignee: issues@editor <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description cpreisler 2005-09-23 13:41:56 UTC
[ BUILD # : 200509221800 ]
[ JDK VERSION : 1.5.0_04 ]

Recieved following error after closing two files and changing focus to file list on left of IDE.

*********** Exception occurred ************ at 7:33 AM on Sep 23, 2005
javax.swing.text.BadLocationException: Invalid offset=721 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-09-26 15:28:12 UTC
already reported, thanks

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