Home
Analytics
BIRT Designer crashes when prevewing/running in embedded web browser
ceefour
When previewing a report or running the report in embedded web browser, Eclipse Reporting 3.7 crashes with only the following messages:<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>No bp log location saved, using default.
[000:000] Browser XEmbed support present: 1
[000:000] Browser toolkit is Gtk2.
[000:000] Using Gtk2 toolkit
[000:000] Warning(optionsfile.cc:22): Load: Could not open file
[000:000] No bp log location saved, using default.
[000:000] Browser XEmbed support present: 1
[000:000] Browser toolkit is Gtk2.
[000:000] Using Gtk2 toolkit
[000:273] Warning(optionsfile.cc:22): Load: Could not open file
[000:273] No bp log location saved, using default.
[000:273] Browser XEmbed support present: 1
[000:273] Browser toolkit is Gtk2.
[000:273] Using Gtk2 toolkit
Opened debug file '/home/ceefour/tmp/mozdebug'</pre>
<br />
My environment : Ubuntu 11.04 64-bit<br />
<br />
Linux annafi 2.6.38-10-generic #44+kamal~mjgbacklight4-Ubuntu SMP Mon Jun 6 19:40:12 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux<br />
<br />
java version "1.6.0_25"<br />
Java(TM) SE Runtime Environment (build 1.6.0_25-b06)<br />
Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)<br />
<br />
Should I file a bug report, and where?
Find more posts tagged with
Comments
mwilliams
Does this happen with all reports? I have previewed reports with 3.7 and not seen this issue. That being said, I am not using Ubuntu or Linux. I am using Windows 7. Let me know.
ceefour
<blockquote class='ipsBlockquote' data-author="'mwilliams'" data-cid="79427" data-time="1309456511" data-date="30 June 2011 - 10:55 AM"><p>
Does this happen with all reports? I have previewed reports with 3.7 and not seen this issue. That being said, I am not using Ubuntu or Linux. I am using Windows 7. Let me know.<br /></p></blockquote>
<br />
It happens with all reports, even with a blank one.<br />
<br />
<ul class='bbcol decimal'><li>Launch Eclipse for Java & Report Developers 3.7 64-bit in Ubuntu 11.04 64-bit</li><li>Create a new report</li><li>On the blank report, click Preview tab ...... crash</li></ul>
mwilliams
Can you try re-installing to see if you got a bad download somehow?
ceefour
<blockquote class='ipsBlockquote' data-author="'mwilliams'" data-cid="79478" data-time="1309532094" data-date="01 July 2011 - 07:54 AM"><p>
Can you try re-installing to see if you got a bad download somehow?<br /></p></blockquote>
<br />
I think it's this problem:<br />
<br />
<blockquote class='ipsBlockquote' ><p>Important: If you are running on recent released Linux distributions or 64-bit distributions you might be bumping into an Eclipse 3.7 regression bug that prevents the visual page editor to load and result in a hard crash of the visual VM. To avoid this problem you can run eclipse with a property to disable the visual page editor.<br />
<br />
<br />
<br />
eclipse -vmargs -Dorg.jboss.tools.vpe.loadxulrunner=false<br />
<br />
<br />
<br />
Alternatively you can try using<br />
<br />
<a class='bbc_url' href='
http://anonsvn.jboss.org/repos/jbosstools/workspace/snjeza/swt.xulrunner.patch'>http://anonsvn.jboss.org/repos/jbosstools/workspace/snjeza/swt.xulrunner.patch</a><br
/>
<br />
as updatesite to install temporary SWT patch that works similar to the planned Eclipse 3.7.1 patch.<br /></p></blockquote>
<br />
Source: <a class='bbc_url' href='
http://planet.jboss.org/post/chasing_a_white_rabbit_with_jboss_tools_3_3_m2'>http://planet.jboss.org/post/chasing_a_white_rabbit_with_jboss_tools_3_3_m2</a><br
/>
<br />
Bug: <a class='bbc_url' href='
https://bugs.eclipse.org/bugs/show_bug.cgi?id=349837'>https://bugs.eclipse.org/bugs/show_bug.cgi?id=349837</a><br
/>
<br />
Unfortunately I've tried the patch update site on Eclipse Reporting 3.7 (with BIRT Designer) and it still crashes.
mwilliams
Have you tried the avoiding the visual page editor way? Does it still crash then? If neither way works for you, please log another bug for this.
ceefour
<blockquote class='ipsBlockquote' data-author="'mwilliams'" data-cid="79605" data-time="1309874838" data-date="05 July 2011 - 07:07 AM"><p>
Have you tried the avoiding the visual page editor way? Does it still crash then? If neither way works for you, please log another bug for this.<br /></p></blockquote>
<br />
I'm using Indigo SR1 (Eclipse BIRT Reporting 3.7.1) and it still crashes.<br />
<br />
Launching Eclipse with:<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>eclipse -vmargs -Dorg.jboss.tools.vpe.loadxulrunner=false</pre>
<br />
has no effect, it still crashes.
ceefour
I also tried running with: (inspired by <a class='bbc_url' href='
https://bugs.eclipse.org/bugs/show_bug.cgi?id=340998'>https://bugs.eclipse.org/bugs/show_bug.cgi?id=340998</a>
; )<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>./eclipse -vmargs -Dorg.eclipse.swt.browser.UseWebKitGTK=true</pre>
<br />
but it still crashes.<br />
<br />
Here's the output when crashing:<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>ceefour@annafi:/opt/eclipse_reporting$ ./eclipse
No bp log location saved, using default.
[000:000] Browser XEmbed support present: 1
[000:000] Browser toolkit is Gtk2.
[000:000] Using Gtk2 toolkit
[000:001] Warning(optionsfile.cc:23): Load: Could not open file, err=2
[000:001] No bp log location saved, using default.
[000:001] Browser XEmbed support present: 1
[000:001] Browser toolkit is Gtk2.
[000:001] Using Gtk2 toolkit
[000:011] Warning(optionsfile.cc:23): Load: Could not open file, err=2
[000:011] No bp log location saved, using default.
[000:011] Browser XEmbed support present: 1
[000:011] Browser toolkit is Gtk2.
[000:011] Using Gtk2 toolkit
Opened debug file '/home/ceefour/tmp/mozdebug'</pre>
<br />
Here are list of log files, let me know if you need anything from here: (note: ReportEngine_*.log files are all empty)<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>ceefour@annafi:/opt/eclipse_reporting$ find /home/ceefour/spaces/reporting/ -iname '*2011_10_30*.log'
/home/ceefour/spaces/reporting/.metadata/.plugins/org.eclipse.birt.chart.engine/org.eclipse.birt.chart.engine_2011_10_30_10_00_46_659.log
/home/ceefour/spaces/reporting/.metadata/.plugins/org.eclipse.birt.report.viewer/logs/org.eclipse.datatools.enablement.oda_2011_10_30_10_23_05.log
/home/ceefour/spaces/reporting/.metadata/.plugins/org.eclipse.birt.report.viewer/logs/ReportEngine_2011_10_30_10_26_03.log
/home/ceefour/spaces/reporting/.metadata/.plugins/org.eclipse.birt.report.viewer/logs/org.eclipse.datatools.enablement.oda_2011_10_30_10_27_00.log
/home/ceefour/spaces/reporting/.metadata/.plugins/org.eclipse.birt.report.viewer/logs/org.eclipse.datatools.enablement.oda_2011_10_30_10_26_03.log
/home/ceefour/spaces/reporting/.metadata/.plugins/org.eclipse.birt.report.viewer/logs/org.eclipse.datatools.connectivity.oda_2011_10_30_10_29_01.log
/home/ceefour/spaces/reporting/.metadata/.plugins/org.eclipse.birt.report.viewer/logs/org.eclipse.datatools.connectivity.oda_2011_10_30_10_24_28.log
/home/ceefour/spaces/reporting/.metadata/.plugins/org.eclipse.birt.report.viewer/logs/org.eclipse.datatools.enablement.oda_2011_10_30_10_29_01.log
/home/ceefour/spaces/reporting/.metadata/.plugins/org.eclipse.birt.report.viewer/logs/org.eclipse.datatools.enablement.oda_2011_10_30_10_25_01.log
/home/ceefour/spaces/reporting/.metadata/.plugins/org.eclipse.birt.report.viewer/logs/ReportEngine_2011_10_30_10_23_42.log
/home/ceefour/spaces/reporting/.metadata/.plugins/org.eclipse.birt.report.viewer/logs/org.eclipse.datatools.connectivity.oda_2011_10_30_10_23_42.log
/home/ceefour/spaces/reporting/.metadata/.plugins/org.eclipse.birt.report.viewer/logs/org.eclipse.datatools.connectivity.oda_2011_10_30_10_27_00.log
/home/ceefour/spaces/reporting/.metadata/.plugins/org.eclipse.birt.report.viewer/logs/org.eclipse.datatools.enablement.oda_2011_10_30_10_23_42.log
/home/ceefour/spaces/reporting/.metadata/.plugins/org.eclipse.birt.report.viewer/logs/org.eclipse.datatools.connectivity.oda_2011_10_30_10_23_05.log
/home/ceefour/spaces/reporting/.metadata/.plugins/org.eclipse.birt.report.viewer/logs/org.eclipse.datatools.enablement.oda_2011_10_30_10_24_28.log
/home/ceefour/spaces/reporting/.metadata/.plugins/org.eclipse.birt.report.viewer/logs/ReportEngine_2011_10_30_10_27_00.log
/home/ceefour/spaces/reporting/.metadata/.plugins/org.eclipse.birt.report.viewer/logs/ReportEngine_2011_10_30_10_29_01.log
/home/ceefour/spaces/reporting/.metadata/.plugins/org.eclipse.birt.report.viewer/logs/ReportEngine_2011_10_30_10_25_01.log
/home/ceefour/spaces/reporting/.metadata/.plugins/org.eclipse.birt.report.viewer/logs/ReportEngine_2011_10_30_10_23_05.log
/home/ceefour/spaces/reporting/.metadata/.plugins/org.eclipse.birt.report.viewer/logs/org.eclipse.datatools.connectivity.oda_2011_10_30_10_26_03.log
/home/ceefour/spaces/reporting/.metadata/.plugins/org.eclipse.birt.report.viewer/logs/org.eclipse.datatools.connectivity.oda_2011_10_30_10_25_01.log
/home/ceefour/spaces/reporting/.metadata/.plugins/org.eclipse.birt.report.viewer/logs/ReportEngine_2011_10_30_10_24_28.log</pre>
ceefour
I found a workaround!<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>./eclipse -vmargs -Dorg.eclipse.swt.browser.DefaultType=mozilla</pre>
<br />
This solves the crashing problem entirely.<br />
<br />
Workaround found from: <a class='bbc_url' href='
https://bugs.eclipse.org/bugs/show_bug.cgi?id=349837#c14'>https://bugs.eclipse.org/bugs/show_bug.cgi?id=349837#c14</a><br
/>
<br />
The Eclipse bug was marked fixed as of 3.7.1 however it still requires the manual command-line argument to avoid the crash in Eclipse Reporting/BIRT 3.7.1.<br />
<br />
My sistem info:<br />
Linux annafi 2.6.38-12-generic #51+kamal3~mjgbacklight5-Ubuntu SMP Wed Oct 5 20:13:06 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux<br />
<br />
java version "1.6.0_26"<br />
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)<br />
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)<br />
<br />
I'll file a separate bug report for Eclipse BIRT project.
ceefour
Filed bug: <a class='bbc_url' href='
https://bugs.eclipse.org/bugs/show_bug.cgi?id=362416'>Bug
362416</a>
ceefour
Blogged this at <a class='bbc_url' href='
http://eclipsedriven.blogspot.com/2011/10/how-to-fix-eclipse-birt-designer-371.html'>How
to Fix Eclipse BIRT Designer 3.7.1 Crash when Previewing Reports in Linux 64-bit | Eclipse Driven</a><br />
<br />
Hopefully it is helpful for other BIRT report developers having the same problem.
mwilliams
Thanks for all the updates on the workaround and bug report! Let us know whenever you have questions!