poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51585] WorkbookFactory.create() hangs when creating a workbook
Date Fri, 04 Nov 2011 09:37:33 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51585

Yegor Kozlov <yegor@dinom.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #2 from Yegor Kozlov <yegor@dinom.ru> 2011-11-04 09:37:33 UTC ---
The problem is not in POI. It is JDK that can't read the file. The hang can be
reproduced with the following code:

  ZipFile zip =  new ZipFile("TestHang.xlsx");

So, something is wrong with the underlying zip archive.  We rely on JDK to open
OOXML files and I don't see a problem on the  POI side.

Do you know any details how the problematic file was produced? Version of
Excel, OS, etc. Was the file unzipped / modified and zipped back ? 

PS. I'm testing on Windows 7 and JDK 1.6.26. 

Yegor

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


Mime
View raw message