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

Summary: ArrayIndexOutOfBoundsException: 0
Product: javaee Reporter: MackSix
Component: JSFAssignee: Martin Fousek <marfous>
Status: RESOLVED FIXED    
Severity: normal CC: MackSix
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 191371
Attachments: stacktrace

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