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 258840 - IndexOutOfBoundsException: Index: 0, Size: 0
Summary: IndexOutOfBoundsException: Index: 0, Size: 0
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords: JDK_9
Depends on:
Blocks:
 
Reported: 2016-04-14 19:06 UTC by Alexandr Scherbatiy
Modified: 2016-04-15 07:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 223533


Attachments
stacktrace (4.47 KB, text/plain)
2016-04-14 19:06 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2016-04-14 19:06:11 UTC
Build: NetBeans IDE Dev (Build 201604140404)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.40-b15, Java(TM) SE Runtime Environment, 1.8.0_40-ea-b11
OS: Mac OS X

User Comments:
sunflower: Create a project




Stacktrace: 
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
   at java.util.ArrayList.RangeCheck(ArrayList.java:653)
   at java.util.ArrayList.get(ArrayList.java:429)
   at org.netbeans.modules.java.project.ui.NewJavaFileWizardIterator.initialize(NewJavaFileWizardIterator.java:435)
   at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.initialize(TemplateWizard.java:1043)
   at org.openide.loaders.TemplateWizardIterImpl.setIterator(TemplateWizardIterImpl.java:104)
   at org.openide.loaders.TemplateWizardIteratorWrapper.setIterator(TemplateWizardIteratorWrapper.java:79)
Comment 1 Alexandr Scherbatiy 2016-04-14 19:06:13 UTC
Created attachment 159275 [details]
stacktrace
Comment 2 Tomas Zezula 2016-04-15 07:18:42 UTC
Fixed 49df19e33969a7bc2371c463032030b0a37012c6