Sunday, August 24, 2014

Error: \uxxxx encoding

Getting the inputs from properties file..
error occured while reading input properties from oim_upgrade_input.properties file Malformed \uxxxx encoding.
Error in reading the properties fileMalformed \uxxxx encoding.
Exception in thread "main" 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 oracle.iam.oimupgrade.standalone.OIMONEHOPUpgrade.getInputsFromPropertiesFile(OIMONEHOPUpgrade.java:303)
        at oracle.iam.oimupgrade.standalone.OIMONEHOPUpgrade.main(OIMONEHOPUpgrade.java:121)

Solution:

Change path style, usually caused in windows for \(reverse slash) because of escape character

for example:

Change From: java.home=C:\Java\jdk1.6.0_45

To  java.home=C:\\Java\\jdk1.6.0_45

No comments:

Post a Comment

Other Posts