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 236908 - ArrayIndexOutOfBoundsException: 0
Summary: ArrayIndexOutOfBoundsException: 0
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-09 01:04 UTC by MackSix
Modified: 2013-10-10 05:20 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 191371


Attachments
stacktrace (6.59 KB, text/plain)
2013-10-09 01:04 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2013-10-09 01:04:21 UTC
Build: NetBeans IDE 7.4 (Build 201310012201)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.0-b56, Java(TM) SE Runtime Environment, 1.7.0_40-b43
OS: Windows 7

User Comments:
GUEST: I tried to create a Facelets Template using the assistant from within an EJB to modularize a web application.

GUEST: Create a new JSF Template

GUEST: Try to generate a 'Faclet Template' from context menu by clicking on 'New' / 'Faclets Template...'

MackSix: 1. Created new package in Java Ant Project.
2. Choose Facelets Template.

This Exception was thrown.




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: 0
   at org.netbeans.modules.web.jsf.wizards.TemplateIterator.createPanels(TemplateIterator.java:254)
   at org.netbeans.modules.web.jsf.wizards.TemplateIterator.initialize(TemplateIterator.java:171)
   at org.openide.loaders.TemplateWizardIterImpl.setIterator(TemplateWizardIterImpl.java:104)
   at org.openide.loaders.TemplateWizardIteratorWrapper.setIterator(TemplateWizardIteratorWrapper.java:79)
   at org.openide.loaders.TemplateWizard.setTemplateImpl(TemplateWizard.java:209)
   at org.openide.loaders.TemplateWizard$1.run(TemplateWizard.java:231)
Comment 1 MackSix 2013-10-09 01:04:23 UTC
Created attachment 140919 [details]
stacktrace
Comment 2 MackSix 2013-10-09 01:12:30 UTC
1. Right click on Java Ant Project package and choose New >> Other >> JavaServer Faces >> Facelets Template.
2. Click Next.

This exception is thrown. 

Product Version: NetBeans IDE 7.4 (Build 201310012201)
Java: 1.7.0_40; Java HotSpot(TM) 64-Bit Server VM 24.0-b56
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b43
Comment 3 Martin Fousek 2013-10-10 05:20:21 UTC
Already fixed by fixing #235760.
web-main #6c1c2b1d0512