Leading or Trailing Line Breaks Cause Error

Leading or Trailing Line Breaks Cause Error

Forum member · Feb 5, 2008
Whenever I have a report with a leading or trailing line break (to separate reports to different pages), it generates an 'System.NullReferenceException' in the cete DynamicPDF DLL and the final page of the report is not generated. If I JUST TAKE OUT the line break, there is no error generated. I need to get this fixed asap. What should I do?

Re: Leading or Trailing Line Breaks Cause Error

Forum member · Feb 5, 2008
CLARIFICATION: If you BEGIN OR END a report with a line break, the error is caused. Sorry for the confusion, if any.

Re: Leading or Trailing Line Breaks Cause Error

Support · Feb 5, 2008
Hello, Please make sure that you have the latest build of our product, you can download the latest build from our CustomerArea by logging in using your serial number. In order to break the report you can also use the PageBreak report element. Please send over the dplx file you are using to our [^a|mailto:support@cete.com|Support Team^] so that they can take a look at it to find out what is causing this error. Thanks, ceTe Software Support Team.

Re: Leading or Trailing Line Breaks Cause Error

Forum member · Feb 5, 2008
Sorry, I meant to say PAGE BREAK instead of LINE BREAK. I will try the latest version of the software and report back. Thank you.

Re: Leading or Trailing Line Breaks Cause Error

Forum member · Feb 5, 2008
I just downloaded and installed the latest version of DynamicPDF Suite (build 80102) and the problem was NOT FIXED. To review again, if you BEGIN or END a report with a PAGE BREAK, there is a NullReferenceException generated. Remove the PAGE BREAK and the error disappears. Thanks.

Re: Leading or Trailing Line Breaks Cause Error

Forum member · Jun 6, 2008
Is it possible to have a page break in a subreport? I am using multiple nested sub reports to acheive grouping in the report, but I want the top level group (the first sub report) to have a page break before starting the new group. I get an error saying that page breaks are not allowed in subreports.

Re: Leading or Trailing Line Breaks Cause Error

Support · Jun 6, 2008
Hello, It is not possible to add a PageBreak element in a sub report. We will add this feature to our wish list and we may add this in a future release but currently nothing is planned. Thanks, ceTe Software Support Team.