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 68147 - [50cat] TODO deletion resulting in unexpected results in editor window
Summary: [50cat] TODO deletion resulting in unexpected results in editor window
Status: RESOLVED DUPLICATE of bug 64283
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Tomasz Slota
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-05 06:33 UTC by xaxim
Modified: 2006-07-20 08:57 UTC (History)
2 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 xaxim 2005-11-05 06:33:51 UTC
[ BUILD # : 5.0 Beta ]
[ JDK VERSION : 1.5.0_05 ]

Steps I did (don´t know if they will reproduce):
Double clicked task from To Do tab.
Pressed SHIFT + END to select the TODO line
Pressed BACKSPACE
Don’t know if I pressed UP_ARROW , but it is very probable, as I was doing a very mechanical procedure and the next step (or the step right before the bug) was to press UP_ARROW

javax.swing.text.BadLocationException: Invalid offset=320 not within <0, 285>
	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 _ pkuzel 2005-11-30 16:28:43 UTC
Either
at org.netbeans.modules.j2ee.ejbcore.hints.EjbHintsProvider

or

at org.netbeans.modules.editor.hints.HintsOperator$HintPopupTaskImpl
	
Comment 2 Martin Adamek 2005-12-05 07:06:31 UTC
Which build are you using (date)?
Comment 3 Petr Blaha 2006-03-13 13:48:19 UTC
TM 5.0 -> TBD
Comment 4 Jan Chalupa 2006-06-27 22:49:20 UTC
So isn't this just another duplicate of issue #64283 fixed for 5.0?
Comment 5 Tomasz Slota 2006-07-20 08:57:59 UTC
Yes, it is.

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