We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Error during saving of a line chart

The following error is occurring during saving of a presentation with a single line chart. Note that none of these console comments are generated by my code. Unfortunately I am unable to post the exact data as it is confidential. So far I have not been able to reproduce it with similar charts/data, but I will try again tomorrow.


The chart had two lines very close together. I think that may be a factor.

Still inside at end of active edge list!
num curves = 5
num links = 3
y top = 59.99481201171875
no more curves
Edge[Curve[3, (322.71429443359375, 59.99481201171875), (321.71429443359375, 60.66147994995117), (321.71429443359375, 61.328147888183594), (322.71429443359375, 61.99481201171875), D], L, I]
Edge[Curve[1, (322.71429443359375, 61.99481201171875), (322.71429443359375, 59.99481201171875), U], L, O]
was equal to 1…
Edge[Curve[1, (322.71429443359375, 61.99481201171875), (322.71429443359375, 59.99481201171875), U], L, N]
was equal to 1…
Edge[Curve[1, (322.71429443359375, 61.99481201171875), (322.71429443359375, 59.99481201171875), U], L, N]
was equal to 1…
Edge[Curve[3, (327.71429443359375, 59.99481201171875), (328.71429443359375, 60.66147994995117), (328.71429443359375, 61.328147888183594), (327.71429443359375, 61.99481201171875), D], L, I]
Exception in thread “main” java.lang.InternalError: Odd number of new curves!
at sun.awt.geom.AreaOp.resolveLinks(AreaOp.java:450)
at sun.awt.geom.AreaOp.pruneEdges(AreaOp.java:392)
at sun.awt.geom.AreaOp.calculate(AreaOp.java:159)
at java.awt.geom.Area.pathToCurves(Area.java:195)
at java.awt.geom.Area.(Area.java:126)
at com.aspose.slides.pa5e0ff62.pf4dd765c.pa5e0ff62.pa5e0ff62.a.createStrokedShape(Unknown Source)
at sun.java2d.pipe.AAShapePipe.draw(AAShapePipe.java:60)
at sun.java2d.pipe.PixelToParallelogramConverter.draw(PixelToParallelogramConverter.java:148)
at sun.java2d.pipe.ValidatePipe.draw(ValidatePipe.java:154)
at sun.java2d.SunGraphics2D.draw(SunGraphics2D.java:2436)
at com.aspose.slides.pa5e0ff62.pbdb106a0.p6a2feef8.ab.do(Unknown Source)
at com.aspose.slides.pa5e0ff62.pbdb106a0.p6a2feef8.ab.if(Unknown Source)
at com.aspose.slides.pa5e0ff62.pbdb106a0.p6a2feef8.ab.do(Unknown Source)
at com.aspose.slides.pa5e0ff62.pbdb106a0.p6a2feef8.ab.do(Unknown Source)
at com.aspose.slides.ahm.do(Unknown Source)
at com.aspose.slides.iw.do(Unknown Source)
at com.aspose.slides.iw.do(Unknown Source)
at com.aspose.slides.iw.do(Unknown Source)
at com.aspose.slides.iw.do(Unknown Source)
at com.aspose.slides.fs.do(Unknown Source)
at com.aspose.slides.hs.e(Unknown Source)
at com.aspose.slides.ahl.if(Unknown Source)
at com.aspose.slides.Chart.if(Unknown Source)
at com.aspose.slides.Chart.do(Unknown Source)
at com.aspose.slides.GroupShape.do(Unknown Source)
at com.aspose.slides.Slide.do(Unknown Source)
at com.aspose.slides.Slide.do(Unknown Source)
at com.aspose.slides.Slide.getThumbnail(Unknown Source)
at com.aspose.slides.ath.try(Unknown Source)
at com.aspose.slides.ath.do(Unknown Source)
at com.aspose.slides.Presentation.do(Unknown Source)
at com.aspose.slides.Presentation.do(Unknown Source)
at com.aspose.slides.Presentation.save(Unknown Source)

Hi Shaun,


I suggest you to please try using Aspose.Slides for Java 14.9.0 on your end. If there is still an issue then we need the presentation that is causing issue on your end. You can even send presentation privately with us by following these guidelines. We will be able to help you further in this regard on provision of requested information. Please also notify us here in this thread if you opt to share the presentation privately with us.

Many Thanks,

I am using 14.9.0. There is no source presentation to share as the chart is created entirely in memory, and I can’t provide you with the output as the error above occurs during saving.


Can you log a case in your system from just the stack trace?

Hi Shaun,


I have observed the comments shared by you and request you to please share the workable sample java code that I may use on my end to reproduce the issue and help you further in this regard.

Many Thanks,