• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

PDF file damaged...

Ranch Hand
Posts: 333
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using iText to generate a multiple-page PDF file. Now when I execute my program, sometimes the PDF file is generated correctly, but at times I get the following error: "The PDF file is damaged and could not be repaired", when I try to display the file on the browser. If I try to launch it myself from Windows Explorer, it opens up often, but this is also not happening all the time.
I am not able to figure out the exact source of this error.
Any pointers in this direction would be appreciated.

    Bookmark Topic Watch Topic
  • New Topic