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

            Bug ID: 63188
           Summary: Specific microsoft excel file(.xlsx) getting corrupted
                    while manipulated using apache-poi-3.10 libraries
           Product: POI
           Version: unspecified
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: POI Overall
          Assignee: dev@poi.apache.org
          Reporter: s...@opentext.com
  Target Milestone: ---

Specific microsoft excel files(.xlsx) getting corrupted while manipulated using
apache-poi-3.10 libraries. Could you please let us know the root cause of this
issue ? 

We have found a workaround for this, where in we are upgrading poi libraries to
higher version(3.15). And the issue is getting resolved and we are able to open
the excel file successfully.

However, on upgrading to 3.15, some other specific excel files are not getting
imported/manipulated itself. POI is throwing certain exceptions. I am
mentioning the stacktrace below.

java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[na:1.8.0_131]
        at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
[tomcat-util.jar:8.0.36]
        at java.lang.Thread.run(Thread.java:748) [na:1.8.0_131]
Caused by: org.apache.poi.openxml4j.exceptions.OpenXML4JRuntimeException: Fail
to save: an error occurs while saving the package : The part
/xl/pivotCache/pivotCacheRecords1.xml fail to be saved in the stream with
marshaller
org.apache.poi.openxml4j.opc.internal.marshallers.DefaultMarshaller@2d5fbd7e
        at
org.apache.poi.openxml4j.opc.ZipPackage.saveImpl(ZipPackage.java:602)
[poi-ooxml-3.15.jar:3.15]
        at org.apache.poi.openxml4j.opc.OPCPackage.save(OPCPackage.java:1557)
[poi-ooxml-3.15.jar:3.15]
        at org.apache.poi.openxml4j.opc.OPCPackage.save(OPCPackage.java:1542)
[poi-ooxml-3.15.jar:3.15]
        at com.emc.o2.api.poi.POIUtil.modify2007(POIUtil.java:613)
[O2-API.jar:na]
        at
com.emc.o2.api.config.modules.attribute.O2Processor.applyDctmToOfficeEx(O2Processor.java:539)
[O2-API.jar:na]




Could you please help us resolving the above issue ? Waiting for your reply.
Thanks in Advance.


Regards,
Sushmita

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to