File Reader failed to start - File Reader. java.lang.NullPointerException
search cancel

File Reader failed to start - File Reader. java.lang.NullPointerException

book

Article ID: 222581

calendar_today

Updated On:

Products

Data Loss Prevention Enterprise Suite

Issue/Introduction

Error message seen in logs similar to the below

 

Message:  File Reader failed to start. Error starting File Reader. java.lang.NullPointerException. No incidents will be detected.

Environment

Release : 15.8

Component :

Cause

Date: 8/15/2021 1:00:19 AM
Class: com.vontu.util.filesystem.FileShredder
Method: <clinit>
Level: INFO
Message:  Initializing file shredder with num threads 8


Date: 8/15/2021 1:00:19 AM
Class: com.vontu.util.filesystem.FileUtil
Method: initializeTempDLPFolder
Level: INFO
Message:  Initializing temp folder: /some/directory


Date: 8/15/2021 1:00:19 AM
Class: com.vontu.util.filesystem.FileUtil
Method: initializeTempDLPFolder
Level: INFO
Message:  Purging temp folder: /some/directory


Date: 8/15/2021 1:00:19 AM
Class: com.vontu.messaging.FileReaderSetup
Method: initialize
Level: SEVERE
Message:  (DETECTION.3) Failed to initialize Detection
java.lang.NullPointerException
 at com.vontu.util.filesystem.FileUtil.purgeDirectory(FileUtil.java:225)
 at com.vontu.util.filesystem.FileUtil.initializeTempDLPFolder(FileUtil.java:310)
 at com.vontu.messaging.FileReader.initializeTempDLPFolders(FileReader.java:812)
 at com.vontu.messaging.FileReader.start(FileReader.java:497)
 at com.vontu.messaging.FileReaderSetup.initialize(FileReaderSetup.java:110)
 at com.vontu.messaging.FileReader.main(FileReader.java:323)


Date: 8/15/2021 1:00:19 AM
Class: com.vontu.logging.LocalLogWriter
Method: write
Level: SEVERE
Message:  File Reader failed to start. Error starting File Reader. java.lang.NullPointerException. No incidents will be detected.

Resolution

The thrown error indicates a failure on the DLP temp directory.  The permissions, and ownership of that directory need to be reviewed.