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 2016/11/08 15:55:58 UTC

[Bug 59834] poi-ooxml pom.xml should include dependency on poi-scratchpad

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

--- Comment #9 from Dominik Stadler <do...@gmx.at> ---
BTW, if I exclude TestExtractorFactory in the Jenkins-Job at
https://builds.apache.org/job/POI-no-scratchpad/, it fails in some other tests
with ClassNotFoundException:

java.lang.NoClassDefFoundError: org/apache/poi/hslf/usermodel/HSLFSlideShow
        at org.apache.poi.sl.TestTable.testTextDirection(TestTable.java:108)
Caused by: java.lang.ClassNotFoundException:
org.apache.poi.hslf.usermodel.HSLFSlideShow
        ...
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)


java.lang.RuntimeException: java.io.IOException:
java.lang.ClassNotFoundException:
org.apache.poi.hslf.usermodel.HSLFSlideShowFactory
        at
org.apache.poi.sl.draw.TestDrawPictureShape.openSampleDocument(TestDrawPictureShape.java:49)
        at
org.apache.poi.sl.draw.TestDrawPictureShape.testResize(TestDrawPictureShape.java:59)
Caused by: java.io.IOException: java.lang.ClassNotFoundException:
org.apache.poi.hslf.usermodel.HSLFSlideShowFactory
        at
org.apache.poi.sl.usermodel.SlideShowFactory.createSlideShow(SlideShowFactory.java:262)
        at
org.apache.poi.sl.usermodel.SlideShowFactory.createHSLFSlideShow(SlideShowFactory.java:227)
        at
org.apache.poi.sl.usermodel.SlideShowFactory.create(SlideShowFactory.java:79)
        at
org.apache.poi.sl.usermodel.SlideShowFactory.create(SlideShowFactory.java:143)
        at
org.apache.poi.sl.usermodel.SlideShowFactory.create(SlideShowFactory.java:107)
        at
org.apache.poi.sl.draw.TestDrawPictureShape.openSampleDocument(TestDrawPictureShape.java:47)
Caused by: java.lang.ClassNotFoundException:
org.apache.poi.hslf.usermodel.HSLFSlideShowFactory
        ...
        at
org.apache.poi.sl.usermodel.SlideShowFactory.createSlideShow(SlideShowFactory.java:236)

So there seem to be a few more places where we unconditionally access these
parts, e.g. SlideShowFactory. We should at least throw a better error message
there as well.

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