Revision: 6235 Author: [email protected] Date: Mon Sep 28 10:31:06 2009 Log: Fixed a possible NPE that can occur if a test times out before any clients retrieve the test.
Patch by: jlabanca Review by: jat http://code.google.com/p/google-web-toolkit/source/detail?r=6235 Modified: /trunk/user/src/com/google/gwt/junit/JUnitMessageQueue.java ======================================= --- /trunk/user/src/com/google/gwt/junit/JUnitMessageQueue.java Tue Sep 15 11:52:45 2009 +++ /trunk/user/src/com/google/gwt/junit/JUnitMessageQueue.java Mon Sep 28 10:31:06 2009 @@ -306,7 +306,7 @@ buf.append('\n'); } - if (!results.containsKey(clientStatus.clientId)) { + if (results == null | | !results.containsKey(clientStatus.clientId)) { buf.append(" - NO RESPONSE: "); } else { buf.append(" - (ok): "); --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---
