GWT 2.0.0 Unable to launch default browser

2009-12-09 Thread Thad
When I started Firefox 3.5.5 this morning, it updated the GWT
Developer Plugin to 1.0.7263

Downloaded and installed GWT 2.0.0 on my Linux box, and tried running
the samples.  The development mode tool will not launch the
application in my browser, requiring me to cut and past the URL each
time.  The stack trace is:

00:00:00.001 [ERROR] Unable to launch default browser
java.io.IOException: Failed to show URI:http://localhost:/
Mail.html?gwt.codesvr=127.0.0.2:9997
at sun.awt.X11.XDesktopPeer.launch(XDesktopPeer.java:75)
at sun.awt.X11.XDesktopPeer.browse(XDesktopPeer.java:64)
at java.awt.Desktop.browse(Desktop.java:368)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.util.BrowserLauncher
$ReflectiveLauncher.browse(BrowserLauncher.java:115)
at com.google.gwt.dev.util.BrowserLauncher.browse
(BrowserLauncher.java:212)
at com.google.gwt.dev.shell.ShellMainWindow
$DefaultBrowserLauncher.launchUrl(ShellMainWindow.java:92)
at com.google.gwt.dev.shell.ShellMainWindow.launch
(ShellMainWindow.java:278)
at com.google.gwt.dev.shell.ShellMainWindow$1.actionPerformed
(ShellMainWindow.java:193)
at javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed
(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed
(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed
(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased
(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6263)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3255)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:4574)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:
4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:
4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters
(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter
(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

--

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=en.




Re: GWT 2.0.0 Unable to launch default browser

2009-12-09 Thread Chris Ramsdale
What distro of Linux are you running? I wonder if you're running into an
issue similar to this one:

http://java-hamster.blogspot.com/2007/06/troubles-with-javaawtdesktop-browse.html


On Wed, Dec 9, 2009 at 2:02 PM, Thad thad.humphr...@gmail.com wrote:

 When I started Firefox 3.5.5 this morning, it updated the GWT
 Developer Plugin to 1.0.7263

 Downloaded and installed GWT 2.0.0 on my Linux box, and tried running
 the samples.  The development mode tool will not launch the
 application in my browser, requiring me to cut and past the URL each
 time.  The stack trace is:

 00:00:00.001 [ERROR] Unable to launch default browser
 java.io.IOException: Failed to show URI:http://localhost:/
 Mail.html?gwt.codesvr=127.0.0.2:9997
at sun.awt.X11.XDesktopPeer.launch(XDesktopPeer.java:75)
at sun.awt.X11.XDesktopPeer.browse(XDesktopPeer.java:64)
at java.awt.Desktop.browse(Desktop.java:368)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
 (NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
 (DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.util.BrowserLauncher
 $ReflectiveLauncher.browse(BrowserLauncher.java:115)
at com.google.gwt.dev.util.BrowserLauncher.browse
 (BrowserLauncher.java:212)
at com.google.gwt.dev.shell.ShellMainWindow
 $DefaultBrowserLauncher.launchUrl(ShellMainWindow.java:92)
at com.google.gwt.dev.shell.ShellMainWindow.launch
 (ShellMainWindow.java:278)
at com.google.gwt.dev.shell.ShellMainWindow$1.actionPerformed
 (ShellMainWindow.java:193)
at javax.swing.AbstractButton.fireActionPerformed
 (AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed
 (AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed
 (DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed
 (DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased
 (BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6263)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3255)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent
 (Container.java:4574)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:
 4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:
 4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters
 (EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter
 (EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy
 (EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents
 (EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents
 (EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

 --

 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=en.




--

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=en.




Re: GWT 2.0.0 Unable to launch default browser

2009-12-09 Thread piyush sharma
On 12/10/09, Chris Ramsdale cramsd...@google.com wrote:

 What distro of Linux are you running? I wonder if you're running into an
 issue similar to this one:



 http://java-hamster.blogspot.com/2007/06/troubles-with-javaawtdesktop-browse.html



 On Wed, Dec 9, 2009 at 2:02 PM, Thad thad.humphr...@gmail.com wrote:

 When I started Firefox 3.5.5 this morning, it updated the GWT
 Developer Plugin to 1.0.7263

 Downloaded and installed GWT 2.0.0 on my Linux box, and tried running
 the samples.  The development mode tool will not launch the
 application in my browser, requiring me to cut and past the URL each
 time.  The stack trace is:

 00:00:00.001 [ERROR] Unable to launch default browser
 java.io.IOException: Failed to show URI:http://localhost:/
 Mail.html?gwt.codesvr=127.0.0.2:9997
at sun.awt.X11.XDesktopPeer.launch(XDesktopPeer.java:75)
at sun.awt.X11.XDesktopPeer.browse(XDesktopPeer.java:64)
at java.awt.Desktop.browse(Desktop.java:368)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
 (NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
 (DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.util.BrowserLauncher
 $ReflectiveLauncher.browse(BrowserLauncher.java:115)
at com.google.gwt.dev.util.BrowserLauncher.browse
 (BrowserLauncher.java:212)
at com.google.gwt.dev.shell.ShellMainWindow
 $DefaultBrowserLauncher.launchUrl(ShellMainWindow.java:92)
at com.google.gwt.dev.shell.ShellMainWindow.launch
 (ShellMainWindow.java:278)
at com.google.gwt.dev.shell.ShellMainWindow$1.actionPerformed
 (ShellMainWindow.java:193)
at javax.swing.AbstractButton.fireActionPerformed
 (AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed
 (AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed
 (DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed
 (DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased
 (BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6263)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3255)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent
 (Container.java:4574)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:
 4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:
 4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters
 (EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter
 (EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy
 (EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents
 (EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents
 (EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

 --

 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=en.





 --
 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=en.


--

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=en.