• 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 ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tapestry / JasperReports App truncating RTF Output!

 
Bartender
Posts: 1971
17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I have a simple Tapestry application that is (using JasperReports RTF) truncating the output of a large (~10 MB) RTF file.

Some of the RTF file is correct in Word, but after about page 1,400, I have a hundred or so blank pages (where the PDF equivalent still has correct data).

I'm using code with JasperReports like this to create the outputstream:



Again, the PDF version of this code works fine.

And, this code works OK for RTF if the file size is smaller.

So, I'm a bit unsure what the actual problem is.

The size of the byte array is < MAXINT so I'm OK there. I thought there might be some type of overflow issue.

I'm wondering if this could also be a word-memory issue?

Any suggestions would greatly (!!!) be appreciated.

Thanks.

-mike
 
reply
    Bookmark Topic Watch Topic
  • New Topic