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:
0ae8a36
)
nullpointer bugfix (possibly not needed - was an error in closing of alignment panels)
author
jprocter
<Jim Procter>
Fri, 12 Jun 2009 15:49:54 +0000
(15:49 +0000)
committer
jprocter
<Jim Procter>
Fri, 12 Jun 2009 15:49:54 +0000
(15:49 +0000)
src/jalview/gui/SequenceRenderer.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/SequenceRenderer.java
b/src/jalview/gui/SequenceRenderer.java
index
c390041
..
1d49da8
100755
(executable)
--- a/
src/jalview/gui/SequenceRenderer.java
+++ b/
src/jalview/gui/SequenceRenderer.java
@@
-181,6
+181,7
@@
public class SequenceRenderer
public synchronized void drawBoxes(SequenceI seq, int start, int end,
int y1)
{
+ if (seq==null) return; // fix for racecondition
int i = start;
int length = seq.getLength();