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 174943

Summary: New JSF File dialog won't allow you to create new Facelets file
Product: obsolete Reporter: ievans <ievans>
Component: Facelets 1.1.xAssignee: Alexey Butenko <alexeybutenko>
Status: RESOLVED FIXED    
Severity: blocker CC: dkonecny, g11n, pjiricka
Priority: P2    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: Screenshot of the error dialog
Log file

Description ievans 2009-10-19 23:36:05 UTC
Steps to reproduce:
1. Create new Java EE 6 Web project that uses JavaServer Faces framework.
2. Select File -> New File, JavaServer Faces category, then JSF Page, and click Next.
3. Note the error at the bottom of the dialog saying, "The Folder Name is not valid."

The new file should be created in the web root of the web project, but 6.8 can't create new files there as long as this
error is incorrectly displaying.

The vitals:
Product Version: NetBeans IDE Dev (Build 200910150201)
Java: 1.6.0_16; Java HotSpot(TM) Client VM 14.2-b01
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Userdir: C:\Documents and Settings\ian\.netbeans\dev

This bug is a blocking bug for the First Cup tutorial, included in the Java EE 6 SDK.
Comment 1 ievans 2009-10-19 23:36:41 UTC
Created attachment 89718 [details]
Screenshot of the error dialog
Comment 2 ievans 2009-10-19 23:39:40 UTC
Created attachment 89719 [details]
Log file
Comment 3 David Konecny 2009-10-20 00:03:35 UTC
Alexey, could you try to reproduce on Windows please?

It runs fine on my Linux. Looking at the code this message should be displayed only when one of the following illegal
characters is typed in "Folder:" field - "`~!@#$%^&*()=+|{};:'",<>?". Somehow I think we would get this error reported
earlier unless of course there is a fresh regression. Ian, could you try to type something in "Folder:" field (legal and
illegal characters) and removing all of them again just to see if error message box disappears under some conditions?
Thanks.
Comment 4 ievans 2009-10-20 00:32:54 UTC
I've tried:
* entering legal characters in the Folder input
* entering illegal characters in the Folder input
* clicking Browse to select a sub-folder

All do not eliminate the error.
Comment 5 Alexey Butenko 2009-10-20 13:44:43 UTC
http://hg.netbeans.org/web-main/rev/3b2d35ab2c8c
Comment 6 Quality Engineering 2009-10-22 23:55:39 UTC
Integrated into 'main-golden', will be available in build *200910221401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/3b2d35ab2c8c
User: Alexey Butenko <alexeybutenko@netbeans.org>
Log: #174943: New JSF File dialog won't allow you to create new Facelets file
Comment 7 Alexey Butenko 2009-10-26 14:17:11 UTC
*** Issue 175381 has been marked as a duplicate of this issue. ***
Comment 8 eino 2012-06-20 11:05:16 UTC
I just add my note to help some other person
In Netbeans 7.1.2  if you project is located in network path
It gives this folder name is invalid even when it's not.

My Home directory is syncronized in Windows between network share and computer
and Netbeans is angry because this share is hidden "username$"  ($ means that share is hidden in windows) 

\\serverone\username$\NetBeansProjects\UnSecureApplication\web\oktransfer.xhtml