org.eclipse.swt.SWTError: No more handles [NS_InitEmbedding

44 views
Skip to first unread message

Apoorv Sharma

unread,
Mar 11, 2008, 1:01:50 PM3/11/08
to Google Web Toolkit
Get this error when I run any application(tried various sample
applications) in Hosted mode(executing the xyz-shell script):
---
[ERROR] The browser widget class could not be instantiated
org.eclipse.swt.SWTError: No more handles [NS_InitEmbedding /home/
apoorv/cc/gwt-linux-1.4.61/mozilla-1.7.12 error -2147221164]
at org.eclipse.swt.SWT.error(SWT.java:3400)
at org.eclipse.swt.browser.Browser.<init>(Browser.java:226)
at
com.google.gwt.dev.shell.BrowserWidget.<init>(BrowserWidget.java:
242)
at
com.google.gwt.dev.shell.moz.BrowserWidgetMoz.<init>(BrowserWidgetMoz.java:
83)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:
39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:
27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:
513)
at
com.google.gwt.dev.shell.PlatformSpecific.createBrowserWidget(PlatformSpecific.java:
53)
at
com.google.gwt.dev.GWTShell.openNewBrowserWindow(GWTShell.java:
504)
at com.google.gwt.dev.GWTShell.launchStartupUrls(GWTShell.java:
465)
at com.google.gwt.dev.GWTShell.run(GWTShell.java:548)
at com.google.gwt.dev.GWTShell.main(GWTShell.java:321)
---

Although after running the xyz-shell if I manually open a browser and
open the link it works.

Any idea what should I do ?

Sumit Chandel

unread,
Mar 14, 2008, 4:41:42 PM3/14/08
to Google-We...@googlegroups.com
Hi Apoorv,

What distribution of Linux are you running? Some developers were experiencing the same issue using specific Linux distributions, and often solved the problem by switching to a stabler version of that distribution.

Check this thread for an example. Also, a search for "no more handles" on the GWT forum should turn up some useful threads:

http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/ef216bfbc0916690/40658a890836367a?lnk=gst&q=No+more+handles#40658a890836367a

Cheers,
-Sumit Chandel

Apoorv Sharma

unread,
Apr 10, 2008, 6:20:17 PM4/10/08
to Google Web Toolkit
On Mar 15, 1:41 am, "Sumit Chandel" <sumitchan...@google.com> wrote:
> Hi Apoorv,
>
> What distribution of Linux are you running? Some developers were
> experiencing the same issue using specific Linux distributions, and often
> solved the problem by switching to a stabler version of that distribution.

I am using Ubuntu. Its a stable version of it.
had gone through problems faced by others and tried that all. The
library problem, after resolving that problem by renaming libraries
and creating links. I got this problem.

>
> Check this thread for an example. Also, a search for "no more handles" on
> the GWT forum should turn up some useful threads:
>
> http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa...

have gone through all of them none mentions my problem. The problem
they mentioned was there in my system and I resolved them all. This
one is the current one.
I feel that the problem is at the level of JAVA trying to call mozilla
and not being able to do so. IT IS NOT A PROBLEM WITH PERMISSIONS of
any folder or file.
>
> Cheers,
> -Sumit Chandel
>

Will try using a different system if you say.

> On Tue, Mar 11, 2008 at 10:01 AM, Apoorv Sharma <mail.apo...@gmail.com>
Reply all
Reply to author
Forward
0 new messages