git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9734e4
)
JAL-1907 bugfix for NPE while parsing a features file
author
tcofoegbu
<tcnofoegbu@dundee.ac.uk>
Fri, 25 Sep 2015 11:29:24 +0000
(12:29 +0100)
committer
tcofoegbu
<tcnofoegbu@dundee.ac.uk>
Fri, 25 Sep 2015 11:29:24 +0000
(12:29 +0100)
src/jalview/io/IdentifyFile.java
patch
|
blob
|
history
diff --git
a/src/jalview/io/IdentifyFile.java
b/src/jalview/io/IdentifyFile.java
index
ff0f0cc
..
aec0540
100755
(executable)
--- 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)