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 109634 - 0712: IndexOutOfBoundsExep after remove/add EE module
Summary: 0712: IndexOutOfBoundsExep after remove/add EE module
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: EAR (show other bugs)
Version: 6.x
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: Tomas Mysik
URL:
Keywords: RANDOM
: 114757 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-07-13 13:15 UTC by nouar38
Modified: 2007-11-29 09:05 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 nouar38 2007-07-13 13:15:00 UTC
NB 6.0 200707120000 & GF v2 b55:

getting exception in an EAR project (5 modules: 4 wars, 1 ejb) when removed an existing 
Java EE module (ejb project) and add a new one. But, the exception is harmless.

SEVERE [org.openide.util.RequestProcessor]
java.lang.IndexOutOfBoundsException: Index: 6, Size: 6
	at java.util.ArrayList.RangeCheck(ArrayList.java:547)
	at java.util.ArrayList.get(ArrayList.java:322)
	at org.openide.nodes.Children$Keys.setKeys(Children.java:2046)
	at org.netbeans.modules.j2ee.earproject.ui.LogicalViewChildren.updateKeys(LogicalViewChildren.java:94)
	at org.netbeans.modules.j2ee.earproject.ui.LogicalViewChildren.access$000(LogicalViewChildren.java:47)
	at org.netbeans.modules.j2ee.earproject.ui.LogicalViewChildren$2.run(LogicalViewChildren.java:129)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964)
Comment 1 Tomas Mysik 2007-08-13 09:29:47 UTC
Is this still reproducible please? Thank you.
Comment 2 Tomas Mysik 2007-08-14 11:31:38 UTC
I'm not able to reproduce it. Please reopen this issue if any error occurs. Thank you.

Product Version: NetBeans IDE Dev (Build 070814)
Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05
System: Linux version 2.6.22-ck1 running on i386; UTF-8; cs_CZ (nb)

There have been made some changes in adding/removing Java EE modules - see issue 109006 and issue 108878. So please 
try at least NB daily build 070815. Thank you.
Comment 3 nouar38 2007-08-20 16:46:27 UTC
tried over 200708200000 & GF v2 58b on windows/xp and is still reproducible, need to try many times over 
different projects (add/remove).
Comment 4 Tomas Mysik 2007-09-20 12:38:44 UTC
*** Issue 114757 has been marked as a duplicate of this issue. ***
Comment 5 Tomas Mysik 2007-10-15 15:39:14 UTC
Should be fixed. Please verify, thank you.

Checking in j2ee/earproject/src/org/netbeans/modules/j2ee/earproject/ui/LogicalViewChildren.java;
/cvs/j2ee/earproject/src/org/netbeans/modules/j2ee/earproject/ui/LogicalViewChildren.java,v  <--  
LogicalViewChildren.java
new revision: 1.14; previous revision: 1.13
done
Comment 6 nouar38 2007-11-29 09:05:48 UTC
Marking as Verified in RC2 and daily 6.1 dev 200711260000. Could not reproduce any more, so considering fix is ok.
Tried over EAR with ejb/jar/app client ant EAR with ejb/war.