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

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from bugzilla@apache.org
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: [hidden email]
          Reporter: [hidden email]
  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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

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

Andreas Beeker <[hidden email]> changed:

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

--- Comment #1 from Andreas Beeker <[hidden email]> ---
Fixed via r1847428

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]