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

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #7 from [email protected] ---
Created attachment 32099
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=32099&action=edit
Small Word document

We are seeing the same issue. 
Attached a small Word file that should allow you to replicate the issue. 

The following bit of Scala code will throw the exception

import java.io.FileInputStream
import org.apache.poi.hwpf.HWPFDocument

val fos = new FileInputStream("test.doc")
val h = new HWPFDocument(fos)


java.lang.UnsupportedOperationException: Non-extended character Pascal strings
are not supported right now. Please, contact POI developers for update.
    at
org.apache.poi.hwpf.model.Sttb.fillFields(POI.sc2189530460748253791.tmp:77)
    at org.apache.poi.hwpf.model.Sttb.<init>(POI.sc2189530460748253791.tmp:56)
    at
org.apache.poi.hwpf.model.SttbUtils.readSttbfRMark(POI.sc2189530460748253791.tmp:42)
    at
org.apache.poi.hwpf.model.RevisionMarkAuthorTable.<init>(POI.sc2189530460748253791.tmp:47)
    at
org.apache.poi.hwpf.HWPFDocument.<init>(POI.sc2189530460748253791.tmp:364)
    at
org.apache.poi.hwpf.HWPFDocument.<init>(POI.sc2189530460748253791.tmp:182)
    at
org.apache.poi.hwpf.HWPFDocument.<init>(POI.sc2189530460748253791.tmp:170)
    at #worksheet#.h$lzycompute(POI.sc2189530460748253791.tmp:5)
    at #worksheet#.h(POI.sc2189530460748253791.tmp:5)
    at #worksheet#.#worksheet#(POI.sc2189530460748253791.tmp:5)

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