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 70728 - I18N - unable to create project with name containing internacional characters
Summary: I18N - unable to create project with name containing internacional characters
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 5.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: rmatous
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2005-12-22 10:32 UTC by Jan Horvath
Modified: 2008-12-22 11:30 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
java.lang.reflect.UndeclaredThrowableException (12.63 KB, text/plain)
2005-12-22 10:33 UTC, Jan Horvath
Details
Test application (925 bytes, text/plain)
2006-01-03 14:18 UTC, Tomas Zezula
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Horvath 2005-12-22 10:32:09 UTC
build 200512202030

Its not possible to create project with name containing internacional characters on MacOSX.
When creating project I get java.lang.reflect.UndeclaredThrowableException and project is not created.
Comment 1 Jan Horvath 2005-12-22 10:33:13 UTC
Created attachment 28033 [details]
java.lang.reflect.UndeclaredThrowableException
Comment 2 Marian Mirilovic 2006-01-02 09:35:18 UTC
It works on Linux, so probably Mac specific.
Comment 3 Tomas Zezula 2006-01-02 18:41:44 UTC
I am not able to reproduce it on the Linux,
it is MacOS X specific. In my opinion it is because the MacOS X fs (at least in
your instalation) does not support the local encoding, it seems as WANTFIX, but
I need to veryfy it on MacOS X.
Comment 4 Jaromir Uhrik 2006-01-03 08:00:35 UTC
I got the same exception on my Mac OS X. The empty project folder is created and
has the correct name (contains national characters).
Comment 5 Tomas Zezula 2006-01-03 13:34:44 UTC
I don't think it is a P2 issue.
The problem is in the FileUtil.getFileObject (File) when the file has czech
characters. The File is created by constructor taking the czech characters, the
file is created on the disk but it is not found by FileUtil.getFileObject().
The following code works fine:
File p = ne File (dir, "Some czech letters");
assert p.mkdirs();
assert p.exists();
Comment 6 Tomas Zezula 2006-01-03 14:18:03 UTC
It seems as a Apple issue. The problem is demonstrated in the attached test.
1) The test creates folder with czech leters.
2) It tests that the folder exists -> OK
3) It lists the content of the parent folder and checks if the returned file is
equivalent to the created file -> fails.
Comment 7 Tomas Zezula 2006-01-03 14:18:58 UTC
Created attachment 28148 [details]
Test application
Comment 8 rmatous 2007-09-12 14:21:07 UTC
Can't be fixed in NB, won't be workarounded - probably should be reported as JDK bug
Comment 9 kaa 2007-09-12 15:59:37 UTC
I was able to create BPEL Module and Web App using ja chars in their name on Mac OS X.