Crash when trying to Apply same parameters (dynamic, effects, color map...) on images with different number of bands
Mantis Issue 1100, reported by mgrizonnet, assigned to salbert, created: 2015-11-03
Apply same parameters (apply button on top of the layer stack) to images with different number of bands (in my case 1 and 3) leads to a core dump.
It should be blocked or bypassed.
Exception:
terminate called after throwing an instance of 'itk::ExceptionObject' what(): /home/grizonnetm/projets/otb/src/OTB/Modules/Core/ObjectList/include/otbObjectList.txx:158: itk::ERROR: ObjectList(0x7f4704ede7c0): Impossible to GetNthElement with the index element 1; this element don't exist, the size of the list is 1. Abandon (core dumped
1446742347 - salberthttps://git.orfeo-toolbox.org/monteverdi2.git/commit/46b22c078f6e8cc5e045c90a2785e4b0e7cfd58c