java.io.IOException

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web12744

  • via Pentaho BI Platform Tracking by Jared Pshedesky, 1 year ago
    This font does not define a font-name, therefore it is invalid.
  • via Pentaho BI Platform Tracking by Jared Pshedesky, 1 year ago
    This font does not define a font-name, therefore it is invalid.
  • via Coderanch by giuseppe gio, 11 months ago
    Cannot create font as /SubType is not set.
  • Stack trace

    • 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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.