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 257895 - IllegalArgumentException: Malformed \uxxxx encoding.
Summary: IllegalArgumentException: Malformed \uxxxx encoding.
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-08 17:02 UTC by Exceptions Reporter
Modified: 2016-02-19 02:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 222428


Attachments
stacktrace (1006 bytes, text/plain)
2016-02-08 17:02 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2016-02-08 17:02:05 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.72-b15, Java(TM) SE Runtime Environment, 1.8.0_72-b15
OS: Windows 7

User Comments:
GUEST: Changed nbproject\private\configurations.xml by adding environment
type of pattern :
<variable name="_ROOT" value="\folder"/>
<variable name="CONFIG_FILE" value="%_ROOT%\common\target.cfg"/>




Stacktrace: 
java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
   at java.util.Properties.loadConvert(Properties.java:574)
   at java.util.Properties.load0(Properties.java:391)
   at java.util.Properties.load(Properties.java:341)
   at org.netbeans.modules.cnd.makeproject.launchers.LaunchersProjectMetadataFactory.reload(LaunchersProjectMetadataFactory.java:71)
   at org.netbeans.modules.cnd.makeproject.launchers.LaunchersProjectMetadataFactory.read(LaunchersProjectMetadataFactory.java:43)
   at org.netbeans.modules.cnd.makeproject.configurations.ConfigurationXMLReader$1.runImpl(ConfigurationXMLReader.java:143)
Comment 1 Exceptions Reporter 2016-02-08 17:02:07 UTC
Created attachment 158419 [details]
stacktrace
Comment 2 Alexander Simon 2016-02-18 15:34:57 UTC
It seems you inserted illegal string in the file nbproject/private/launcher.properties.

For example following lines in the file:

launcher1.env.ROOT="\ufolder"
launcher1.runCommand=echo $ROOT

result in IllegalArgumentException.
Comment 4 Quality Engineering 2016-02-19 02:34:01 UTC
Integrated into 'main-silver', will be available in build *201602190002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/1f4ef9eaef5f
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #257895 IllegalArgumentException: Malformed \uxxxx encoding.