Error during atmospheric correction using C++ API

Hi everyone,

I am currently testing atmospheric correction using version 8.1.2 OTB.

I’m testing with sample code and sample materials from the otb site.
(AtmosphericCorrectionSequencement.cxx — Orfeo ToolBox 8.1.2 documentation)

The target data was landsat9 data.
I assigned other input values appropriately.

After performing input for “AtmosphericCorrectionParametersType” and input for “AcquisitionCorrectionParametersType”,

An error occurs during “RadiometryCorrectionParametersToRadiativeTermsType::Compute”.

Sysyem: Windows10, Visual Studio 2015
OTB version: 8.1.2

“AtmosphericCorrectionParametersType” and “AcquisitionCorrectionParametersType” are:

AtmosphericCorrectionParameters(00000216C7FA2F90)
Atmospheric pressure: 1000
Water vapor amount: 1.88999998569488525390625
Ozone amount: 352
Aerosol model: 1
Aerosol optical: 0.736000001430511474609375

ImageMetadataCorrectionParameters(00000216C7FA3260)
Solar zenithal angle: 25.479999542236328125
Solar azimuth angle: 131.7400054931640625
Viewing zenithal angle: 0.540000021457672119140625
Viewing azimuth angle: -72.26999664306640625
Month : 1
Day : 1
Year : 0
Filter function values:
Channel 1:
FilterFunctionValues (00000216C55A64D0)
Minimum spectral value: 0.435000002384185791015625
Maximum spectral value: 0.4510000050067901611328125
Wavelength spectral band step: 0.00100000004749745130538940429688
Filter function values:
1.000000000000000000000000000000e+00 1.0000000000000000000000000000000e+00 1.000000000000000000000000000000e+00 1.00000000 0000000000000000000000e+00 1.000000000000000000000000000000e+00 1.000000000000000000000000000000e+00
1.000000000000000000000000000000e+00 1.0000000000000000000000000000000e+00 1.000000000000000000000000000000e+00 1.00000000 0000000000000000000000e+00 1.000000000000000000000000000000e+00 1.000000000000000000000000000000e+00
1.000000000000000000000000000000e+00 1.0000000000000000000000000000000e+00 1.000000000000000000000000000000e+00 1.00000000 0000000000000000000000e+00 1.000000000000000000000000000000e+00

Do you know which part is the problem?

Thanks for helping!