Error Running GWT in x86_64 Linux

2009-11-12 Thread Jeff Levesque
Hi All,
I just started using GWT and I'm having some problems getting my GWT
project in Eclipse to run. I started by creating a new Web Application
Project, clicked the project and tried to run it but I'm getting this
error when it runs:

The browser widget class could not be instantiated.

[ERROR] The browser widget class could not be instantiated
org.eclipse.swt.SWTError: XPCOM error -2147221164
at org.eclipse.swt.browser.Browser.error(Browser.java:1336)
at org.eclipse.swt.browser.Browser.init(Browser.java:236)
at com.google.gwt.dev.shell.BrowserWidget.init(BrowserWidget.java:
257)
at com.google.gwt.dev.shell.moz.BrowserWidgetMoz.init
(BrowserWidgetMoz.java:103)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
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:107)
at com.google.gwt.dev.SwtHostedModeBase.openNewBrowserWindow
(SwtHostedModeBase.java:179)
at com.google.gwt.dev.SwtHostedModeBase.launchStartupUrls
(SwtHostedModeBase.java:162)
at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:402)
at com.google.gwt.dev.HostedMode.main(HostedMode.java:232)

I tried the same steps on WindowsXP (x86_64) and didn't encounter the
same problem. Any help would be appreciated.

Thanks,
- Jeff

Configuration:
Linux Kernel: 2.6.29.4-167.fc11.x86_64
Eclipse 3.5.1 M20090917-0800 (I tried 32bit and 64bit)
Java jdk1.6.0_17 (tried 32bit and 64bit)
GWT 1.7.1
Google App Engine 1.2.6
Google Plugin 1.1.2

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: Error Running GWT in x86_64 Linux

2009-11-12 Thread Rajeev Dayal
Unfortunately, the embedded version of Mozilla that GWT uses is a bit
fragile when it comes to different Linux distros. I'd recommend that you
give GWT Trunk or GWT 2.0 a try, as it does not use embedded Mozilla.

On Wed, Nov 11, 2009 at 1:38 PM, Jeff Levesque
jeffreysleves...@gmail.comwrote:

 Hi All,
 I just started using GWT and I'm having some problems getting my GWT
 project in Eclipse to run. I started by creating a new Web Application
 Project, clicked the project and tried to run it but I'm getting this
 error when it runs:

 The browser widget class could not be instantiated.

 [ERROR] The browser widget class could not be instantiated
 org.eclipse.swt.SWTError: XPCOM error -2147221164
at org.eclipse.swt.browser.Browser.error(Browser.java:1336)
at org.eclipse.swt.browser.Browser.init(Browser.java:236)
at com.google.gwt.dev.shell.BrowserWidget.init(BrowserWidget.java:
 257)
at com.google.gwt.dev.shell.moz.BrowserWidgetMoz.init
 (BrowserWidgetMoz.java:103)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
 Method)
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:107)
at com.google.gwt.dev.SwtHostedModeBase.openNewBrowserWindow
 (SwtHostedModeBase.java:179)
at com.google.gwt.dev.SwtHostedModeBase.launchStartupUrls
 (SwtHostedModeBase.java:162)
at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:402)
at com.google.gwt.dev.HostedMode.main(HostedMode.java:232)

 I tried the same steps on WindowsXP (x86_64) and didn't encounter the
 same problem. Any help would be appreciated.

 Thanks,
 - Jeff

 Configuration:
 Linux Kernel: 2.6.29.4-167.fc11.x86_64
 Eclipse 3.5.1 M20090917-0800 (I tried 32bit and 64bit)
 Java jdk1.6.0_17 (tried 32bit and 64bit)
 GWT 1.7.1
 Google App Engine 1.2.6
 Google Plugin 1.1.2

 --

 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=.




--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.