When the requester replies to closed/resolved requests with empty content or if there is no proper content except the content of the parent mail, then no content will be available for zia reopen prediction process and an exception will be thrown(refer below) which also stops the Mail Fetching.
Fix: The exception thrown will be caught to avoid the Mail fetching schedule getting stopped.
Traces:
[14:01:56:877]|[03-09-2021]|[com.manageengine.servicedesk.mailutils.MailAPI]|[INFO]|[269]: ZIA_DEBUG::mailcontent after from/on pattern removal::|
[14:01:56:877]|[03-09-2021]|[com.manageengine.servicedesk.mailutils.MailAPI]|[INFO]|[269]: ZIA_DEBUG::mailcontent after converting into Plain Text format::|
[14:01:56:885]|[03-09-2021]|[com.manageengine.servicedesk.sdpai.utils.ReopenPrediction]|[INFO]|[269]: custom model::Model21301613976482|
[14:01:56:885]|[03-09-2021]|[com.manageengine.servicedesk.sdpai.utils.ZiaBaseHandler]|[INFO]|[269]: queryString before removing stop words : |
[14:01:56:885]|[03-09-2021]|[com.zlabs.ml.util.MLException]|[SEVERE]|[269]: class com.zlabs.ml.textanalysis.sentencedetection.SentenceDetectorQuery : data cannot be null|
[14:01:56:885]|[03-09-2021]|[SYSERR]|[INFO]|[269]: com.zlabs.ml.util.MLException: class com.zlabs.ml.textanalysis.sentencedetection.SentenceDetectorQuery : data cannot be null|
[14:01:56:886]|[03-09-2021]|[SYSERR]|[INFO]|[269]: at com.zlabs.ml.textanalysis.sentencedetection.SentenceDetectorQuery.<init>(SentenceDetectorQuery.java:32)|
[14:01:56:886]|[03-09-2021]|[SYSERR]|[INFO]|[269]: at com.manageengine.servicedesk.sdpai.utils.ReopenPrediction.splitSentences(ReopenPrediction.java:275)|
[14:01:56:886]|[03-09-2021]|[SYSERR]|[INFO]|[269]: at com.manageengine.servicedesk.sdpai.utils.ReopenPrediction.query(ReopenPrediction.java:318)|
[14:01:56:886]|[03-09-2021]|[SYSERR]|[INFO]|[269]: at com.manageengine.servicedesk.sdpai.utils.ReopenPrediction.queryData(ReopenPrediction.java:242)|
[14:01:56:886]|[03-09-2021]|[SYSERR]|[INFO]|[269]: at com.manageengine.servicedesk.sdpai.utils.ZiaOperationHandler.queryData(ZiaOperationHandler.java:27)|
Reference Ticket:
Files Modified :
<SDP>\helpdesk\src\library\com\manageengine\servicedesk\sdpai\utils\AIQueryUtil.java
Issue ID:
SD-93504
Jar Compatibility :
11138 - 11141 - SDP Build Version