Hi,
I am using BIRT from birt-report-designer-all-in-one-linux-gtk-2.1.2.tar.gz
on Red Hat Linux machine. The Red Hat Linux is 32 bit.
When I made BIRT reports and tried to run, it asked to set the MOZILLA_FIVE_HOME,
to which I set it to /usr/lib/mozilla-1.7.3. After doing this, I again
tried to run BIRT report, and it gave me an error of SWT. The .log file
of the workspace is as below:
!ENTRY org.eclipse.ui 4 4 2007-11-02 12:43:34.519
!MESSAGE Unhandled event loop exception
!ENTRY org.eclipse.ui 4 0 2007-11-02 12:43:34.519
!MESSAGE No more handles [NS_InitEmbedding /usr/lib/mozilla-1.7.3 error
-2147221164]
!STACK 0
org.eclipse.swt.SWTError: No more handles [NS_InitEmbedding
/usr/lib/mozilla-1.7.3 error -2147221164]
at org.eclipse.swt.SWT.error(SWT.java:3400)
at
org.eclipse.swt.browser.Browser.<init>(Browser.java:225)
at
org.eclipse.birt.report.viewer.browsers.embedded.EmbeddedBrowser.<init>(Unknown
Source)
at
org.eclipse.birt.report.viewer.browsers.embedded.EmbeddedBrowserAdapter.getBrowser(Unknown
Source)
at
org.eclipse.birt.report.viewer.browsers.embedded.EmbeddedBrowserAdapter.uiDisplayURL(Unknown
Source)
at
org.eclipse.birt.report.viewer.browsers.embedded.EmbeddedBrowserAdapter.displayURL(Unknown
Source)
at
org.eclipse.birt.report.viewer.browsers.CurrentBrowser.displayURL(Unknown
Source)
at
org.eclipse.birt.report.viewer.utilities.WebViewer.display(Unknown
Source)
at
org.eclipse.birt.report.viewer.utilities.WebViewer.display(Unknown
Source)
at
org.eclipse.birt.report.designer.ui.ide.navigator.RunReportAction.run(RunReportAction.java:43)
at
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:254)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3180)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2856)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
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.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
I also checked the SWT libraries on my setup for eclipse which are as
follows:
@ the location :
/opt/eclipse/configuration/org.eclipse.osgi/bundles/161/1/.cp/
following are the swt related files:
libcairo-swt.so
libswt-atk-gtk-3236.so
libswt-cairo-gtk-3236.so
libswt-gnome-gtk-3236.so
libswt-gtk-3236.so
libswt-mozilla14-profile-gtk-3236.so
libswt-mozilla17-profile-gtk-3236.so
libswt-mozilla-gtk-3236.so
libswt-pi-gtk-3236.so
Am I missing something in regard to start BIRT related reports from
Eclipse.
Kindly advice soon.
Thanks,
Pranav
--
Pranav Aggarwal
DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or Altair or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of Altair or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.
-----------------------------------------------------------------------------------------------------------------------
|