Skip to main content
Kofax

MarkView All Components - Verify fails with Malformed \uxxxx encoding error

4745
Article # 304277 - Page views: 200

Summary 

4745

Applies To

  • ERP System: SAP
  • MarkView Version: MarkView 6.4

Behavior

  • MarkView Verify fails with an error similar to the following reported in the log files:
    2010-02-18 12:04:12,500 FATAL com.markview.installer.InstallerType Error while running installer
    java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
        at java.util.Properties.loadConvert(Unknown Source) at java.util.Properties.load(Unknown Source)
        at com.markview.installer.TargetRegistryManager.getPropertiesFromTRS(TargetRegistryManager.java:877)
        at com.markview.installer.InstallerType.loadTargetRegistry(InstallerType.java:311)
        at com.markview.installer.InstallerType.loadTargetRegistry(InstallerType.java:281)
        at com.markview.installer.InstallerType.runInstaller(InstallerType.java:1250)
        at com.markview.installer.InstallerVerify.main(InstallerVerify.java:51)

Known Causes

  • This error occurs because of URL values stored within the mv_target_registry table that contain the '\' character.

Resolution

  • Run the following query to identify the problematic URLs:
    select name_attribute,value from mv_target_registry where lower(value) like '%\%';
  • Run the following update statement to correct the issue:
    ​​​​​​​
    update mv_target_registry set value = replace(value,'\','/') where lower(value) like '%\%';

Keywords: mal-formed, encode