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 65413 - [50cat] Exception thrown by EJB hints
Summary: [50cat] Exception thrown by EJB hints
Status: VERIFIED DUPLICATE of bug 64283
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Martin Adamek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-29 19:08 UTC by misterm
Modified: 2005-10-17 14:49 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 misterm 2005-09-29 19:08:15 UTC
[ BUILD # : 5.0 beta ]
[ JDK VERSION : 1.4.2_xx ]

The following exception is thrown occasionally after closing a file. The interesting thing is that it is _not_ a J2EE project:

javax.swing.text.BadLocationException: Invalid offset=3329 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: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)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:870)
Comment 1 Petr Blaha 2005-10-02 23:03:51 UTC
I'm raising priority to P2 since this issue was reported by many users on NetCat
mailing list.
Comment 2 Martin Adamek 2005-10-03 12:45:52 UTC

*** This issue has been marked as a duplicate of 64283 ***
Comment 3 misterm 2005-10-17 14:49:13 UTC
Verified in Q-Build 20051013