FDM error " java.lang.IllegalArgumentException: InputSource is null " for CONCAT function with XML Xpath
search cancel

FDM error " java.lang.IllegalArgumentException: InputSource is null " for CONCAT function with XML Xpath

book

Article ID: 278714

calendar_today

Updated On: 03-21-2025

Products

CA Test Data Manager (Data Finder / Grid Tools)

Issue/Introduction

When using CONCAT function with XPath elements during XML file masking, getting below error.

2024-01-30 04:57:59.736 main - java.lang.IllegalArgumentException: InputSource is null
    at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:154)
    at com.grid_tools.products.datamasker.xml.XmlDomFileParser.processXMLfile(XmlDomFileParser.java:202)
    at com.grid_tools.products.datamasker.masking.filemasking.XmlFileMasker.doXMLmasking(XmlFileMasker.java:604)
    at com.grid_tools.products.datamasker.Datamasker.main(Datamasker.java:1579)

 

Environment

TDM 4.10.x

Cause

Product defect.

Resolution

Fixed the "java.lang.IllegalArgumentException: InputSource is null" error coming from CONCAT masking function.

Note that as per design functionality of the CONCAT function, it works only for column value or a fixed string and is not supported for XPath values.

If interested, you can download the patch FastDataMasker-4.10.1005.0.zip from below location:

Test Data Manager (TDM) Support Patches