From bba4068e8eef0a40c524396157de1656f785e141 Mon Sep 17 00:00:00 2001 From: tcofoegbu Date: Fri, 25 Sep 2015 12:29:24 +0100 Subject: [PATCH] JAL-1907 bugfix for NPE while parsing a features file --- src/jalview/io/IdentifyFile.java | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 1.7.10.2