MajaFactoryException : No factory to handle
I am currently using MAJA 4.5.3 (installed from binary) to process historical L1C products (from year 2015 onwards) and I quite regularly run into the following problem
2022-02-23 01:37:27,191 [INFO ] =============This is Start_Maja v4.4.0==============
2022-02-23 01:37:27,205 [WARNI] repCAMS is missing. Processing without CAMS
2022-02-23 01:37:27,247 [INFO ] Detecting input products...
2022-02-23 01:37:27,271 [INFO ] 8 L1C product(s) detected for tile 32UMU in /mnt/vol/input/L1C-Products/32UMU
2022-02-23 01:37:27,271 [WARNI] No L2A products detected for tile 32UMU in /mnt/vol/input/L2A-Products/32UMU
2022-02-23 01:37:27,271 [INFO ] Skipping CAMS file detection.
2022-02-23 01:37:27,271 [INFO ] Checking GIPP files
2022-02-23 01:37:27,271 [INFO ] Setting up GIPP folder: /maja/lib/python/StartMaja/start_maja_gipp
2022-02-23 01:37:27,272 [INFO ] Cannot find GIPP for SENTINEL2_NATIF. Will attempt to download it.
2022-02-23 01:37:27,272 [INFO ] Searching for DTM
2022-02-23 01:37:27,273 [INFO ] Cannot find DTM. Will attempt to download it for type 'srtm'
2022-02-23 01:37:27,273 [INFO ] Attempting to download DTM...
2022-02-23 01:38:38,867 [INFO ] DTM Creation succeeded.
2022-02-23 01:38:38,868 [INFO ] Attempting to download Gipp for SENTINEL2_NATIF
2022-02-23 01:38:42,737 [INFO ] GIPP Creation succeeded for SENTINEL2_NATIF
2022-02-23 01:38:42,739 [INFO ] 8 workplan(s) successfully created:
DATE | TILE | MODE | L1-PRODUCT | ADDITIONAL INFO
2015-11-17 10:33:12 | 32UMU | BACKWARD | S2A_MSIL1C_20151117T103312_N0204_R108_T32UMU_20151117T103313.SAFE | Backward of 8 products
2015-11-24 10:23:42 | 32UMU | NOMINAL | S2A_MSIL1C_20151124T102342_N0204_R065_T32UMU_20151124T102339.SAFE | L2 from previous
2015-11-27 10:33:52 | 32UMU | NOMINAL | S2A_MSIL1C_20151127T103352_N0204_R108_T32UMU_20151127T103440.SAFE | L2 from previous
2015-12-07 10:34:22 | 32UMU | NOMINAL | S2A_MSIL1C_20151207T103422_N0204_R108_T32UMU_20151207T103422.SAFE | L2 from previous
2015-12-07 10:34:22 | 32UMU | NOMINAL | S2A_MSIL1C_20151207T103422_N0204_R108_T32UMU_20151207T103726.SAFE | L2 from previous
2015-12-17 10:34:42 | 32UMU | NOMINAL | S2A_MSIL1C_20151217T103442_N0201_R108_T32UMU_20151217T103436.SAFE | L2 from previous
2015-12-24 10:24:32 | 32UMU | NOMINAL | S2A_MSIL1C_20151224T102432_N0201_R065_T32UMU_20151224T102435.SAFE | L2 from previous
2015-12-27 10:34:42 | 32UMU | NOMINAL | S2A_MSIL1C_20151227T103442_N0201_R108_T32UMU_20151227T103703.SAFE | L2 from previous
2022-02-23 01:38:42,739 [INFO ] Beginning workplan execution.
2022-02-23 01:38:42,740 [INFO ] Executing workplan #1/8
2022-02-23 01:38:43 [96] PROGRESS MAJA 4.5 initialize:489 Starting MAJA_L2_BACKWARD_CHAIN
2022-02-23 01:38:44 [96] ERROR MAJA 4.5 get_only_value:121 No result found for //Spectral_Information_List/Spectral_Information[@bandId='0']/Wavelength/MIN in the given dom.
2022-02-23 01:38:44 [96] ERROR MAJA 4.5 main:98 MajaFactoryException : No factory to handle /mnt/vol/tmp/Start_maja_6c54a38f7d9a6f0321b9af081853b89c/S2A_MSIL1C_20151224T102432_N020
1_R065_T32UMU_20151224T102435.SAFE/MTD_MSIL1C.xml
2022-02-23 01:38:44 [96] ERROR MAJA 4.5 main:101 Process NOK, exit code : 136
The same issue happens in nominal mode as well - I can provide many more examples if needed. I also attach the xml file mentioned in the snippet:MTD_MSIL1C.xml. I would like to know if the issue may be that MAJA does not support L1C products with older baselines (say lower than 2.05) or are my input products faulty in some way?
EDIT: I have just compared my product to the data inside manifest.safe file and it seems to be complete (I compared file list, file size and md5 hashes). It seems to be in a format that MAJA cannot handle.
Edited by BJaroszkowski