Issue description:
如下图,禁用后再次启用时会报错:
Solution:
附件为补丁,按照如下步骤应用该补丁:
Stop the "ManageEngine DataSecurity Plus" service
Navigate to <Installation_Folder>\ManageEngine\DataSecurity Plus\lib
Create a folder as jarbak outside the lib folder
Rename the file ManageEngineFAPServer.jar from the "lib" folder to ManageEngineFAPServer.jar_old and move it to jarbak folder.
Download and extract the patch file from the above link and paste it in <Installation Folder>\ManageEngine\DataSecurity Plus\lib
Start the "ManageEngine DataSecurity Plus" service (Services.msc) and observe the issue.
Root Reason:
原因如下(一般只发生在分析对象为‘全部驱动器’时):
The root cause is, a null pointer exception was thrown. This occurs when the file analysis drives configuration remains as "All drives", at the time of enabling. Usually when a server is configured with all drives option, from the backend we add all the available drives of the file server to the configuration. This is done for license checking purpose. So the configuration changes from "All drives" to "Only specific drives" and all the available drives of the file server are added to the configuration . The configuration remains in "All Drives" itself when file analysis is not able to get the drives details or when the disk scan has not run.