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 49286 - Creating new file with invalid name causing exception
Summary: Creating new file with invalid name causing exception
Status: CLOSED DUPLICATE of bug 44536
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: Petr Hrebejk
URL:
Keywords:
: 49285 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-20 14:07 UTC by Milan Kuchtiak
Modified: 2006-03-24 10:08 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception (4.35 KB, text/plain)
2004-09-20 14:08 UTC, Milan Kuchtiak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kuchtiak 2004-09-20 14:07:41 UTC
If you set the name for file "*" or "?", the
java.io.IOExceptio is thrown.
This happens for txt,xml wizard ...

This is a platform specific bug.
See also the issue 48851.
Comment 1 Milan Kuchtiak 2004-09-20 14:08:51 UTC
Created attachment 17755 [details]
Exception
Comment 2 Petr Hrebejk 2004-09-20 14:27:31 UTC
Shouldn't the summary rather say Creating instead of Opening.
Comment 3 Marian Mirilovic 2004-09-20 14:29:48 UTC
*** Issue 49285 has been marked as a duplicate of this issue. ***
Comment 4 Petr Hrebejk 2004-09-20 14:51:26 UTC
Unfortunately I can't do much about that. There is no method for
testing correctness of given filename for given filesystem. The only
thing I can do is to catch the exception and show an nicer dialog. 

If you wnt to fix it for your file type, write your own wizard (E.g.
Java has easier job as it can ask the isJavaItdentifier method)
Comment 5 Jiri Rechtacek 2004-09-20 15:37:22 UTC

*** This issue has been marked as a duplicate of 44536 ***
Comment 6 Marian Mirilovic 2005-07-12 10:12:49 UTC
closed