org.eclipse.e4.core.di.InjectionException

java.lang.IllegalStateException: could not load font from /home/connzen/workspace/.metadata/.plugins/com.zeroturnaround.eclipse.optimizer.plugin/fonts/OpenSans-Bold.ttf

Solutions on the web76

  • java.lang.IllegalStateException: could not load font from /home/connzen/workspace/.metadata/.plugins/com.zeroturnaround.eclipse.optimizer.plugin/fonts/OpenSans-Bold.ttf
  • java.lang.IllegalStateException: Could not create any rendering factory. Aborting ...
  • via toadworld.com by Unknown author, 1 year ago
    java.lang.IllegalStateException: Platform ID not found!
  • Stack trace

    • org.eclipse.e4.core.di.InjectionException: java.lang.IllegalStateException: could not load font from /home/connzen/workspace/.metadata/.plugins/com.zeroturnaround.eclipse.optimizer.plugin/fonts/OpenSans-Bold.ttf at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:62) at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:247) at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:229) at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132) at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:149) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:499) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508) at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210) at org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand(LegacyHandlerService.java:343) at org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand(LegacyHandlerService.java:330) at com.zeroturnaround.eclipse.optimizer.plugin.OpenPluginWindowAction.callOpenPluginWindowCommand(OpenPluginWindowAction.java:31) at com.zeroturnaround.eclipse.optimizer.plugin.OpenPluginWindowAction.run(OpenPluginWindowAction.java:23) at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:253) at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:237) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4454) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3799) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3409) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) at org.eclipse.equinox.launcher.Main.run(Main.java:1465) at org.eclipse.equinox.launcher.Main.main(Main.java:1438) Caused by: java.lang.IllegalStateException: could not load font from /home/connzen/workspace/.metadata/.plugins/com.zeroturnaround.eclipse.optimizer.plugin/fonts/OpenSans-Bold.ttf at com.zeroturnaround.eclipse.optimizer.plugin.util.CustomFontUtil.loadFontFromFile(CustomFontUtil.java:44) at com.zeroturnaround.eclipse.optimizer.plugin.util.CustomFontUtil.loadFont(CustomFontUtil.java:23) at com.zeroturnaround.eclipse.optimizer.plugin.PluginWindow.init(PluginWindow.java:222) at com.zeroturnaround.eclipse.optimizer.plugin.PluginWindow.configureShell(PluginWindow.java:167) at org.eclipse.jface.window.Window.createShell(Window.java:507) at org.eclipse.jface.window.Window.create(Window.java:434) at org.eclipse.jface.window.Window.open(Window.java:797) at com.zeroturnaround.eclipse.optimizer.plugin.PluginWindow.open(PluginWindow.java:409) at com.zeroturnaround.eclipse.optimizer.plugin.OpenPluginWindowHandler.openWindow(OpenPluginWindowHandler.java:25) at com.zeroturnaround.eclipse.optimizer.plugin.OpenPluginWindowHandler.execute(OpenPluginWindowHandler.java:42) at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:294) at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55) ... 43 more

    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 are the first who have seen this exception. Write a tip to help other users and build your expert profile.