From: tcofoegbu Date: Fri, 25 Sep 2015 11:29:24 +0000 (+0100) Subject: JAL-1907 bugfix for NPE while parsing a features file X-Git-Tag: Release_2_10_0~386 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=bba4068e8eef0a40c524396157de1656f785e141;p=jalview.git JAL-1907 bugfix for NPE while parsing a features file --- diff --git a/src/jalview/io/IdentifyFile.java b/src/jalview/io/IdentifyFile.java index ff0f0cc..aec0540 100755 --- a/src/jalview/io/IdentifyFile.java +++ b/src/jalview/io/IdentifyFile.java @@ -260,6 +260,10 @@ public class IdentifyFile { break; } + if (data == null) + { + break; + } } if (data.indexOf("{\"") > -1)