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 145732 - IllegalArgumentException: Malformed \uxxxx encoding.
Summary: IllegalArgumentException: Malformed \uxxxx encoding.
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milan Kubec
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-31 21:32 UTC by bcallebaut
Modified: 2009-09-17 23:04 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 9218


Attachments
stacktrace (3.59 KB, text/plain)
2008-08-31 21:32 UTC, bcallebaut
Details
stacktrace (3.76 KB, text/plain)
2008-09-11 04:08 UTC, fabiofigueiredo
Details
stacktrace (3.60 KB, text/plain)
2008-09-11 04:11 UTC, fabiofigueiredo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bcallebaut 2008-08-31 21:32:44 UTC
Build: NetBeans IDE 6.5 Beta (Build 200808111757)
VM: Java HotSpot(TM) Client VM, 1.6.0-b105, Java(TM) SE Runtime Environment, 1.6.0-b105
OS: Windows XP, 5.1, x86

User Comments: 
Loading a project from my netbeans mercurial working directory.

Stacktrace: 
java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
        at java.util.Properties.loadConvert(Properties.java:552)
        at java.util.Properties.load0(Properties.java:375)
        at java.util.Properties.load(Properties.java:325)
        at org.netbeans.spi.project.support.ant.PropertyUtils$FilePropertyProvider.loadProperties(PropertyUtils.java:271)
        at org.netbeans.spi.project.support.ant.PropertyUtils$FilePropertyProvider.getProperties(PropertyUtils.java:259)
        at org.netbeans.spi.project.support.ant.PropertyUtils$SequentialPropertyEvaluator.compose(PropertyUtils.java:890)
Comment 1 bcallebaut 2008-08-31 21:32:48 UTC
Created attachment 68738 [details]
stacktrace
Comment 2 Milan Kubec 2008-09-01 08:44:48 UTC
There is some malformed unicode string in project.properties (or private.properties) file. Did you enter some
non-english character in project customizer of did you modify some of those prop. files by hand? Loading the property
file is the only last point where the problem is revealed.
Comment 3 Ken Frank 2008-09-07 00:58:45 UTC
or could there be some non basic ascii characters in project name or
path to it or a file name ?
(and what locale/regional setting are you running under ?)

ken.frank@sun.com
Comment 4 Ken Frank 2008-09-08 14:47:08 UTC
bcallebaut replied to my questions that not using 
non basic ascii in project name or path
and using windows in fr_BE locale.

can you reply in this issue to questions
asked by mkubec ?

you mentioned in mail about it happens when you use maven
projects and in issue about mercurial.

can you create some new project in ide not using mercurial
or maven, but with project location in same basic path 
as other projects are ?  and see if it happens ?


and can you give steps of what is happening, ie create
new project, put into mercurial, etc ?

ken.frank@sun.com

Comment 5 fabiofigueiredo 2008-09-11 04:08:39 UTC
Build: NetBeans IDE 6.1 (Build 200805300101)
VM: Java HotSpot(TM) Client VM, 1.6.0-b105, Java(TM) SE Runtime Environment, 1.6.0-b105
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
        at java.util.Properties.loadConvert(Properties.java:552)
        at java.util.Properties.load0(Properties.java:374)
        at java.util.Properties.load(Properties.java:325)
        at org.netbeans.spi.project.support.ant.PropertyUtils$FilePropertyProvider.loadProperties(PropertyUtils.java:271)
        at org.netbeans.spi.project.support.ant.PropertyUtils$FilePropertyProvider.getProperties(PropertyUtils.java:259)
        at org.netbeans.spi.project.support.ant.PropertyUtils$SequentialPropertyEvaluator.compose(PropertyUtils.java:890)
Comment 6 fabiofigueiredo 2008-09-11 04:08:49 UTC
Created attachment 69609 [details]
stacktrace
Comment 7 fabiofigueiredo 2008-09-11 04:11:42 UTC
Build: NetBeans IDE 6.1 (Build 200805300101)
VM: Java HotSpot(TM) Client VM, 1.6.0-b105, Java(TM) SE Runtime Environment, 1.6.0-b105
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
        at java.util.Properties.loadConvert(Properties.java:552)
        at java.util.Properties.load0(Properties.java:374)
        at java.util.Properties.load(Properties.java:325)
        at org.netbeans.spi.project.support.ant.PropertyUtils$FilePropertyProvider.loadProperties(PropertyUtils.java:271)
        at org.netbeans.spi.project.support.ant.PropertyUtils$FilePropertyProvider.getProperties(PropertyUtils.java:259)
        at org.netbeans.spi.project.support.ant.FilterPropertyProvider.getProperties(FilterPropertyProvider.java:95)
Comment 8 fabiofigueiredo 2008-09-11 04:11:52 UTC
Created attachment 69610 [details]
stacktrace
Comment 9 Milan Kubec 2008-09-11 07:31:25 UTC
fabiofigueiredo, please provide at least some info about the issue. What you were doing in IDE when the exception was
thrown. Thanks.
Comment 10 Milan Kubec 2008-09-25 09:19:50 UTC
I've improved the error message when this problem happens.

http://hg.netbeans.org/core-main/rev/f8edbc24c0f4
Comment 11 Quality Engineering 2008-09-27 05:39:17 UTC
Integrated into 'main-golden', will be available in build *200809270201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/f8edbc24c0f4
User: Milan Kubec <mkubec@netbeans.org>
Log: #145732: IAE catched and better message provided to diagnose the problem
Comment 12 mhalceanu 2008-11-13 17:11:38 UTC
Netbeans problem solved: malformed \uxxxx encoding
For solving the problem please follow the next steps:
1)	Uninstall Netbeans
2)	Delete the following folders:
C:\Documents and Settings\user_name\.nbi
C:\Documents and Settings\user_name\ .netbeans
C:\Documents and Settings\user_name\ .netbeans-derby
3)	Install Netbeans.