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

Free Support Forum - aspose.com

getThumbnail exceptions in aspose.slides

when executing a getThumbnail() off the slide (and multiple others) contained in the attached ppt the following exception is thrown:

Still inside at end of active edge list!
num curves = 1
num links = 1
y top = 1956.0
y top of next curve = 1959.0
Edge[Curve[1, (1964.0, 1956.0), (1964.0, 1959.0), D], L, I]
Exception in thread “main” java.lang.InternalError: Odd number of new curves!
at sun.awt.geom.AreaOp.resolveLinks(AreaOp.java:432)
at sun.awt.geom.AreaOp.pruneEdges(AreaOp.java:374)
at sun.awt.geom.AreaOp.calculate(AreaOp.java:141)
at java.awt.geom.Area.pathToCurves(Area.java:177)
at java.awt.geom.Area.(Area.java:108)
at com.aspose.slides.CustomCapStroke.createStrokedShape(SourceFile:103)
at sun.java2d.pipe.DuctusShapeRenderer.draw(DuctusShapeRenderer.java:42)
at sun.java2d.pipe.PixelToParallelogramConverter.draw(PixelToParallelogramConverter.java:130)
at sun.java2d.pipe.ValidatePipe.draw(ValidatePipe.java:136)
at sun.java2d.SunGraphics2D.draw(SunGraphics2D.java:2336)
at com.aspose.slides.AutoShape.do(SourceFile:453)
at com.aspose.slides.Slide.getThumbnail(SourceFile:1311)
at com.aspose.slides.Slide.getThumbnail(SourceFile:1123)
at com.altuscorp.tests.PPTest.main(PPTest.java:68)

Some of this is to stderr and some to stdout.

Code in question:

any idea as to what is going on here?


We are working on this issue. The most interesting is slide rendered almost fine on jre 1.4 but throws exception on jre 6.0.

very odd - when i was doing some digging it looked like it might have been an underlying awt or java2d issue. unfortunately we need java 1.6 for a number of reasons :frowning:

Fix for this issue will be available tomorrow.


You can download new version of Aspose.Slides for Java here.

The issues you have found earlier (filed as 10975) have been fixed in this update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.