Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.0
-
Fix Version/s: 6.3
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:any
-
Support Case References:Support Case 14253:- https://icesoft.my.salesforce.com/5000g00001orMCb?srPos=0&srKp=500
-
Salesforce Case Reference:
Description
The file in question is contains content stream encoded using the FlateDecode filter. ICEpdf currently relies on the java.util.ZipInflaterInputStream to handle the decompression. Unfortunately the ZipInflaterInputStream is chocking on this stream.
After quite a bit of tracing it became apparent that is was the last ZipInflaterInputStream.read call that was reporting the error. The only way that I could get all the needed content tokens was to set the buffer to 1 byte as a work around. The problem with he 1 byte buffer is that it isn't performant.
After quite a bit of tracing it became apparent that is was the last ZipInflaterInputStream.read call that was reporting the error. The only way that I could get all the needed content tokens was to set the buffer to 1 byte as a work around. The problem with he 1 byte buffer is that it isn't performant.
Activity
Patrick Corless
created issue -
Patrick Corless
made changes -
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | Resolved [ 5 ] |
Fix Version/s | 5.0.1 [ 10872 ] | |
Resolution | Fixed [ 1 ] |
Patrick Corless
made changes -
Support Customer Ref. #s | 12113 |
Patrick Corless
made changes -
Support Customer Ref. #s | 12113 |
Arran Mccullough
made changes -
Salesforce Case Reference | 5007000000T59dAAAR |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #34438 | Thu Apr 18 10:19:59 MDT 2013 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/filters/ChunkingInputStream.java
MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/filters/FlateDecode.java |
Patrick Corless
made changes -
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Patrick Corless
made changes -
Fix Version/s | 5.0.5 [ 11373 ] | |
Fix Version/s | 5.0.1 [ 10872 ] |
Patrick Corless
made changes -
Fix Version/s | 5.0.6 [ 11381 ] | |
Fix Version/s | 5.0.5 [ 11373 ] |
Patrick Corless
made changes -
Fix Version/s | 5.0.7 [ 11470 ] | |
Fix Version/s | 5.0.6 [ 11381 ] |
Patrick Corless
made changes -
Fix Version/s | 5.1 [ 10675 ] | |
Fix Version/s | 5.0.7 [ 11470 ] |
Patrick Corless
made changes -
Fix Version/s | 5.2 [ 10970 ] | |
Fix Version/s | 5.1 [ 10675 ] |
Patrick Corless
made changes -
Fix Version/s | 5.2 [ 10970 ] |
Patrick Corless
made changes -
Fix Version/s | 6.3 [ 13093 ] |
Patrick Corless
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #52121 | Tue Dec 05 09:29:21 MST 2017 | patrick.corless | buffer size for decoding small sized streams. |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/core/core-awt/src/main/java/org/icepdf/core/pobjects/filters/FlateDecode.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #52153 | Wed Dec 13 10:53:36 MST 2017 | patrick.corless | buffer size for decoding small sized streams. |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-6.2.0/icepdf/core/src/org/icepdf/core/pobjects/filters/FlateDecode.java
|
Judy Guglielmin
made changes -
Support Case References | Support Case 14253:- https://icesoft.my.salesforce.com/5000g00001orMCb?srPos=0&srKp=500 |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #52213 | Tue Jan 16 13:01:53 MST 2018 | patrick.corless | been seeing when a stream does not contain the correct end of steam bytes. |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/core/core-awt/src/main/java/org/icepdf/core/pobjects/filters/FlateDecode.java
|
Patrick Corless
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
I've added the system property org.icepdf.core.flateDecode.bufferSize to allow users to set the default buffer size which ~16KB. For large file the buffer could be set higher to improve performance. But for this client they will have to set org.icepdf.core.flateDecode.bufferSize=1 for the the time being.