Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » swt browser - no more handles Error(no more handles Error on ArchLinux)
swt browser - no more handles Error [message #717474] Sat, 20 August 2011 22:41 Go to next message
Hekmatof  is currently offline Hekmatof Friend
Messages: 5
Registered: August 2011
Location: Iran/Tehran
Junior Member

I wrote a simple program. just a CTabFolder and a WelcomTab inherent from CTabItem. I want to fill my WelcomeTab by a browser which render my htmls. at the init() method of WelcomeTab I Create a Browser but when program want to construct it I get this Error
Exception in thread "main" org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]
at org.eclipse.swt.SWT.error(Unknown Source)
at org.eclipse.swt.browser.Mozilla.initMozilla(Unknown Source)
at org.eclipse.swt.browser.Mozilla.create(Unknown Source)
at org.eclipse.swt.browser.Browser.<init>(Unknown Source)
at org.hekmatof.Hbook.UI.WelcomeTab.init(WelcomeTab.java:55)
at org.hekmatof.Hbook.UI.WelcomeTab.<init>(WelcomeTab.java:30)
...

in addition I Use Eclipse 3.7 on KDE based on Arch-Linux
as I searched for this Error everywhere tells about handle limited on threads, but this is simple program with no Font or Image ... to dispose. I think it should be a problem about gain handle from Operation System. Could it be a bug? or I'm wrong?
Re: swt browser - no more handles Error [message #717794 is a reply to message #717474] Mon, 22 August 2011 11:41 Go to previous messageGo to next message
Lakshmi ShanmugamFriend
Messages: 275
Registered: July 2009
Location: India
Senior Member
Hi,
The error says [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]
Please see this faq entry --> http://www.eclipse.org/swt/faq.php#browserlinuxrcp


Lakshmi P Shanmugam
try installing webgit [message #1715337 is a reply to message #717794] Sun, 22 November 2015 12:37 Go to previous messageGo to next message
Chris Blaeul is currently offline Chris BlaeulFriend
Messages: 1
Registered: November 2015
Junior Member
The command
apt-get install libwebkitgtk-1.0-0
removed the error for me.
Re: try installing webkitgtk [message #1759906 is a reply to message #1715337] Wed, 19 April 2017 19:06 Go to previous message
Bruno Haible is currently offline Bruno HaibleFriend
Messages: 1
Registered: April 2017
Junior Member
If you are using a 32-bit Eclipse (with a 32-bit JRE) on a 64-bit Linux, you need to install the 32-bit variant of the webkitgtk libraries:
sudo apt-get install libwebkitgtk-1.0-0:i386

Without the suffix, it would install the 64-bit webkitgtk libraries, which a 32-bit JRE cannot use.
Previous Topic:Are long operations in the main thread allowed?
Next Topic:MenuItem tooltip timer exception
Goto Forum:
  


Current Time: Mon Dec 18 12:35:39 GMT 2017

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

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