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 65579 - java.swing.text.BadLocationException when running server
Summary: java.swing.text.BadLocationException when running server
Status: RESOLVED DUPLICATE of bug 64283
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
: 65578 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-01 03:08 UTC by techie
Modified: 2007-11-05 13:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Message log file (107.35 KB, text/html)
2005-10-01 03:11 UTC, techie
Details

Note You need to log in before you can comment on or make changes to this bug.
Description techie 2005-10-01 03:08:41 UTC
I'm trying to use the SJSAS bundled with NetBeans 4.1 from NetBeans 5.0beta. (By the way, could someone 
tell me how to successfully extract that appserver from the bundle to make the setup less convoluted and 
more open to other apps?) I'm using the server from within 4.1 because the appserver didn't install with 
NetBeans 5.0. (I'm sure I downloaded the bundle, but I'll try it for a third time.) When I run a simple JSP 
with the server, it throws a java.swing.text.BadLocationException.
Comment 1 techie 2005-10-01 03:11:43 UTC
Created attachment 25383 [details]
Message log file
Comment 2 Marian Mirilovic 2005-10-02 18:16:37 UTC
*** Issue 65578 has been marked as a duplicate of this issue. ***
Comment 3 Marian Mirilovic 2005-10-02 18:19:42 UTC
reassigne to editor

javax.swing.text.BadLocationException: Invalid offset=20899 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 4 Martin Roskanin 2005-10-03 09:28:47 UTC
already reported, thanks

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