This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Hi, this topic is old so I guess you fixed your problem but I'll give more info in case it happens to someone else : I had the same error while trying to do the same thing. In my process I had Apache FOP generating a multipage TIFF file, then I split it into single page TIFFs using more or less the same code as you. For some reason FOP sometimes returned a corrupted multipage TIFF, and JAI returned this InvocationTargetException . I advise you to use tools like AsTiffTagViewer to analyze the header of the TIFF files you have in input, you may be able to find some anomalies (as a corrupted TIFF can still be readable in image viewers).