[Bug 60427] New: Creating pictures in PowerPoint slides requires scratchpad-jar for adding WMF images

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

[Bug 60427] New: Creating pictures in PowerPoint slides requires scratchpad-jar for adding WMF images

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

            Bug ID: 60427
           Summary: Creating pictures in PowerPoint slides requires
                    scratchpad-jar for adding WMF images
           Product: POI
           Version: 3.16-dev
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: XSLF
          Assignee: [hidden email]
          Reporter: [hidden email]
  Target Milestone: ---

The Jenkins CI job which tries to run ooxml-tests without scratchpad currently
fails at the following test, this indicates that currently Scratchpad is
required for handling WMF pictures. See
https://builds.apache.org/job/POI-no-scratchpad/lastFailedBuild/testReport/org.apache.poi.xslf/TestXSLFBugs/bug59434/
for details

Should we move these classes to main to not have this discouraged dependency
from ooxml to scatchpad?


Error Message

org/apache/poi/hslf/blip/WMF$NativeHeader

Stacktrace

java.lang.NoClassDefFoundError: org/apache/poi/hslf/blip/WMF$NativeHeader
        at
org.apache.poi.xslf.usermodel.XSLFPictureData.cacheProperties(XSLFPictureData.java:179)
        at
org.apache.poi.xslf.usermodel.XSLFPictureData.getImageDimension(XSLFPictureData.java:145)
        at
org.apache.poi.sl.draw.DrawPictureShape.resize(DrawPictureShape.java:100)
        at
org.apache.poi.xslf.usermodel.XSLFSheet.createPicture(XSLFSheet.java:238)
        at org.apache.poi.xslf.TestXSLFBugs.bug59434(TestXSLFBugs.java:466)
Caused by: java.lang.ClassNotFoundException:
org.apache.poi.hslf.blip.WMF$NativeHeader
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

--
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 60427] Creating pictures in PowerPoint slides requires scratchpad-jar for adding WMF images

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

--- Comment #1 from Andreas Beeker <[hidden email]> ---
I've already started yesterday to split them.
The solution for *slf is finished, i.e. I've created ImageHeader* classes in
the main jar, but there are other OOXML->scratchpad issues to solve.

--
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 60427] Creating pictures in PowerPoint slides requires scratchpad-jar for adding WMF images

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=60427

--- Comment #2 from Dominik Stadler <[hidden email]> ---
Yes, thanks, I  just go one issue after the other to finally remove this
dependency.

A few unit tests related to text-extraction are ignored right now as they
include files for scratchpad-related formats, we`ll see if there are other
problems after this one.

--
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 60427] Creating pictures in PowerPoint slides requires scratchpad-jar for adding WMF images

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=60427

--- Comment #3 from Andreas Beeker <[hidden email]> ---
first issues patched via r1771812

to be continued ...

--
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 60427] Creating pictures in PowerPoint slides requires scratchpad-jar for adding WMF images

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=60427

Andreas Beeker <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |62355


Referenced Bugs:

https://bz.apache.org/bugzilla/show_bug.cgi?id=62355
[Bug 62355] Unsplit packages to conform Jigsaw (Java 9) module standard
--
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 60427] Creating pictures in PowerPoint slides requires scratchpad-jar for adding WMF images

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=60427
Bug 60427 depends on bug 62355, which changed state.

Bug 62355 Summary: Unsplit packages to conform Jigsaw (Java 9) module standard
https://bz.apache.org/bugzilla/show_bug.cgi?id=62355

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

--
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 60427] Creating pictures in PowerPoint slides requires scratchpad-jar for adding WMF images

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=60427

Dominik Stadler <[hidden email]> changed:

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

--- Comment #4 from Dominik Stadler <[hidden email]> ---
The build-job
https://builds.apache.org/view/P/view/POI/job/POI-DSL-no-scratchpad/ now
continuously ensures that no new unexpected dependency to scratchpad is added,
there are a few unit-tests which are excluded for now on purpose.

We can create new bug-issues for any issue that pops up here in the future.

--
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]