Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Rows are missing when BIRT generating pdf with xml file as data source
Rows are missing when BIRT generating pdf with xml file as data source [message #1091341] Wed, 21 August 2013 11:24 Go to next message
Andy Wu is currently offline Andy WuFriend
Messages: 3
Registered: August 2013
Junior Member
There is an xml file which contains 1 million rows of data. when we use it as the data source of BIRT to generate pdf from a template. Some rows are missing. it won't always happen. maybe five times it happens again.
anyone can help? many thanks.
Re: Rows are missing when BIRT generating pdf with xml file as data source [message #1091899 is a reply to message #1091341] Thu, 22 August 2013 04:54 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

Is it only with a file that large? Any way you can reproduce it in a way I can see the issue?

Michael

Developer Evangelist, Silanis
Re: Rows are missing when BIRT generating pdf with xml file as data source [message #1091907 is a reply to message #1091899] Thu, 22 August 2013 05:09 Go to previous messageGo to next message
Andy Wu is currently offline Andy WuFriend
Messages: 3
Registered: August 2013
Junior Member
http method which response the 1 million rows as stream. with such method as data source of template, it can reproduce this issue too.
Re: Rows are missing when BIRT generating pdf with xml file as data source [message #1092005 is a reply to message #1091899] Thu, 22 August 2013 07:43 Go to previous messageGo to next message
Andrey Malkov is currently offline Andrey MalkovFriend
Messages: 2
Registered: August 2013
Junior Member
Hi Michael!
We can provide our xml and rptdesing files - and I think you will be able to reproduce the issue. But it might take time, because sometimes the issue is gone. For example yesterday I generated 5 pdf files and only two of them are corrupted.
I have a guess that an exception is happened (for example memory allocation failed), but definitely pdf generation is continue (usually missed rows are in the middle of a document). So BIRT handles the exception and I think a message about it should be in a log file. Is it possible to force BIRT to write log file if we run it via command line?
genReport.bat -f PDF --parameter "sourcePath=c:\XMLSource1.xml" -o c:\export_200.pdf -F c:\webapps_report.rptdesign
Re: Rows are missing when BIRT generating pdf with xml file as data source [message #1092008 is a reply to message #1091899] Thu, 22 August 2013 07:47 Go to previous messageGo to next message
Andrey Malkov is currently offline Andrey MalkovFriend
Messages: 2
Registered: August 2013
Junior Member
Yes, we are able to reproduce it on large xml file - 1000000 rows. And usually missed records have numbers about 800000 - 900000. But couple times I saw missed records about 60000 and 150000.
Re: Rows are missing when BIRT generating pdf with xml file as data source [message #1092678 is a reply to message #1092008] Fri, 23 August 2013 04:43 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

Any way you can email me the XML and design files to mwilliams.actuate at gmail? I'll take a look at it. Thanks!

Michael

Developer Evangelist, Silanis
Re: Rows are missing when BIRT generating pdf with xml file as data source [message #1092877 is a reply to message #1092678] Fri, 23 August 2013 09:23 Go to previous messageGo to next message
Andy Wu is currently offline Andy WuFriend
Messages: 3
Registered: August 2013
Junior Member
Hi Michael, please check the attachment, it contains the xml source and the template. Thanks.
  • Attachment: sample.7z
    (Size: 493.98KB, Downloaded 158 times)
Re: Rows are missing when BIRT generating pdf with xml file as data source [message #1094000 is a reply to message #1092877] Sun, 25 August 2013 01:40 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

It's possible that this issue is fixed in 4.3. The first time I ran it in 4.3, it worked. All 1000000 rows showed up. I'll run it again and report back.

Michael

Developer Evangelist, Silanis
Re: Rows are missing when BIRT generating pdf with xml file as data source [message #1094003 is a reply to message #1094000] Sun, 25 August 2013 01:44 Go to previous message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

Scratch that. 97 rows short the second time. Please log a bug for this in the bugzilla.

Michael

Developer Evangelist, Silanis
Previous Topic:How to deploy the BIRT runtime into a Karaf OSGi container
Next Topic:BIRT report designer 3.7.2 - visibility tab not working
Goto Forum:
  


Current Time: Fri Mar 29 14:35:04 GMT 2024

Powered by FUDForum. Page generated in 5.60943 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top