I am using Ubuntu.
Beginner for GWT.
Browser is not opening while running the xyz-shell script.
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 ?