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.
Product Version: NetBeans IDE Dev (Build 200709260000) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b06 System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb) Steps to reproduce: - Install only Base IDE from NetBeans Web & Java EE bundle - Install Java Profiler module - Open Tools > Java Platforms - Press Add Platform or Remove buttons - RESULT: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.RangeCheck(ArrayList.java:547) at java.util.ArrayList.get(ArrayList.java:322) at org.netbeans.modules.java.platform.wizard.PlatformInstallIterator.initialize(PlatformInstallIterator.java:159) ... or java.lang.AssertionError: Illegal number of selected nodes at org.netbeans.modules.java.platform.ui.PlatformsCustomizer.removePlatform(PlatformsCustomizer.java:275) ...
Created attachment 49596 [details] Exception on Add Platform
Created attachment 49597 [details] Exception on Remove platform
Since I believe it is connected, I got the following exceptions during Java module installation. java.lang.IllegalStateException: Can immediately enable modules [StandardModule:org.netbeans.api.debugger jarFile: C:\Program Files\NetBeans 6.0 200709260000\ide8\modules\org-netbeans-api-debugger.jar, StandardModule:org.netbeans.spi.viewmodel jarFile: C:\Program Files\NetBeans 6.0 200709260000\ide8\modules\org-netbeans-spi-viewmodel.jar, StandardModule:org.netbeans.api.debugger.jpda jarFile: C:\Program Files\NetBeans 6.0 200709260000\java1\modules\org-netbeans-api-debugger-jpda.jar, StandardModule:org.netbeans.modules.debugger.jpda.ant jarFile: C:\Program Files\NetBeans 6.0 200709260000\java1\modules\org-netbeans-modules-debugger-jpda-ant.jar], but not including StandardModule:org.netbeans.modules.profiler.freeform jarFile: C:\Documents and Settings\KAM\.netbeans\dev\modules\org-netbeans-modules-profiler-freeform.jar at org.netbeans.ModuleManager.create(ModuleManager.java:485) ... and org.netbeans.DuplicateException: C:\Documents and Settings\KAM\.netbeans\dev\modules\org-netbeans-modules-profiler-freeform.jar is a duplicate of C:\Documents and Settings\KAM\.netbeans\dev\modules\org-netbeans-modules-profiler-freeform.jar at org.netbeans.ModuleManager.subCreate(ModuleManager.java:606) ... Please let me know if this should be tracked as separate issue.
Created attachment 49607 [details] Exceptions
There was a missing dependency on the high level Java Kit module It's fixed now
Verified with Ruby bundle 20071004