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 2019/03/19 10:02:50 UTC

[Bug 63270] New: Issue related to ClassCastException which we are facing while using poi-3.15 along with java 11.

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

            Bug ID: 63270
           Summary: Issue related to ClassCastException which we are
                    facing while using poi-3.15 along with java 11.
           Product: POI
           Version: unspecified
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: POI Overall
          Assignee: dev@poi.apache.org
          Reporter: snag@opentext.com
  Target Milestone: ---

This is regarding an issue related to ClassCastException which we are facing
while using poi-3.15 along with java 11.

org.apache.poi.openxml4j.exceptions.OpenXML4JRuntimeException: Fail to save: an
error occurs while saving the package : class
org.apache.poi.openxml4j.util.ZipSecureFile$ThresholdInputStream cannot be cast
to class java.util.zip.ZipFile$ZipFileInputStream
(org.apache.poi.openxml4j.util.ZipSecureFile$ThresholdInputStream is in unnamed
module of loader org.apache.catalina.loader.ParallelWebappClassLoader
@6e1d8f9e; java.util.zip.ZipFile$ZipFileInputStream is in module java.base of
loader 'bootstrap')

Caused by: java.lang.ClassCastException: class
org.apache.poi.openxml4j.util.ZipSecureFile$ThresholdInputStream cannot be cast
to class java.util.zip.ZipFile$ZipFileInputStream
(org.apache.poi.openxml4j.util.ZipSecureFile$ThresholdInputStream is in unnamed
module of loader org.apache.catalina.loader.ParallelWebappClassLoader
@6e1d8f9e; java.util.zip.ZipFile$ZipFileInputStream is in module java.base of
loader 'bootstrap')


This is occurring while trying to manipulate .xlsx. Could you please help us
resolving the same ?

Regards,
Sushmita

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


[Bug 63270] Issue related to ClassCastException which we are facing while using poi-3.15 along with java 11.

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63270

Greg Woolsey <gw...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE
                 OS|                            |All

--- Comment #1 from Greg Woolsey <gw...@apache.org> ---
This is fixed in POI 4.0.0.  See issue #62187.

*** This bug has been marked as a duplicate of bug 62187 ***

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