Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » For Preview, Internal browser is not available - how to set(Unhandled event loop exception. No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)])
For Preview, Internal browser is not available - how to set [message #659108] Fri, 11 March 2011 05:06 Go to next message
Anandan Subramani is currently offline Anandan SubramaniFriend
Messages: 2
Registered: March 2011
Junior Member
Hi,
I downloaded "birt-report-designer-all-in-one-linux-gtk-2_5_2.tar.gz" to my CentOS 4.3 and untarred to get the eclipse (Galileo) platform. As I had eclipse 3.1 version, just moved away that and started using this elipse for BIRT.

Currently learning to generate reports. After designing few reports, I could preview them using my mozilla firefox browser, and an error message "Internal browser is not available" is always shown in eclipse preview window. I didn;t give much importance to that. Now I'm facing a problem - when reports with user filtering is designed - clicking preview button displays the error

"Unhandled event loop exception
No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]"

I tried to resolve this issue - but to no solution. Still the "Internal browser is not available" error appears. I think if I could resolve this "Internal browser is not available" error, the above exception won't appear.

I am looking forward for possible solution to resolve the above issues. Please provide any help.

Thanks
Anandan.V.S.
Re: For Preview, Internal browser is not available - how to set [message #659231 is a reply to message #659108] Fri, 11 March 2011 15:32 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Anandan,

Can you try to start eclipse with the -clean option? Also look at the
window-preferences->Report Design->Preview options. There is a check
box to always use an external browser.

You may also want to search your workspace for a .log file that should
have a stack trace in it when you get the error.

Jason

On 3/11/2011 12:06 AM, Anandan Subramani wrote:
> Hi,
> I downloaded "birt-report-designer-all-in-one-linux-gtk-2_5_2.tar.gz" to
> my CentOS 4.3 and untarred to get the eclipse (Galileo) platform. As I
> had eclipse 3.1 version, just moved away that and started using this
> elipse for BIRT.
>
> Currently learning to generate reports. After designing few reports, I
> could preview them using my mozilla firefox browser, and an error
> message "Internal browser is not available" is always shown in eclipse
> preview window. I didn;t give much importance to that. Now I'm facing a
> problem - when reports with user filtering is designed - clicking
> preview button displays the error
> "Unhandled event loop exception
> No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]"
>
> I tried to resolve this issue - but to no solution. Still the "Internal
> browser is not available" error appears. I think if I could resolve this
> "Internal browser is not available" error, the above exception won't
> appear.
>
> I am looking forward for possible solution to resolve the above issues.
> Please provide any help.
>
> Thanks Anandan.V.S.
Re: For Preview, Internal browser is not available - how to set [message #659338 is a reply to message #659231] Sat, 12 March 2011 13:30 Go to previous messageGo to next message
Anandan Subramani is currently offline Anandan SubramaniFriend
Messages: 2
Registered: March 2011
Junior Member
Jason,

Thank you. I could see the .log file in my workspace but it does not give any information more than that I mentioned -

!ENTRY org.eclipse.ui 4 0 2011-03-11 11:56:01.531
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]
at org.eclipse.swt.SWT.error(SWT.java:3910)
at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:485)
at org.eclipse.swt.browser.Browser.<init>(Browser.java:119)

When I set MOZILLA_FIVE_HOME to export MOZILLA_FIVE_HOME=/usr/lib/firefox-3.0.1/
it reported swt.jar was not available. I copied swt.jar to the above directory, then
eclipse started to crash.

Now instead of previewing, I do the following: Run -> View Report -> In Web Viewer

I get the Report parameter window properly to give the values and get the report rightly.
Re: For Preview, Internal browser is not available - how to set [message #659558 is a reply to message #659338] Mon, 14 March 2011 15:12 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

I assume you tried the clean option?

Jason

On 3/12/2011 8:30 AM, Anandan Subramani wrote:
> Jason,
>
> Thank you. I could see the .log file in my workspace but it does not
> give any information more than that I mentioned -
> !ENTRY org.eclipse.ui 4 0 2011-03-11 11:56:01.531
> !MESSAGE Unhandled event loop exception
> !STACK 0
> org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path
> (MOZILLA_FIVE_HOME not set)]
> at org.eclipse.swt.SWT.error(SWT.java:3910)
> at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:485)
> at org.eclipse.swt.browser.Browser.<init>(Browser.java:119)
>
> When I set MOZILLA_FIVE_HOME to export
> MOZILLA_FIVE_HOME=/usr/lib/firefox-3.0.1/
> it reported swt.jar was not available. I copied swt.jar to the above
> directory, then
> eclipse started to crash.
>
> Now instead of previewing, I do the following: Run -> View Report -> In
> Web Viewer
>
> I get the Report parameter window properly to give the values and get
> the report rightly.
Re: For Preview, Internal browser is not ava ilable - how to set [message #660835 is a reply to message #659108] Mon, 21 March 2011 21:01 Go to previous message
Colin  is currently offline Colin Friend
Messages: 14
Registered: September 2010
Junior Member
Anandan Subramani <vsanandan@in.com> wrote:
> Hi,
> I downloaded "birt-report-designer-all-in-one-linux-gtk-2_5_2.tar.gz" to
> my CentOS 4.3 and untarred to get the eclipse (Galileo) platform. As I
> had eclipse 3.1 version, just moved away that and started using this elipse for BIRT.
>
> Currently learning to generate reports. After designing few reports, I
> could preview them using my mozilla firefox browser, and an error message
> "Internal browser is not available" is always shown in eclipse preview
> window. I didn;t give much importance to that. Now I'm facing a problem -
> when reports with user filtering is designed - clicking preview button displays the error
> "Unhandled event loop exception
> No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]"
>
> I tried to resolve this issue - but to no solution. Still the "Internal
> browser is not available" error appears. I think if I could resolve this
> "Internal browser is not available" error, the above exception won't appear.
>
> I am looking forward for possible solution to resolve the above issues.
> Please provide any help.
>
> Thanks Anandan.V.S.
I reported this problem with eclipse; it happens with the ganymede and
galileo all-in-one builds for mac os x. It was fixed with the helios
all-in-one.

--
Colin Sutton
Previous Topic:Chart Output in Excel Emitter
Next Topic:Set Postscript to Reverse Page Order?
Goto Forum:
  


Current Time: Fri Apr 19 23:13:30 GMT 2024

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

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

Back to the top