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

            Bug ID: 58718
           Summary: Master styles not initialized when running
                    multithreaded
           Product: POI
           Version: unspecified
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSLF
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 33337
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=33337&action=edit
One triggering file from govdocs1

While testing rc1 for 3.14-beta1 (running tika in multithreaded batch mode), I
found that we're getting ~7000 of the following exception:

org.apache.poi.hslf.exceptions.HSLFException: Master styles not initialized
    at
org.apache.poi.hslf.usermodel.HSLFSlideMaster.setSlideShow(HSLFSlideMaster.java:144)
    at
org.apache.poi.hslf.usermodel.HSLFSlideShow.buildSlidesAndNotes(HSLFSlideShow.java:362)
    at
org.apache.poi.hslf.usermodel.HSLFSlideShow.<init>(HSLFSlideShow.java:152)
    at
org.apache.poi.hslf.usermodel.HSLFSlideShow.<init>(HSLFSlideShow.java:185)
    at
org.apache.tika.parser.microsoft.HSLFExtractor.parse(HSLFExtractor.java:61)
    at
org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:149)

We were getting roughly this many with 3.13 (it turns out).

I'm not able to reproduce this with the single-threaded Tika-app, and I'm not
able to reproduce this with JUnit running multiple threads again and again on a
handful of triggering files. 

We did not have these exceptions in Tika 1.9 (POI 3.12).  I haven't tested more
recent intermediate versions yet.

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