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 49766 - Non-standard character in user name breaks project compile
Summary: Non-standard character in user name breaks project compile
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: David Konecny
Keywords: I18N, SIMPLEFIX
Depends on:
Reported: 2004-09-30 23:23 UTC by jurgenh
Modified: 2006-03-24 09:50 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description jurgenh 2004-09-30 23:23:49 UTC
My Windoows login name includes an umlaut.  By 
defaultthe .netbeans directory is created in a 
path that includes the umlaut.  This bombs the 
compile of all projects created with these 
settings.  This might turn off some first time 

The error message:

C:\Documents and Settings\Jürgen 
impl.xml:34: java.lang.IllegalArgumentException: 
Malformed \uxxxx encoding.
BUILD FAILED (total time: 0 seconds)

The offending line is a reference to another 

The contents of that file:\\Documents and 
Settings\\J\ufcrgen Herrmann\\.netbeans\\4.0beta1

Note the representation of the umlaut.

The workaround is to place .netbeans at a 
location where there is no special character and 
point to it.
Comment 1 Petr Hrebejk 2004-10-01 08:06:40 UTC
Jesse probably something for you. 

Obvious workaround would be to place the project into some directory
without umlaut. 
Comment 2 David Konecny 2004-10-01 09:51:43 UTC
I will look at it. Looks like problem in EditableProperties.
Comment 3 David Konecny 2004-10-01 12:29:54 UTC
Silly bug which is fixed now. 

The problem happens only when NB userdir contains a character > 126.
So if username contains such a character all projects will be broken
because by default NB userdir is placed under user's home. On the
other hand usernames usually do not contain these characters so P3 is

The only workaround is to put NB userdir somewhere else. The IDE has
to be started as "nb.exe --userdir <some_other_folder>".

The project created below such a folder should be OK. However
reference from one project to the other where the reference would
contain folder name with character > 126 would be broken again.

Fixed in:
new revision: 1.10; previous revision: 1.9
new revision: 1.7; previous revision: 1.6
Comment 4 Marian Mirilovic 2005-12-20 15:48:06 UTC
This issue was solved long time ago. Because nobody has reopened it neither
added comments, we are verifying/closing it now. 
If you are still able to reproduce the problem, please reopen. Thanks in advance.