avoid NPE race condition when several threads waiting on a sequence fetcher discovery...
authorjprocter <jprocter@compbio.dundee.ac.uk>
Wed, 17 Aug 2011 13:43:49 +0000 (14:43 +0100)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Wed, 17 Aug 2011 13:43:49 +0000 (14:43 +0100)
src/jalview/gui/SequenceFetcher.java

index 14c0a00..3defa9c 100755 (executable)
@@ -119,7 +119,7 @@ public class SequenceFetcher extends JPanel implements Runnable
       if (guiWindow != null)
       {
         guiWindow.setProgressBar("Initialising Sequence Database Fetchers",
-                initingThread.hashCode());
+                Thread.currentThread().hashCode());
       }
       sfetch = sf;
       _initingFetcher = false;