Catch the case of a failure to start the browser listener and avoid NPE, so the log message stays visible. Patch by: jat Review by: bobv (TBR) git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@4506 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/dev/oophm/src/com/google/gwt/dev/shell/BrowserListener.java b/dev/oophm/src/com/google/gwt/dev/shell/BrowserListener.java index 4d6c225..b06c46a 100644 --- a/dev/oophm/src/com/google/gwt/dev/shell/BrowserListener.java +++ b/dev/oophm/src/com/google/gwt/dev/shell/BrowserListener.java
@@ -98,6 +98,8 @@ } public void start() { - listenThread.start(); + if (listenThread != null) { + listenThread.start(); + } } }