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 176402 - NetBeans 6.8 Beta - Error : "The Folder name is not valid"
Summary: NetBeans 6.8 Beta - Error : "The Folder name is not valid"
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 6.x
Hardware: PC Linux
: P4 normal (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-10 06:48 UTC by vatsalengg
Modified: 2016-07-07 08:54 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Folder Name is invalid when creating JSP file (45.70 KB, image/png)
2009-11-27 07:42 UTC, levancho
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vatsalengg 2009-11-10 06:48:49 UTC
When tries to create a new JSP page through a wizard then NetBeans 6.8 Beta shows error "Folder name is not valid".
But folder name is valid because the same project is working with 6.5 and 6.7 both.
I create JSP page in the same way with NetBeans 6.5 just like with this NetBeans 6.8.
Comment 1 levancho 2009-11-27 07:42:46 UTC
Created attachment 91781 [details]
Folder Name is invalid when creating JSP file

I also have same issue, here is screenshot for it
Comment 2 Marek Fukala 2010-05-06 19:48:22 UTC
Looks like already fixed by:

152575:a4f846a35f51 - ads 7.11.2009
Fix for IZ#120810 - Javascript wizard offers uncomfortable path for new .js

The JSP wizard uses the TargetChooserPanel from target.iterator module. The regexp pattern used for validation of the folder name looks ok to me:

 Pattern.compile("\\.$|[`~!@#$%^&*()=+|{};'\",<>?]", Pattern.MULTILINE); // NOI18N

Reporters, I would appreciate if you verify the issue in a netbeans 6.9 build and possibly reopen. Thanks
Comment 3 mlin 2010-08-18 22:30:36 UTC
Reopening this bug because the issue is still occurring in 6.9.1 on Linux.  Updating version to 6.9 and platform to PC/Linux.

Product Version: NetBeans IDE 6.9.1 (Build 201007282301)
Java: 1.6.0_20; Java HotSpot(TM) Client VM 16.3-b01
System: Linux version 2.6.31-22-generic running on i386; UTF-8; en_US (nb)
Userdir: /home/mlin/.netbeans/6.9

Here's the path to the file I'm trying to create:

/home/mlin/Desktop/Java EE (With Passion)/MyFirstWebApp/web/newjsp.jsp

Replacing the parenthesis in the folder name works around the issue:

/home/mlin/Desktop/Java EE -With Passion-/MyFirstWebApp/web/newjsp.jsp
Comment 4 Kei_Prime 2012-05-03 15:30:42 UTC
I used to have the same error while i was trying to create JSP or HTML pages, in every NetaBean's version.
So in my case i noticed that netbeans is really Case Sensitive because my username in windows was  K', and the apostrophe was the one who was causing me problem with the folder name path.
So i created a new user in windows with no weird characters and i reopened my NetBeans and problem solved.
Pardon my english, im mexican.
Comment 5 Kei_Prime 2012-05-03 15:31:46 UTC
I used to have the same error while i was trying to create JSP or HTML pages, in every NetaBean's version.
So in my case i noticed that netbeans is really Case Sensitive because my username in windows was  K', and the apostrophe was the one who was causing me problem with the folder name path.
So i created a new user in windows with no weird characters and i reopened my NetBeans and problem solved.
Pardon my english, im mexican.
Comment 6 Martin Balin 2016-07-07 08:54:39 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss