This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 03, 2015
04:29 PM
java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
When creating our installer with IA2015 we get:
[CODE][echo] Creating task using jar : D:\build-tools\InstallAnywhere2015\resource\build\iaant.jar
[buildinstaller] Using Properties set in iabuild.xml
[buildinstaller] Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)
[buildinstaller]
[buildinstaller] Stack Trace:
[buildinstaller] java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
[buildinstaller] at java.util.Properties.loadConvert(Unknown Source)
[buildinstaller] at java.util.Properties.load0(Unknown Source)
[buildinstaller] at java.util.Properties.load(Unknown Source)
[buildinstaller] at com.zerog.common.java.util.PropertiesUtil.loadProperties(Unknown Source)
[buildinstaller] at InstallAnywhere.ag(Unknown Source)
[buildinstaller] at InstallAnywhere.main(Unknown Source)
[buildinstaller] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[buildinstaller] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[buildinstaller] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[buildinstaller] at java.lang.reflect.Method.invoke(Unknown Source)
[buildinstaller] at com.zerog.lax.LAX.launch(Unknown Source)
[buildinstaller] at com.zerog.lax.LAX.main(Unknown Source) [/CODE]
I couldn't find a iabuild.xml so I don't know what properties file is the problem.
This is the output of the ant task that build the installer.
Note that this project has been generated with an earlier version of IA.
We tried to open the project with the visual editor and re-save it but we got the same error.
[CODE][echo] Creating task using jar : D:\build-tools\InstallAnywhere2015\resource\build\iaant.jar
[buildinstaller] Using Properties set in iabuild.xml
[buildinstaller] Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)
[buildinstaller]
[buildinstaller] Stack Trace:
[buildinstaller] java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
[buildinstaller] at java.util.Properties.loadConvert(Unknown Source)
[buildinstaller] at java.util.Properties.load0(Unknown Source)
[buildinstaller] at java.util.Properties.load(Unknown Source)
[buildinstaller] at com.zerog.common.java.util.PropertiesUtil.loadProperties(Unknown Source)
[buildinstaller] at InstallAnywhere.ag(Unknown Source)
[buildinstaller] at InstallAnywhere.main(Unknown Source)
[buildinstaller] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[buildinstaller] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[buildinstaller] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[buildinstaller] at java.lang.reflect.Method.invoke(Unknown Source)
[buildinstaller] at com.zerog.lax.LAX.launch(Unknown Source)
[buildinstaller] at com.zerog.lax.LAX.main(Unknown Source) [/CODE]
I couldn't find a iabuild.xml so I don't know what properties file is the problem.
This is the output of the ant task that build the installer.
Note that this project has been generated with an earlier version of IA.
We tried to open the project with the visual editor and re-save it but we got the same error.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 04, 2015
01:25 PM
The properties file is iabuild.xml.
the \u here causes the issue.
This happens when you have a folder that begins with a 'u' in the path of the buildinstaller task:
-> produces the error
-> works
In my case the 'u' was in the basedir itself so I'll have to relocate it.
the \u here causes the issue.
This happens when you have a folder that begins with a 'u' in the path of the buildinstaller task:
In my case the 'u' was in the basedir itself so I'll have to relocate it.