Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Can't Preview reports on Ubuntu 12.04 LTS
Can't Preview reports on Ubuntu 12.04 LTS [message #1240628] Thu, 06 February 2014 21:44
Eclipse UserFriend
Just installed a fresh /eclipse-reporting-kepler-SR1-linux-gtk-x86_64
from the downloads on my Ubuntu 12.04 LTS.

While the Welcome screen, Help contents, and displaying a html page in
the internal browser works, But if I try to run or preview new (blank)
BIRT report design I get

org.eclipse.swt.SWTError: No more handles [Could not detect registered
XULRunner to use]
at org.eclipse.swt.SWT.error(SWT.java:4423)...

I have spent over a day fiddling with various combinations of xulrunner
versions and the many Eclipse program properties like:

-Dorg.eclipse.swt.browser.XULRunnerPath=/opt/xulrunner
-Dorg.eclipse.swt.browser.DefaultType=mozilla
or
-Dorg.eclipse.swt.browser.DefaultType=webkit
-Dorg.eclipse.swt.browser.UseWebKitGTK=true

I can modify the error if I use the
-Dorg.eclipse.swt.browser.XULRunnerPath=/opt/xulrunner
property.

to:

org.eclipse.swt.SWTError: XPCOM error 0x80004005
at org.eclipse.swt.browser.Mozilla.error(Mozilla.java:2714)
at org.eclipse.swt.browser.Mozilla.initXULRunner(Mozilla.java:2680)
at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:686)
at org.eclipse.swt.browser.Browser.<init>(Browser.java:99)
at
org.eclipse.birt.report.designer.ui.preview.editors.ReportPreviewEditor.createMainBrowser(ReportPreviewEditor.java:297)
at ...


I can also use the Report Design.Preview.Always Use External Browsers
user preference to get around my failure to Run reports with the
internal browser by running on external browsers - but have not found a
way to get the preview to work.

Anyone running eclipse-reporting-kepler-SR1 on Ubuntu 12.04 LTS 64 bit
that has got this to work?


==== Details ====
Machine -arch
x86_64

OS
Ubuntu 12.04 LTS

Java
java.library.path=/usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib
java.runtime.name=OpenJDK Runtime Environment
java.runtime.version=1.7.0_51-b00

Eclipse
eclipse.buildId=4.3.0.M20130911-1000
/opt/Eclipse/eclipse-reporting-kepler-SR1-linux-gtk-x86_64


firefox --version
Mozilla Firefox 26.0

xulrunner -version
Mozilla XULRunner 26.0 - 20131205075310

whereis xulrunner
xulrunner: /usr/bin/xulrunner /usr/lib/xulrunner /usr/bin/X11/xulrunner

=================

thanks for any help,

John
Previous Topic:How to activate logging for a plugin
Next Topic:Error 3301 Cannot get report parameters
Goto Forum:
  


Current Time: Sat Apr 20 12:52:57 GMT 2024

Powered by FUDForum. Page generated in 0.02917 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top