As per your advice, i modified that code. No error found but my problem not solved. I opened the extracted output pdf file and then without any modification i closed it. It shows the Acrobat dialog window "Do you want to save changes to "my1.pdf" before closing?". Could you please help me.