Community
Participate
Working Groups
Trying to debug an Eclipse RCP application that uses BIRT. Started it with -debug and added a few BIRT logging options to .options but when BIRT is executed, I get the following exception: org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.RuntimeException: org.eclipse.birt.chart.exception.ChartException: CREATE_EXTENSION_FAIL) at org.eclipse.swt.SWT.error(SWT.java:4491) at org.eclipse.swt.SWT.error(SWT.java:4406) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3794) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3433) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at org.eclipse.mat.ui.rcp.Application.start(Application.java:26) 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:95) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56) at java.lang.reflect.Method.invoke(Method.java:620) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608) at org.eclipse.equinox.launcher.Main.run(Main.java:1515) at org.eclipse.equinox.launcher.Main.main(Main.java:1488) Caused by: java.lang.RuntimeException: org.eclipse.birt.chart.exception.ChartException: CREATE_EXTENSION_FAIL at org.eclipse.mat.ui.internal.chart.ChartCanvas.<init>(ChartCanvas.java:63) at org.eclipse.mat.ui.internal.chart.PieChartPane.createPartControl(PieChartPane.java:168) at org.eclipse.mat.ui.snapshot.panes.OverviewPane$3$1.run(OverviewPane.java:406) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) ... 24 more Caused by: org.eclipse.birt.chart.exception.ChartException: CREATE_EXTENSION_FAIL at org.eclipse.birt.chart.util.PluginSettings.getPluginXmlObject(PluginSettings.java:1256) at org.eclipse.birt.chart.util.PluginSettings.getDevice(PluginSettings.java:632) at org.eclipse.mat.ui.internal.chart.ChartCanvas.<init>(ChartCanvas.java:59) ... 28 more Caused by: org.eclipse.birt.core.framework.FrameworkException: CREATE_EXTENSION_FAIL at org.eclipse.birt.core.framework.eclipse.EclipseConfigurationElement.createExecutableExtension(EclipseConfigurationElement.java:39) at org.eclipse.birt.chart.util.PluginSettings.getPluginXmlObject(PluginSettings.java:1252) ... 30 more Caused by: org.eclipse.core.runtime.CoreException: Plug-in "org.eclipse.birt.chart.device.swt" was unable to instantiate class "org.eclipse.birt.chart.device.swt.SwtRendererImpl". at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194) at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:188) at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243) at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55) at org.eclipse.birt.core.framework.eclipse.EclipseConfigurationElement.createExecutableExtension(EclipseConfigurationElement.java:35) ... 31 more Caused by: java.lang.ExceptionInInitializerError at java.lang.J9VMInternals.initialize(J9VMInternals.java:257) at java.lang.J9VMInternals.initialize(J9VMInternals.java:202) at java.lang.J9VMInternals.initialize(J9VMInternals.java:202) at java.lang.J9VMInternals.newInstanceImpl(Native Method) at java.lang.Class.newInstance(Class.java:1776) at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:184) ... 35 more Caused by: java.lang.NullPointerException at org.eclipse.birt.chart.log.Logger$1.run(Logger.java:104) at org.eclipse.birt.chart.log.Logger$1.run(Logger.java:1) at java.security.AccessController.doPrivileged(AccessController.java:364) at org.eclipse.birt.chart.log.Logger.getTracingHandler(Logger.java:96) at org.eclipse.birt.chart.log.Logger.getLogger(Logger.java:77) at org.eclipse.birt.chart.event.EventObjectCache.<clinit>(EventObjectCache.java:39) at java.lang.J9VMInternals.initializeImpl(Native Method) at java.lang.J9VMInternals.initialize(J9VMInternals.java:235) ... 40 more It seems like `tracingHandler` should just be `handler`. https://github.com/eclipse/birt/blob/master/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/log/Logger.java#L104