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

--- Comment #2 from Jon Iles <[email protected]> ---
Thanks for looking Dominik. Here is the output when running the current 4.0.0
version from the GitHub mirror of POI against my problem file:

Caused by: java.lang.RuntimeException: Buffer overrun, having 4492 bytes in the
stream and position is at 4431, but trying to increment position by 92
        at
org.apache.poi.util.LittleEndianByteArrayInputStream.checkPosition(LittleEndianByteArrayInputStream.java:40)
        at
org.apache.poi.util.LittleEndianByteArrayInputStream.readFully(LittleEndianByteArrayInputStream.java:120)
        at org.apache.poi.hpsf.CodePageString.read(CodePageString.java:61)
        at
org.apache.poi.hpsf.TypedPropertyValue.readValue(TypedPropertyValue.java:135)
        at org.apache.poi.hpsf.VariantSupport.read(VariantSupport.java:176)
        at org.apache.poi.hpsf.Property.<init>(Property.java:179)
        at org.apache.poi.hpsf.Section.<init>(Section.java:240)
        at org.apache.poi.hpsf.PropertySet.init(PropertySet.java:492)
        at org.apache.poi.hpsf.PropertySet.<init>(PropertySet.java:195)
        at
net.sf.mpxj.mpp.ProjectPropertiesReader.process(ProjectPropertiesReader.java:118)
        ... 74 more

I'd be very happy to run instrumented code against this file to help you look
at this in more detail.

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