Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.0.2
-
Fix Version/s: 5.0.3
-
Component/s: None
-
Labels:None
-
Environment:-
-
Salesforce Case Reference:
Description
Aug 1, 2013 2:38:02 PM org.icepdf.core.pobjects.fonts.FontFactory createFontFile
FINE: Could not create instance of font file 5
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
sorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
torAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.icepdf.core.pobjects.fonts.FontFactory.createFontFile(FontFactory.java:1
51)
at org.icepdf.core.pobjects.fonts.FontDescriptor.init(FontDescriptor.java:311)
at org.icepdf.core.pobjects.fonts.nfont.Font.init(Unknown Source)
at org.icepdf.core.pobjects.Resources.getFont(Resources.java:147)
at org.icepdf.core.util.content.AbstractContentParser.consume_Tf(AbstractConten
tParser.java:722)
at org.icepdf.core.util.content.NContentParser.parseText(Unknown Source)
at org.icepdf.core.util.content.NContentParser.parse(Unknown Source)
at org.icepdf.core.pobjects.Form.init(Form.java:168)
at org.icepdf.core.util.content.AbstractContentParser.consume_Do(AbstractConten
tParser.java:536)
at org.icepdf.core.util.content.NContentParser.parse(Unknown Source)
at org.icepdf.core.pobjects.Form.init(Form.java:168)
at org.icepdf.core.util.content.AbstractContentParser.consume_Do(AbstractConten
tParser.java:536)
at org.icepdf.core.util.content.NContentParser.parse(Unknown Source)
at org.icepdf.core.pobjects.Page.init(Page.java:367)
at org.icepdf.ri.common.views.PageViewComponentImpl$PageInitializer.run(PageVie
wComponentImpl.java:1008)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.ja
va:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:9
18)
at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 6
at org.icepdf.core.pobjects.fonts.nfont.i.readUint16(Unknown Source)
at org.icepdf.core.pobjects.fonts.nfont.NFontTrueType.readMaxpTable(Unknown Sou
rce)
at org.icepdf.core.pobjects.fonts.nfont.NFontTrueType.parse(Unknown Source)
at org.icepdf.core.pobjects.fonts.nfont.NFontOpenType.parse(Unknown Source)
at org.icepdf.core.pobjects.fonts.nfont.i.<init>(Unknown Source)
at org.icepdf.core.pobjects.fonts.nfont.NFontTrueType.<init>(Unknown Source)
at org.icepdf.core.pobjects.fonts.nfont.NFontOpenType.<init>(Unknown Source)
... 22 more
Aug 1, 2013 2:38:02 PM org.icepdf.core.pobjects.fonts.FontManager findFont
FINER: ----> Found font: lucidabright family: Plain for: lucidabright- Plain
Aug 1, 2013 2:38:02 PM org.icepdf.core.pobjects.fonts.FontManager getInstance
FINE: Font Substitution: Found java font: LucidaBright for named font AdobeHand-B
FINE: Could not create instance of font file 5
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
sorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
torAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.icepdf.core.pobjects.fonts.FontFactory.createFontFile(FontFactory.java:1
51)
at org.icepdf.core.pobjects.fonts.FontDescriptor.init(FontDescriptor.java:311)
at org.icepdf.core.pobjects.fonts.nfont.Font.init(Unknown Source)
at org.icepdf.core.pobjects.Resources.getFont(Resources.java:147)
at org.icepdf.core.util.content.AbstractContentParser.consume_Tf(AbstractConten
tParser.java:722)
at org.icepdf.core.util.content.NContentParser.parseText(Unknown Source)
at org.icepdf.core.util.content.NContentParser.parse(Unknown Source)
at org.icepdf.core.pobjects.Form.init(Form.java:168)
at org.icepdf.core.util.content.AbstractContentParser.consume_Do(AbstractConten
tParser.java:536)
at org.icepdf.core.util.content.NContentParser.parse(Unknown Source)
at org.icepdf.core.pobjects.Form.init(Form.java:168)
at org.icepdf.core.util.content.AbstractContentParser.consume_Do(AbstractConten
tParser.java:536)
at org.icepdf.core.util.content.NContentParser.parse(Unknown Source)
at org.icepdf.core.pobjects.Page.init(Page.java:367)
at org.icepdf.ri.common.views.PageViewComponentImpl$PageInitializer.run(PageVie
wComponentImpl.java:1008)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.ja
va:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:9
18)
at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 6
at org.icepdf.core.pobjects.fonts.nfont.i.readUint16(Unknown Source)
at org.icepdf.core.pobjects.fonts.nfont.NFontTrueType.readMaxpTable(Unknown Sou
rce)
at org.icepdf.core.pobjects.fonts.nfont.NFontTrueType.parse(Unknown Source)
at org.icepdf.core.pobjects.fonts.nfont.NFontOpenType.parse(Unknown Source)
at org.icepdf.core.pobjects.fonts.nfont.i.<init>(Unknown Source)
at org.icepdf.core.pobjects.fonts.nfont.NFontTrueType.<init>(Unknown Source)
at org.icepdf.core.pobjects.fonts.nfont.NFontOpenType.<init>(Unknown Source)
... 22 more
Aug 1, 2013 2:38:02 PM org.icepdf.core.pobjects.fonts.FontManager findFont
FINER: ----> Found font: lucidabright family: Plain for: lucidabright- Plain
Aug 1, 2013 2:38:02 PM org.icepdf.core.pobjects.fonts.FontManager getInstance
FINE: Font Substitution: Found java font: LucidaBright for named font AdobeHand-B
I think this might be a duplicate of
PDF-604.