OrthoRectification app (Gui) causes a crash in Monterverdi2 when an unsupported image is set as input image
Mantis Issue 867, reported by bcataldo, assigned to msavinaud, created: 2014-01-23
OrthoRectification app (Gui) causes a crash in Monterverdi2 when an unsupported image is set as input image
Steps to reproduce:
- Launch Monteverdi2
- Select the ortho-rectification app
- Set an input image which not contain metadata for ortho-rectification
-> Monteverdi2 crash
Additional information:
The following error is displayed:
itk::ERROR:ImageToGenericRSOutputParameters : No information in the metadata, please set an image with non empty metadata
2014-04-15 14:02 - msavinaud: still reproduced with pleiades days version the problem is due to an itk:exception launch into a processEvent. After discussion with Stéphane, the problem need probably a modification into OTB application code
2014-04-18 13:51 - msavinaud: The exception is launched during the DoUpdateParameters of the application so it is not correctly catched as in ExecuteAndWriteOutput to avoid problem with Qt
2014-04-28 10:52 - salbert: Console traces:
WARNG> Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.
terminate called after throwing an instance of 'itk::ExceptionObject'
what(): /home/salbert/dev/source/OTB-stable/Code/Projections/otbImageToGenericRSOutputParameters.txx:50:
itk::ERROR: ImageToGenericRSOutputParameters(0x27366a0): No information in the metadata, please set an image with non empty metadata
Aborted
2014-05-12 11:09 - msavinaud: Move to OTB bug list
2014-05-27 13:03 - msavinaud: need to solve #938 (closed) before close it