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 44536

Summary: Wizards - missing invalid name checking
Product: java Reporter: zikmund <zikmund>
Component: ProjectAssignee: Jiri Rechtacek <jrechtacek>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 41537, 48851    
Attachments: java.lang.AssertionError

Description zikmund 2004-06-08 15:35:51 UTC
Build 200406080606

1) Invoke New J2SE project wizard and type invalid
directory/file name (OS dependent), e.g. star "*"
2) Press Finish
3) EXCEPTION:
java.lang.AssertionError occures - see attachment.

4) Invoke Text File/XML Document/etc. wizard and
type invalid file name
5) Press Finish
6) ERROR:
Nothing happens: no error message, no file created.

Notice: I'd expect same file name checking as
provided in JSP File wizard. When you type star,
an inline error message appears.
Comment 1 zikmund 2004-06-08 15:36:21 UTC
Created attachment 15564 [details]
java.lang.AssertionError
Comment 2 zikmund 2004-06-18 17:01:59 UTC
*** Issue 44756 has been marked as a duplicate of this issue. ***
Comment 3 Jiri Rechtacek 2004-08-24 12:17:46 UTC
Common problem with checking validation of file name, de facto dupl of
issue 31484.  Should be found any easy way how to filter wrong cases
of file name.
Comment 4 Jiri Rechtacek 2004-09-20 15:37:21 UTC
*** Issue 49286 has been marked as a duplicate of this issue. ***
Comment 5 Jiri Rechtacek 2004-10-14 12:00:47 UTC
Resolving issue 49332 fixes this issue enough, closed as fixed.
Comment 6 zikmund 2004-10-26 16:37:23 UTC
Verified.