You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2018/11/25 19:16:25 UTC

[Bug 62949] New: SlideShow rendering - keyframe fractions must be increasing

https://bz.apache.org/bugzilla/show_bug.cgi?id=62949

            Bug ID: 62949
           Summary: SlideShow rendering - keyframe fractions must be
                    increasing
           Product: POI
           Version: 4.0.x-dev
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: SL Common
          Assignee: dev@poi.apache.org
          Reporter: kiwiwings@apache.org
  Target Milestone: ---

Created attachment 36276
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36276&action=edit
PPT with several 0.0 fraction values

The following exception occurs while the common crawl integration tests,
because the input files contain multiple same fractions for gradient colors.


java.lang.IllegalArgumentException: Keyframe fractions must be increasing: *
        at java.awt.MultipleGradientPaint.(MultipleGradientPaint.java:184)
        at java.awt.LinearGradientPaint.(LinearGradientPaint.java:286)
        at java.awt.LinearGradientPaint.(LinearGradientPaint.java:244)
        at java.awt.LinearGradientPaint.(LinearGradientPaint.java:211)
        at
o.a.p.sl.draw.DrawPaint.createLinearGradientPaint(DrawPaint.java:434)
        at o.a.p.sl.draw.DrawPaint.getGradientPaint(DrawPaint.java:232)
        at o.a.p.sl.draw.DrawPaint.getPaint(DrawPaint.java:147)
        at o.a.p.sl.draw.DrawPaint.getPaint(DrawPaint.java:137)
        at o.a.p.sl.draw.DrawBackground.draw(DrawBackground.java:56)
        at o.a.p.sl.draw.DrawSlide.draw(DrawSlide.java:38)
        at o.a.p.xslf.usermodel.XSLFSlide.draw(XSLFSlide.java:373)
        at
o.a.p.stress.SlideShowHandler.renderSlides(SlideShowHandler.java:117)
        at
o.a.p.stress.SlideShowHandler.handleSlideShow(SlideShowHandler.java:43)
        at o.a.p.stress.XSLFFileHandler.handleFile(XSLFFileHandler.java:43)
        at
o.a.p.BaseIntegrationTest.handleWrongExtension(BaseIntegrationTest.java:125)
        at
org.dstadler.commoncrawl.FileHandlingRunnable.run(FileHandlingRunnable.java:64)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 62949] SlideShow rendering - keyframe fractions must be increasing

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62949

Andreas Beeker <ki...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Andreas Beeker <ki...@apache.org> ---
Fixed via r1847428

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org