search cancel

"File path must be a regular file" received when running the ReinstallationResourcesUtility.exe

book

Article ID: 201815

calendar_today

Updated On:

Products

Data Loss Prevention Enforce Data Loss Prevention

Issue/Introduction

java.lang.IllegalArgumentException: File path must be a regular file
        at com.symantec.dlp.ReinstallationResourcesUtility.ZIPUtilities.addFileToZIP(ZIPUtilities.java:87)
        at com.symantec.dlp.ReinstallationResourcesUtility.ZIPUtilities.addDirectoryToZIP(ZIPUtilities.java:110)
        at com.symantec.dlp.ReinstallationResourcesUtility.ReinstallationResourcesUtility.exportReinstallationResources(ReinstallationResourcesUtility.java:123)

        at com.symantec.dlp.ReinstallationResourcesUtility.ReinstallationResourcesUtility.main(ReinstallationResourcesUtility.java:166)

Cause

Unrelated directories or subfolders present inside the keystore folder under \ProgramData\Symantec\DataLossPrevention\EnforceServer\15.x\keystore

Environment

Windows 

Resolution

Remove any non-dlp files and folders from the keystore directory before running the ReinstallationResourcesUtility.exe.