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 41883 - Idex exception caused by self-deregistering listeners
Summary: Idex exception caused by self-deregistering listeners
Status: RESOLVED WORKSFORME
Alias: None
Product: contrib
Classification: Unclassified
Component: Tasklist (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: tasklist-issues@contrib
URL:
Keywords: SIMPLEFIX
: 42139 47011 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-04-09 13:04 UTC by _ pkuzel
Modified: 2004-09-17 12:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Patch (1.66 KB, patch)
2004-04-09 13:06 UTC, _ pkuzel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description _ pkuzel 2004-04-09 13:04:33 UTC
java.lang.IndexOutOfBoundsException: Index: 49,
Size: 49
        at
java.util.ArrayList.RangeCheck(ArrayList.java:507)
        at java.util.ArrayList.get(ArrayList.java:324)
        at
org.netbeans.modules.tasklist.core.TaskList.fireRemoved(TaskList.java:275)
        at
org.netbeans.modules.tasklist.core.Task.fireRemovedTask(Task.java:213)
        at
org.netbeans.modules.tasklist.core.Task.removeSubtask(Task.java:424)
        at
org.netbeans.modules.tasklist.core.TaskList.addRemove(TaskList.java:121)

was reported by 

Re: Suggestions updated only for first editor tab
From:
Frank-Michael Moser <moser@decodon.com>
Reply-To:
dev@tasklist.netbeans.org
Date:
Thursday 08 April 2004 18:24:17
Groups:
gmane.comp.java.netbeans.modules.tasklist.devel
References: 1 2 3
Comment 1 _ pkuzel 2004-04-09 13:06:05 UTC
Created attachment 14338 [details]
Patch
Comment 2 _ pkuzel 2004-04-09 13:12:06 UTC
Fixed in trunk.
Comment 3 _ pkuzel 2004-04-13 14:00:13 UTC
Backported to tasklist_release36_fixes branch (which should merge with
release36_fixes). Posted request for publishing it at Beta Auto Update.
Comment 4 _ pkuzel 2004-04-21 09:58:52 UTC
*** Issue 42139 has been marked as a duplicate of this issue. ***
Comment 5 _ pkuzel 2004-04-21 10:12:32 UTC
Published version on beta AUC for NetBeans 3.6:
org.netbeans.modules.tasklist.core/2 	1.22.1.26 (6)
Comment 6 _ pkuzel 2004-08-20 09:50:49 UTC
*** Issue 47011 has been marked as a duplicate of this issue. ***
Comment 7 _ pkuzel 2004-08-20 09:52:11 UTC
47011 org.netbeans.modules.tasklist.core/2 	1.22.1.26:

I added a subitem to the tasklist (3 were already
in there), I right mouse clicked on it, the item
disappeared and a dialog popped up telling about
the exception, I did it again the same thing
happend (and older item disappeared), after that I
left mouse clicked and selected an item and after 
that I couldn't replicate it anymore:
Comment 8 _ pkuzel 2004-08-20 10:25:09 UTC
My expectation is that 47011 is bogus. Exception comes from old code.
Comment 9 _ pkuzel 2004-09-17 12:29:24 UTC
No more info from issue #47011 reporter. Definitelly I cannot
reproduce in 4.0 => WORKSFORME