Training NLU model shows as "Success" even though encountering error "Attachment size exceeds the limit of 10MB, configured by com.glide.attachment.max_size." or logging error "Input stream may not be null"DescriptionWhen training an NLU model, the training encounters the error:"Attachment size exceeds the limit of 10MB, configured by com.glide.attachment.max_size." The training seems succeeding instead of showing as incomplete/fail. The popup error window can also not contain any error message, but the system log shows the following: "Input stream may not be null"*** Script: [DEBUG] NLU Predict response : {"status":"failure","exception":"sn_ml.MLServiceUtil.predict(): java.lang.IllegalArgumentException: Input stream may not be null"}Steps to Reproduce 1. Train a model and check for the attachment size, i.e. 7 or 10 MB.2. Go to sys_properties and set the value of com.glide.attachment.max_size to 5MB.3. Retrain the model after this restrictive change. The training will show as success.4. Possibly observe an error popup with no error message.5. Search in the debug log the error stream:2021-06-29 17:06:52 (158) Default-thread-11 2AC0DF69DBC5F418B63384DC1396198B txid=cc77d3a5db09 *** Start #2283566 /api/now/v1/nlu/test, user: robert.chiu@snc2021-06-29 17:06:52 (163) Default-thread-11 2AC0DF69DBC5F418B63384DC1396198B txid=cc77d3a5db09 *** Script: [DEBUG] NLU Model Info : [{"solutionName":"global_2b8169bedb2c781067352a59139619ed_d30892a3db70b894b63384dc13961966","solutionDomain":"global","solutionVersion":2,"solutionScope":"2b8169bedb2c781067352a59139619ed"}]2021-06-29 17:06:52 (163) Default-thread-11 2AC0DF69DBC5F418B63384DC1396198B txid=cc77d3a5db09 DEBUG: MLServiceUtil: solutionInfoJson : [{"solutionName":"global_2b8169bedb2c781067352a59139619ed_d30892a3db70b894b63384dc13961966","solutionDomain":"global","solutionVersion":2,"solutionScope":"2b8169bedb2c781067352a59139619ed"}]2021-06-29 17:06:52 (163) Default-thread-11 2AC0DF69DBC5F418B63384DC1396198B txid=cc77d3a5db09 DEBUG: MLServiceUtil: solutionInfoList : [SolutionInfo [solution_name=global_2b8169bedb2c781067352a59139619ed_d30892a3db70b894b63384dc13961966, solution_version=2, solution_domain=global, solution_scope=2b8169bedb2c781067352a59139619ed, request_mode=null, unique_solution_name=ml_global_2b8169bedb2c781067352a59139619ed_d30892a3db70b894b63384dc13961966]]2021-06-29 17:06:52 (166) Default-thread-11 2AC0DF69DBC5F418B63384DC1396198B txid=cc77d3a5db09 Prediction server URL is https://mlpredictor-customer.sjc0.service-now.com2021-06-29 17:06:52 (300) Default-thread-11 2AC0DF69DBC5F418B63384DC1396198B txid=cc77d3a5db09 *** Script: [DEBUG] NLU Predict response : {"status":"failure","exception":"sn_ml.MLServiceUtil.predict(): java.lang.IllegalArgumentException: Input stream may not be null"}6. Navigate to sys_nlu_model and see information message "Attachment size exceeds the limit of 10NB, configured by com.glide.attachment.max_size" Ref.: https://docs.servicenow.com/bundle/quebec-servicenow-platform/page/administer/notification/reference/r_AttachmentLimitProperties.htmlWorkaroundThis problem is targeted to be fixed in an upcoming release. To receive notifications when more information becomes available, subscribe to this Known Error article by clicking the Subscribe button at the top right of this form. The workaround is to increase the attachment size in property "com.glide.attachment.max_size " from the default 10MB to a high 100MB value. Related Problem: PRB1492940