pdf Report Creator seem to crash if testsuite only has a setup and no testcases/smartfolders

Bug reports.
semate
Posts: 19
Joined: Tue Jul 03, 2018 7:42 am

pdf Report Creator seem to crash if testsuite only has a setup and no testcases/smartfolders

Post by semate » Thu Feb 06, 2020 2:30 pm

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at PdfSharp.Charting.Renderers.PieChartRenderer.InitSeries(ChartRendererInfo rendererInfo)
at PdfSharp.Charting.Renderers.PieChartRenderer.Init()
at PdfSharp.Charting.ChartFrame.DrawChart(XGraphics gfx)
at MigraDoc.Rendering.ChartRenderer.RenderPlotArea(PlotArea area, Rectangle rect)
at MigraDoc.Rendering.ChartRenderer.Render()
at MigraDoc.Rendering.Renderer.RenderByInfos(XUnit xShift, XUnit yShift, RenderInfo[] renderInfos)
at MigraDoc.Rendering.TableRenderer.RenderContent(Cell cell, Rectangle innerRect)
at MigraDoc.Rendering.TableRenderer.RenderCell(Cell cell)
at MigraDoc.Rendering.TableRenderer.Render()
at MigraDoc.Rendering.DocumentRenderer.RenderPage(XGraphics gfx, Int32 page, PageRenderOptions options)
at MigraDoc.Rendering.DocumentRenderer.RenderPage(XGraphics gfx, Int32 page)
at MigraDoc.Rendering.PdfDocumentRenderer.RenderPages(Int32 startPage, Int32 endPage)
at MigraDoc.Rendering.PdfDocumentRenderer.RenderDocument()
at Ranorex.PDF.PDFCreator.Save(String PDFPath)
at Ranorex.PDF.Program.Main(String[] args)

User avatar
RobinHood42
Posts: 321
Joined: Fri Jan 09, 2015 3:24 pm

Re: pdf Report Creator seem to crash if testsuite only has a setup and no testcases/smartfolders

Post by RobinHood42 » Fri Feb 07, 2020 9:06 am

Hi,

Why would I wan't to have just a "SETUP" within my TestSuite? If there is really not more to be handled within your TestSuite, simply create a TestCase and call it "SETUP".

Cheers,
Robin