Crop Type - error after running a job

Hi All,
I have a problem with classification. I had run a job but after a few hours it was stopped.
S4CCropTypeExtractParcels - successful
S4CCropType - failed

It was returned in “Error”:

See arrow_info() for available features
Attaching package: ‘arrow’
The following object is masked from ‘package:utils’:
timestamp
Attaching package: ‘dplyr’
The following objects are masked from ‘package:stats’:
filter, lag
The following objects are masked from ‘package:base’: intersect, setdiff, setequal, union

Loading required package: ggplot2
Loading required package: lattice
Failed to create bus connection: No such file or directory
Warning message:
In system(“timedatectl”, intern = TRUE) :
running command ‘timedatectl’ had status 1
Loading required package: proto
Warning message:
no DISPLAY variable so Tk is not available
– Attaching packages --------------------------------------- tidyverse 1.3.1 –
v tibble 3.1.6 v stringr 1.4.0
v tidyr 1.1.4 v forcats 0.5.1
v purrr 0.3.4
– Conflicts ------------------------------------------ tidyverse_conflicts() –
x dplyr::filter() masks stats::filter()
x dplyr::lag() masks stats::lag()
x purrr::lift() masks caret::lift()

Attaching package: ‘data.table’

The following object is masked from ‘package:purrr’:
transpose

The following objects are masked from ‘package:dplyr’:
between, first, last

Error in get.knnx(data, query, k, algorithm) : Data include NAs
Calls: SMOTE → knearest → → get.knnx
In addition: Warning message:
In min(n_target) : no non-missing arguments to min; returning Inf
Execution halted
Traceback (most recent call last):
File “/usr/bin/crop-type-wrapper.py”, line 443, in
main()
File “/usr/bin/crop-type-wrapper.py”, line 389, in main
run_command(command)
File “/usr/bin/crop-type-wrapper.py”, line 25, in run_command
“Command {} failed with exit code {}”.format(cmd_line, result)
RuntimeError: Command crop_type.R /mnt/archive/orchestrator_temp/s4c_l4a/5076/183298-product-formatter// /mnt/archive/orchestrator_temp/s4c_l4a/5076/183297-s4c-crop-type/features/sar-features.ipc /mnt/archive/orchestrator_temp/s4c_l4a/5076/183297-s4c-crop-type/features/optical-features.ipc /mnt/archive/orchestrator_temp/s4c_l4a/5076/183297-s4c-crop-type/features/optical-features-re.ipc /mnt/archive/orchestrator_temp/s4c_l4a/5076/183297-s4c-crop-type/features/sar-temporal.ipc /mnt/archive/orchestrator_temp/s4c_l4a/5076/183296-s4c-l4a-extract-parcels/parcels.csv CTnumL4A 1234 Area_meters 3 1 30 10 4000 1333 0.25 0.75 Smote 1000 5 300 10 /mnt/archive/orchestrator_temp/s4c_l4a/5076/183296-s4c-l4a-extract-parcels/lut.csv failed with exit code 1

It was also preceded by many notifications like:

WARNING: In /sen2agri/packaging/Sen2AgriPlatform/build/OTB-5.0/Modules/IO/ImageIO/include/otbImageFileWriter.txx, line 287
ImageFileWriter (0x14f1c050): Streaming configuration through extended filename is used. Any previous streaming configuration (ram value, streaming mode …) will be ignored.

However, they are warnings, so I guess it is not problem.

I would appreciate your help.
Best, Patryk