I have a .rpt file. I want to read it programatically in java and save it in pdf file. I followed the solution multithread pdf conversion My source code provided below After running my code I am unable to read the .rpt file and my pdf file becomes empty. Please help me out. Answer Finally I get a solution using