Failure during Zia Reopen prediction process stops the mail fetching schedule

Failure during Zia Reopen prediction process stops the mail fetching schedule

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

          • Related Articles

          • Zia prediction failure due to security statements at the front of email content

            Issue: Zia approval prediction fails when security statements are present at the starting of the mail content. Since we consider the first 100 characters and 2 sentences from the content, the approval comment given by the user was not considered due ...
          • Zia approval prediction failure even with customized data

            Zia approval prediction is not working as expected even though the data is given under customized data. Fix: The customized model will be considered for the prediction at first and then if it fails to predict, the default model will be considered. ...
          • List of mail fetching issues and solutions

            Scenario 1 : Mail fetching issue due to Invalid or No PKIX certificate .   Log traces for Mail Fetching  issues Exception when connecting to store.|javax.mail.MessagingException: sun.security.validator.ValidatorException: PKIX path building failed: ...
          • Problem in extracting emails via EWS from 11134

            Emails getting fetched via EWS are getting failed to process and stops the Mail Fetching when that mail's object doesn't have InternetMessageHeaders. Note: This issue will not occur for all emails extracted via EWS except for the emails which don't ...
          • Debug jar for Formatting issue in request while processing via email

            Debug jar for finding the actual root cause for the formatting issue in requests created via Mail. Added debug log prints to troubleshoot the issue Reference Ticket:  ...