Posted 20 February 2023, 9:06 pm EST
If I fill the RichTextBox with the attached HTML, we got an error.
I use AR 16.3.2
I think, the cause of the problem is the image.
Error:
System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
at System.IO.BinaryReader.ReadByte()
at GrapeCity.ActiveReports.Rendering.Image.ImageHelper.ReadLittleEndianInt32(BinaryReader binaryReader)
at GrapeCity.ActiveReports.Rendering.Image.ImageHelper.DecodePng(BinaryReader binaryReader)
at GrapeCity.ActiveReports.Rendering.Image.ImageHelper.GetDimensions(BinaryReader binaryReader)
at GrapeCity.ActiveReports.Rendering.Image.ImageHelper.GetDimensions(Stream image)
at GrapeCity.ActiveReports.Core.Rendering.I..(SizeF )
at GrapeCity.ActiveReports.Core.Rendering.I..( , , IEnumerator )
at GrapeCity.ActiveReports.Core.Rendering.I..( , , IEnumerator )
at GrapeCity.ActiveReports.Core.Rendering.I..LayoutInline( flow)
at GrapeCity.ActiveReports.Core.Rendering.I..(SizeF )
at GrapeCity.ActiveReports.Core.Rendering.I..LayoutBlock( flow)
at GrapeCity.ActiveReports.Core.Rendering.I..(SizeF )
at GrapeCity.ActiveReports.Core.Rendering.I..Measure(SizeF maxSize)
at GrapeCity.ActiveReports.SectionReportModel.RichTextBox.GrapeCity.ActiveReports.Controls.IControlInternal.FlexSize(SizeF& size)
at GrapeCity.ActiveReports.Internal..ProcessFlexSize(Int32 sectionIndex)
at GrapeCity.ActiveReports.Internal..FormatSection(Section section)
at GrapeCity.ActiveReports.Internal..PreProcessSectionPhase3(Section section, SectionType sectType)
at GrapeCity.ActiveReports.Internal..ProcessSectionPhase3(Section section, Boolean& groupFootersDone, Boolean& readyForFinalChecks)
at GrapeCity.ActiveReports.Internal..ProcessPhase3(Boolean& groupFootersDone, Boolean& readyForFinalChecks)
at GrapeCity.ActiveReports.Internal..ProcessPageTillFull()
at GrapeCity.ActiveReports.Internal..GrapeCity.ActiveReports.Layout.IExecReport.RenderPage(Page newPage, Single left, Single top, Single right, Single bottom, ExecMode flags, ExecStatus& status)
at GrapeCity.ActiveReports.SectionReport.ProcessPage()
at GrapeCity.ActiveReports.SectionReport.RunImpl(Boolean syncDocument)
at Liebherr.Cscc.Lios.PdfGenerator.Reports.Services.ReportService.GetTicket(TicketProp ticketProp) in C:\repos\LiOS\LiOS-Report\Liebherr.Cscc.Lios.PdfGenerator\Liebherr.Cscc.Lios.PdfGenerator.Reports\Services\ReportService.cs:line 42
error.zip
Best regards,
Alexander