Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.2
-
Fix Version/s: 4.3
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:-
Description
Aug 15, 2011 6:03:33 PM org.icepdf.core.pobjects.fonts.nfont.Font init
FINE: Error parsing cmap.
java.lang.NullPointerException
at org.icepdf.core.pobjects.filters.ChunkingInputStream.fillBufferFromInputStream(ChunkingInputStream.java:80)
at org.icepdf.core.pobjects.filters.ChunkingInputStream.fillBufferFromInputStream(ChunkingInputStream.java:74)
at org.icepdf.core.pobjects.filters.FlateDecode.fillInternalBuffer(FlateDecode.java:172)
at org.icepdf.core.pobjects.filters.ChunkingInputStream.ensureDataAvailable(ChunkingInputStream.java:102)
at org.icepdf.core.pobjects.filters.ChunkingInputStream.read(ChunkingInputStream.java:124)
at java.io.FilterInputStream.read(FilterInputStream.java:66)
at java.io.PushbackInputStream.read(PushbackInputStream.java:122)
at org.icepdf.core.pobjects.fonts.nfont.c.a.a(Unknown Source)
at org.icepdf.core.pobjects.fonts.nfont.CMap.<init>(Unknown Source)
at org.icepdf.core.pobjects.fonts.nfont.CMap.<init>(Unknown Source)
FINE: Error parsing cmap.
java.lang.NullPointerException
at org.icepdf.core.pobjects.filters.ChunkingInputStream.fillBufferFromInputStream(ChunkingInputStream.java:80)
at org.icepdf.core.pobjects.filters.ChunkingInputStream.fillBufferFromInputStream(ChunkingInputStream.java:74)
at org.icepdf.core.pobjects.filters.FlateDecode.fillInternalBuffer(FlateDecode.java:172)
at org.icepdf.core.pobjects.filters.ChunkingInputStream.ensureDataAvailable(ChunkingInputStream.java:102)
at org.icepdf.core.pobjects.filters.ChunkingInputStream.read(ChunkingInputStream.java:124)
at java.io.FilterInputStream.read(FilterInputStream.java:66)
at java.io.PushbackInputStream.read(PushbackInputStream.java:122)
at org.icepdf.core.pobjects.fonts.nfont.c.a.a(Unknown Source)
at org.icepdf.core.pobjects.fonts.nfont.CMap.<init>(Unknown Source)
at org.icepdf.core.pobjects.fonts.nfont.CMap.<init>(Unknown Source)
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Quite a bit of work was done around cmap parsing to improve our support for CID fonts display which seems to have addressed the error being reported here. Marking as fixed.