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 118068 - Cannot create JSF web project
Summary: Cannot create JSF web project
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Petr Pisl
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-10-08 07:57 UTC by Jiri Skrivanek
Modified: 2007-10-09 07:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack trace. (1.55 KB, text/plain)
2007-10-08 07:57 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2007-10-08 07:57:14 UTC
Since build 200710052215 it is not possible to create JSF web project. ArrayIndexOutOfBoundsException is thrown from
JSFFrameworkProvider$CreateFacesConfig. To reproduce:

- open new project wizard
- choose Web|Web Application
- click Next
- choose Server and click Next
- select JavaServer Faces
- Finish the wizard and the following exception is thrown:

java.lang.ArrayIndexOutOfBoundsException: 0
	at org.netbeans.modules.web.jsf.JSFFrameworkProvider$CreateFacesConfig.run(JSFFrameworkProvider.java:299)
Comment 1 Jiri Skrivanek 2007-10-08 07:57:40 UTC
Created attachment 50361 [details]
Stack trace.
Comment 2 Petr Pisl 2007-10-08 10:20:42 UTC
Fixed in the trunk. Stupid mistake in one condition.

Checking in JSFFrameworkProvider.java;
/cvs/web/jsf/src/org/netbeans/modules/web/jsf/JSFFrameworkProvider.java,v  <--  JSFFrameworkProvider.java
new revision: 1.26; previous revision: 1.25
Comment 3 Jiri Skrivanek 2007-10-09 07:52:32 UTC
Verified.