java.lang.IllegalStateException: Not a valid TTF or OTF file: Signature not recognized.

Pentaho BI Platform Tracking | Sulaiman Karmali | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Happens for fonts /Library/Fonts/AlBayan.ttf /Library/Fonts/AlBayanBold.ttf /Library/Fonts/Apple Chancery.ttf /Library/Fonts/Apple LiGothic Medium.ttf /Library/Fonts/Apple LiSung Light.ttf /Library/Fonts/AppleGothic.ttf /Library/Fonts/AppleMyungjo.ttf /Library/Fonts/ArialHB.ttf /Library/Fonts/ArialHBBold.ttf /Library/Fonts/BiauKai.ttf /Library/Fonts/Corsiva.ttf /Library/Fonts/CorsivaBold.ttf /Library/Fonts/Gungseouche.ttf /Library/Fonts/HeadlineA.ttf .... 013-01-02 15:03:08,648 [ 3790] DEBUG - org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry - Running on operating system: Mac OS X 2013-01-02 15:03:08,648 [ 3790] DEBUG - org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry - Character encoding used as default: ISO-8859-1 2013-01-02 15:03:08,648 [ 3790] DEBUG - org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry - Detected MacOS. 2013-01-02 15:03:08,668 [ 3810] DEBUG - org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFontRegistry - Unable to register font file /Library/Fonts/AlBayan.ttf java.lang.IllegalStateException: Not a valid TTF or OTF file: Signature not recognized. at org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFont$TrueTypeFontHeader.<init>(TrueTypeFont.java:55) at org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFont.<init>(TrueTypeFont.java:200) at org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFont.<init>(TrueTypeFont.java:222) at org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFont.<init>(TrueTypeFont.java:208) at org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFontRegistry.addFont(TrueTypeFontRegistry.java:149) at org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.registerFontFile(AbstractFontFileRegistry.java:479) at org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.registerFontPath(AbstractFontFileRegistry.java:423) at org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.registerDefaultFontPath(AbstractFontFileRegistry.java:126) at org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.initialize(AbstractFontFileRegistry.java:76) at org.pentaho.reporting.libraries.fonts.merge.CompoundFontRegistry.initialize(CompoundFontRegistry.java:73) at org.pentaho.reporting.engine.classic.core.modules.output.support.itext.BaseFontModule.getFontRegistry(BaseFontModule.java:51) at org.pentaho.reporting.engine.classic.core.modules.output.support.itext.BaseFontModule.initialize(BaseFontModule.java:75) at org.pentaho.reporting.libraries.base.boot.PackageState.initialize(PackageState.java:184) at org.pentaho.reporting.libraries.base.boot.PackageManager.initializeModules(PackageManager.java:276) at org.pentaho.reporting.engine.classic.core.ClassicEngineBoot.performBoot(ClassicEngineBoot.java:303) at org.pentaho.reporting.libraries.base.boot.AbstractBoot.start(AbstractBoot.java:202) at org.pentaho.reporting.designer.core.ReportDesigner.main(ReportDesigner.java:266) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)

    Pentaho BI Platform Tracking | 4 years ago | Sulaiman Karmali
    java.lang.IllegalStateException: Not a valid TTF or OTF file: Signature not recognized.
  2. 0

    Happens for fonts /Library/Fonts/AlBayan.ttf /Library/Fonts/AlBayanBold.ttf /Library/Fonts/Apple Chancery.ttf /Library/Fonts/Apple LiGothic Medium.ttf /Library/Fonts/Apple LiSung Light.ttf /Library/Fonts/AppleGothic.ttf /Library/Fonts/AppleMyungjo.ttf /Library/Fonts/ArialHB.ttf /Library/Fonts/ArialHBBold.ttf /Library/Fonts/BiauKai.ttf /Library/Fonts/Corsiva.ttf /Library/Fonts/CorsivaBold.ttf /Library/Fonts/Gungseouche.ttf /Library/Fonts/HeadlineA.ttf .... 013-01-02 15:03:08,648 [ 3790] DEBUG - org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry - Running on operating system: Mac OS X 2013-01-02 15:03:08,648 [ 3790] DEBUG - org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry - Character encoding used as default: ISO-8859-1 2013-01-02 15:03:08,648 [ 3790] DEBUG - org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry - Detected MacOS. 2013-01-02 15:03:08,668 [ 3810] DEBUG - org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFontRegistry - Unable to register font file /Library/Fonts/AlBayan.ttf java.lang.IllegalStateException: Not a valid TTF or OTF file: Signature not recognized. at org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFont$TrueTypeFontHeader.<init>(TrueTypeFont.java:55) at org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFont.<init>(TrueTypeFont.java:200) at org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFont.<init>(TrueTypeFont.java:222) at org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFont.<init>(TrueTypeFont.java:208) at org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFontRegistry.addFont(TrueTypeFontRegistry.java:149) at org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.registerFontFile(AbstractFontFileRegistry.java:479) at org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.registerFontPath(AbstractFontFileRegistry.java:423) at org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.registerDefaultFontPath(AbstractFontFileRegistry.java:126) at org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.initialize(AbstractFontFileRegistry.java:76) at org.pentaho.reporting.libraries.fonts.merge.CompoundFontRegistry.initialize(CompoundFontRegistry.java:73) at org.pentaho.reporting.engine.classic.core.modules.output.support.itext.BaseFontModule.getFontRegistry(BaseFontModule.java:51) at org.pentaho.reporting.engine.classic.core.modules.output.support.itext.BaseFontModule.initialize(BaseFontModule.java:75) at org.pentaho.reporting.libraries.base.boot.PackageState.initialize(PackageState.java:184) at org.pentaho.reporting.libraries.base.boot.PackageManager.initializeModules(PackageManager.java:276) at org.pentaho.reporting.engine.classic.core.ClassicEngineBoot.performBoot(ClassicEngineBoot.java:303) at org.pentaho.reporting.libraries.base.boot.AbstractBoot.start(AbstractBoot.java:202) at org.pentaho.reporting.designer.core.ReportDesigner.main(ReportDesigner.java:266) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)

    Pentaho BI Platform Tracking | 4 years ago | Sulaiman Karmali
    java.lang.IllegalStateException: Not a valid TTF or OTF file: Signature not recognized.

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Not a valid TTF or OTF file: Signature not recognized.

      at org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFont$TrueTypeFontHeader.<init>()
    2. org.pentaho.reporting
      ReportDesigner.main
      1. org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFont$TrueTypeFontHeader.<init>(TrueTypeFont.java:55)
      2. org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFont.<init>(TrueTypeFont.java:200)
      3. org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFont.<init>(TrueTypeFont.java:222)
      4. org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFont.<init>(TrueTypeFont.java:208)
      5. org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFontRegistry.addFont(TrueTypeFontRegistry.java:149)
      6. org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.registerFontFile(AbstractFontFileRegistry.java:479)
      7. org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.registerFontPath(AbstractFontFileRegistry.java:423)
      8. org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.registerDefaultFontPath(AbstractFontFileRegistry.java:126)
      9. org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.initialize(AbstractFontFileRegistry.java:76)
      10. org.pentaho.reporting.libraries.fonts.merge.CompoundFontRegistry.initialize(CompoundFontRegistry.java:73)
      11. org.pentaho.reporting.engine.classic.core.modules.output.support.itext.BaseFontModule.getFontRegistry(BaseFontModule.java:51)
      12. org.pentaho.reporting.engine.classic.core.modules.output.support.itext.BaseFontModule.initialize(BaseFontModule.java:75)
      13. org.pentaho.reporting.libraries.base.boot.PackageState.initialize(PackageState.java:184)
      14. org.pentaho.reporting.libraries.base.boot.PackageManager.initializeModules(PackageManager.java:276)
      15. org.pentaho.reporting.engine.classic.core.ClassicEngineBoot.performBoot(ClassicEngineBoot.java:303)
      16. org.pentaho.reporting.libraries.base.boot.AbstractBoot.start(AbstractBoot.java:202)
      17. org.pentaho.reporting.designer.core.ReportDesigner.main(ReportDesigner.java:266)
      17 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
      1 frame