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.
Build: NetBeans IDE Dev (Build 200905190201) VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: Windows XP, 5.1, x86 User Comments: ovk: Netbeans Platform Manager - Sources tab - add folder twice; - select second folder and press Remove; both folders will be removed but MoveUp button still enabled press MoveUp->exception. Stacktrace: java.lang.ArrayIndexOutOfBoundsException: 1 at org.netbeans.modules.apisupport.project.universe.SourceRootsSupport.moveSourceRootUp(SourceRootsSupport.java:191) at org.netbeans.modules.apisupport.project.universe.NbPlatform.moveSourceRootUp(NbPlatform.java:579) at org.netbeans.modules.apisupport.project.ui.platform.PlatformComponentFactory$SourceRootsModel.moveSourceRootsUp(PlatformComponentFactory.java:413) at org.netbeans.modules.apisupport.project.ui.platform.NbPlatformCustomizerSources.moveUp(NbPlatformCustomizerSources.java:230) at org.netbeans.modules.apisupport.project.ui.platform.NbPlatformCustomizerSources.access$300(NbPlatformCustomizerSources.java:69) at org.netbeans.modules.apisupport.project.ui.platform.NbPlatformCustomizerSources$4.actionPerformed(NbPlatformCustomizerSources.java:185)
Created attachment 82635 [details] stacktrace
same with Javadoc tab.
core-main #af6d4b403a9c
Integrated into 'main-golden', will be available in build *200905290201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/af6d4b403a9c User: Richard Michalsky <rmichalsky@netbeans.org> Log: #165804: Each root can now be added only once into Source & javadoc roots, fixing follow-up AIOOBE
v. in 20090529