JAL-1894 update year/version in copyright
[jalview.git] / src / jalview / io / IdentifyFile.java
index a241e0e..b062e5d 100755 (executable)
@@ -1,5 +1,5 @@
 /*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9)
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b1)
  * Copyright (C) 2015 The Jalview Authors
  *
  * This file is part of Jalview.
@@ -260,6 +260,10 @@ public class IdentifyFile
           {
             break;
           }
+          if (data == null)
+          {
+            break;
+          }
         }
 
         if (data.indexOf("{\"") > -1)