@rbhoriwal, @nitinupasani
We have tested the scenario in our environment using your both files i.e. TIFF image and the PDF.
We were able to notice this exception while processing the TIFF image. Therefore, an issue as OCRJAVA-265 has been generated in our issue tracking system for further investigation.
Whereas, while recognizing your scanned PDF document, we noticed that the API generated a PDF with black image as output. This issue has been logged as OCRJAVA-266 in our issue tracking system.
We will look into details of the logged tickets and let you know as soon as they are resolved. Please be patient and spare us some time.
We are sorry for the inconvenience.