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:
b5053b9
)
NPE race condition alert - see JAL-661
author
jprocter
<Jim Procter>
Thu, 23 Sep 2010 08:31:10 +0000
(08:31 +0000)
committer
jprocter
<Jim Procter>
Thu, 23 Sep 2010 08:31:10 +0000
(08:31 +0000)
src/jalview/analysis/AAFrequency.java
patch
|
blob
|
history
diff --git
a/src/jalview/analysis/AAFrequency.java
b/src/jalview/analysis/AAFrequency.java
index
4bff6ef
..
31cb7ad
100755
(executable)
--- a/
src/jalview/analysis/AAFrequency.java
+++ b/
src/jalview/analysis/AAFrequency.java
@@
-105,6
+105,11
@@
public class AAFrequency
for (j = 0; j < jSize; j++)
{
+ if (sequences[j]==null)
+ {
+ System.err.println("WARNING: Consensus skipping null sequence - possible race condition.");
+ continue;
+ }
seq = sequences[j].getSequence();
if (seq.length > i)
{