chiark / gitweb /
Fix shipboard uploading nullpointerexception
authorOwen S. Dunn <osd1000@tacitus.greenend.org.uk>
Tue, 22 Dec 2009 00:37:02 +0000 (00:37 +0000)
committerOwen S. Dunn <osd1000@tacitus.greenend.org.uk>
Tue, 22 Dec 2009 00:37:02 +0000 (00:37 +0000)
src/com/tedpearson/ypp/market/MarketUploader.java

index 8e0c109..756dec3 100644 (file)
@@ -305,6 +305,7 @@ public class MarketUploader implements TopLevelWindowListener, GUIInitializedLis
 
                Accessible leagueTracker = descendNodes(window,new int[] {0,1,0,0,2,1,1,1});
                try {
+                       latch = new java.util.concurrent.CountDownLatch(0);
                        islandName = ((JLabel)leagueTracker).getToolTipText();
                } catch (NullPointerException e) {