java.io.IOException: This font does not define a font-name, therefore it is invalid.

Pentaho BI Platform Tracking | Jared Pshedesky | 7 years ago
  1. 0

    When I start the BI Server on RHEL5 I see lots of exceptions in catalina.out. Below is an example of one of the exceptions. I do not see this on Windows XP. 14:55:56,933 WARN [AbstractFontFileRegistry] Font /usr/share/fonts/hebrew/MiriamCLM-Book.afm is invalid. Message:This font does not define a font-name, therefore it is invalid. java.io.IOException: This font does not define a font-name, therefore it is invalid. at org.pentaho.reporting.libraries.fonts.afm.AfmFont.initialize(AfmFont.java:102) at org.pentaho.reporting.libraries.fonts.afm.AfmFont.<init>(AfmFont.java:69) at org.pentaho.reporting.libraries.fonts.afm.AfmFontRegistry.addFont(AfmFontRegistry.java:152) at org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.registerFontFile(AbstractFontFileRegistry.java:279) at org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.registerFontPath(AbstractFontFileRegistry.java:228) at org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.registerFontPath(AbstractFontFileRegistry.java:222) at org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.registerDefaultFontPath(AbstractFontFileRegistry.java:134) at org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.initialize(AbstractFontFileRegistry.java:72) at org.pentaho.reporting.libraries.fonts.merge.CompoundFontRegistry.initialize(CompoundFontRegistry.java:85) at org.pentaho.reporting.engine.classic.core.modules.output.support.itext.BaseFontModule.getFontRegistry(BaseFontModule.java:64) at org.pentaho.reporting.engine.classic.core.modules.output.support.itext.BaseFontModule.initialize(BaseFontModule.java:88) at org.pentaho.reporting.libraries.base.boot.PackageState.initialize(PackageState.java:198) at org.pentaho.reporting.libraries.base.boot.PackageManager.initializeModules(PackageManager.java:259) at org.pentaho.reporting.engine.classic.core.ClassicEngineBoot.performBoot(ClassicEngineBoot.java:355) at org.pentaho.reporting.libraries.base.boot.AbstractBoot.start(AbstractBoot.java:206) at org.pentaho.platform.plugin.action.jfreereport.JFreeReportSystemListener.startup(JFreeReportSystemListener.java:38) at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:306) at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:291) at org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:265) at org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:206) at org.pentaho.platform.web.http.context.SolutionContextListener.contextInitialized(SolutionContextListener.java:136) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) 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:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)

    Pentaho BI Platform Tracking | 7 years ago | Jared Pshedesky
    java.io.IOException: This font does not define a font-name, therefore it is invalid.
  2. 0

    When I start the BI Server on RHEL5 I see lots of exceptions in catalina.out. Below is an example of one of the exceptions. I do not see this on Windows XP. 14:55:56,933 WARN [AbstractFontFileRegistry] Font /usr/share/fonts/hebrew/MiriamCLM-Book.afm is invalid. Message:This font does not define a font-name, therefore it is invalid. java.io.IOException: This font does not define a font-name, therefore it is invalid. at org.pentaho.reporting.libraries.fonts.afm.AfmFont.initialize(AfmFont.java:102) at org.pentaho.reporting.libraries.fonts.afm.AfmFont.<init>(AfmFont.java:69) at org.pentaho.reporting.libraries.fonts.afm.AfmFontRegistry.addFont(AfmFontRegistry.java:152) at org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.registerFontFile(AbstractFontFileRegistry.java:279) at org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.registerFontPath(AbstractFontFileRegistry.java:228) at org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.registerFontPath(AbstractFontFileRegistry.java:222) at org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.registerDefaultFontPath(AbstractFontFileRegistry.java:134) at org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.initialize(AbstractFontFileRegistry.java:72) at org.pentaho.reporting.libraries.fonts.merge.CompoundFontRegistry.initialize(CompoundFontRegistry.java:85) at org.pentaho.reporting.engine.classic.core.modules.output.support.itext.BaseFontModule.getFontRegistry(BaseFontModule.java:64) at org.pentaho.reporting.engine.classic.core.modules.output.support.itext.BaseFontModule.initialize(BaseFontModule.java:88) at org.pentaho.reporting.libraries.base.boot.PackageState.initialize(PackageState.java:198) at org.pentaho.reporting.libraries.base.boot.PackageManager.initializeModules(PackageManager.java:259) at org.pentaho.reporting.engine.classic.core.ClassicEngineBoot.performBoot(ClassicEngineBoot.java:355) at org.pentaho.reporting.libraries.base.boot.AbstractBoot.start(AbstractBoot.java:206) at org.pentaho.platform.plugin.action.jfreereport.JFreeReportSystemListener.startup(JFreeReportSystemListener.java:38) at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:306) at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:291) at org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:265) at org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:206) at org.pentaho.platform.web.http.context.SolutionContextListener.contextInitialized(SolutionContextListener.java:136) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) 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:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)

    Pentaho BI Platform Tracking | 7 years ago | Jared Pshedesky
    java.io.IOException: This font does not define a font-name, therefore it is invalid.
  3. 0

    PDFBox filling form exception

    Coderanch | 3 years ago | giuseppe gio
    java.io.IOException: Cannot create font as /SubType is not set.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    PDFbox, exception on fonts

    Stack Overflow | 3 years ago | giozh
    java.io.IOException: Cannot create font as /SubType is not set.
  6. 0

    Adding a TTF font from an inputStream using createFont/deriveFont

    devshed.com | 8 months ago
    java.io.IOException: Problem reading font data.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      This font does not define a font-name, therefore it is invalid.

      at org.pentaho.reporting.libraries.fonts.afm.AfmFont.initialize()
    2. org.pentaho.reporting
      AbstractBoot.start
      1. org.pentaho.reporting.libraries.fonts.afm.AfmFont.initialize(AfmFont.java:102)
      2. org.pentaho.reporting.libraries.fonts.afm.AfmFont.<init>(AfmFont.java:69)
      3. org.pentaho.reporting.libraries.fonts.afm.AfmFontRegistry.addFont(AfmFontRegistry.java:152)
      4. org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.registerFontFile(AbstractFontFileRegistry.java:279)
      5. org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.registerFontPath(AbstractFontFileRegistry.java:228)
      6. org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.registerFontPath(AbstractFontFileRegistry.java:222)
      7. org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.registerDefaultFontPath(AbstractFontFileRegistry.java:134)
      8. org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.initialize(AbstractFontFileRegistry.java:72)
      9. org.pentaho.reporting.libraries.fonts.merge.CompoundFontRegistry.initialize(CompoundFontRegistry.java:85)
      10. org.pentaho.reporting.engine.classic.core.modules.output.support.itext.BaseFontModule.getFontRegistry(BaseFontModule.java:64)
      11. org.pentaho.reporting.engine.classic.core.modules.output.support.itext.BaseFontModule.initialize(BaseFontModule.java:88)
      12. org.pentaho.reporting.libraries.base.boot.PackageState.initialize(PackageState.java:198)
      13. org.pentaho.reporting.libraries.base.boot.PackageManager.initializeModules(PackageManager.java:259)
      14. org.pentaho.reporting.engine.classic.core.ClassicEngineBoot.performBoot(ClassicEngineBoot.java:355)
      15. org.pentaho.reporting.libraries.base.boot.AbstractBoot.start(AbstractBoot.java:206)
      15 frames
    3. org.pentaho.platform
      SolutionContextListener.contextInitialized
      1. org.pentaho.platform.plugin.action.jfreereport.JFreeReportSystemListener.startup(JFreeReportSystemListener.java:38)
      2. org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:306)
      3. org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:291)
      4. org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:265)
      5. org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:206)
      6. org.pentaho.platform.web.http.context.SolutionContextListener.contextInitialized(SolutionContextListener.java:136)
      6 frames
    4. Glassfish Core
      Catalina.start
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
      2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
      3. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
      4. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
      5. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
      6. org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)
      7. org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)
      8. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
      9. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
      10. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
      11. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
      12. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
      13. org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
      14. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
      15. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      16. org.apache.catalina.core.StandardService.start(StandardService.java:448)
      17. org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
      18. org.apache.catalina.startup.Catalina.start(Catalina.java:552)
      18 frames
    5. 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:585)
      4 frames
    6. Glassfish Core
      Bootstrap.main
      1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
      2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
      2 frames