https://issues.apache.org/bugzilla/show_bug.cgi?id=54407

Georgi Sokolov <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                URL|                            |http://projects.liquidsoft.
                   |                            |eu/FlexiaJava.zip
         Resolution|WONTFIX                     |---

--- Comment #4 from Georgi Sokolov <[email protected]> ---
Since because of the file limitations, I have uploaded the original code + the
test files here:

http://projects.liquidsoft.eu/FlexiaJava.zip

Here is my use case:

java -jar dist\FlexiaJava.jar out.pptx 10steps.pptx 3

java -jar dist\FlexiaJava.jar out.pptx 10steps.pptx 5

java -jar dist\FlexiaJava.jar out.pptx 10steps.pptx 2

java -jar dist\FlexiaJava.jar out.pptx dash.pptx 3

Strangly the first time importing from the other file works fine(although not
producing the correct output).

Then we try to add another slide from the second presentation.

java -jar dist\FlexiaJava.jar out.pptx dash.pptx 5

And it crashes:

Exception in thread "main"
org.apache.xmlbeans.impl.values.XmlValueDisconnectedException
        at
org.apache.xmlbeans.impl.values.XmlObjectBase.check_orphaned(XmlObjectBase.java:1213)
        at
org.openxmlformats.schemas.drawingml.x2006.main.impl.CTShapePropertiesImpl.isSetNoFill(Unknown
Source)
        at
org.apache.poi.xslf.usermodel.RenderableShape$4.fetch(RenderableShape.java:352)
        at
org.apache.poi.xslf.usermodel.XSLFSimpleShape.fetchShapeProperty(XSLFSimpleShape.java:602)
        at
org.apache.poi.xslf.usermodel.RenderableShape.getFillPaint(RenderableShape.java:364)
        at
org.apache.poi.xslf.usermodel.XSLFSimpleShape.getFillColor(XSLFSimpleShape.java:490)
        at
org.apache.poi.xslf.usermodel.XSLFSimpleShape.copy(XSLFSimpleShape.java:649)

        at
org.apache.poi.xslf.usermodel.XSLFTextShape.copy(XSLFTextShape.java:561)
        at
org.apache.poi.xslf.usermodel.XSLFSheet.importContent(XSLFSheet.java:310)
        at
org.apache.poi.xslf.usermodel.XSLFSlide.importContent(XSLFSlide.java:226)
        at flexiajava.FlexiaJava.main(FlexiaJava.java:73)

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to