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 2018/11/12 10:00:53 UTC

[Bug 62717] Content type of parts could not always be saved

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

--- Comment #3 from pouponbe@fr.ibm.com ---
Exception in thread "main"
org.apache.poi.openxml4j.exceptions.InvalidFormatException: The part
/dummy/text.properties does not have any content type ! Rule: Package require
content types when retrieving a part from a package. [M.1.14]
        at
org.apache.poi.openxml4j.opc.ZipPackage$EntryTriple.register(ZipPackage.java:325)
        at
org.apache.poi.openxml4j.opc.ZipPackage.getPartsImpl(ZipPackage.java:293)
        at
org.apache.poi.openxml4j.opc.OPCPackage.getParts(OPCPackage.java:725)
        at org.apache.poi.openxml4j.opc.OPCPackage.open(OPCPackage.java:238)
        at org.apache.poi.openxml4j.opc.OPCPackage.open(OPCPackage.java:167)
        at
org.apache.poi.openxml4j.opc.OPCPackage.openOrCreate(OPCPackage.java:322)
        at test.Main.main(Main.java:59)

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