From c553d9c48f3813ed32342416c3015795869efd2b Mon Sep 17 00:00:00 2001 From: BobHanson Date: Wed, 10 Jun 2020 12:24:58 -0500 Subject: [PATCH] Bamboo test 2 -- threads and stacktrace --- src/jalview/viewmodel/ViewportRanges.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/jalview/viewmodel/ViewportRanges.java b/src/jalview/viewmodel/ViewportRanges.java index f89776e..7833778 100644 --- a/src/jalview/viewmodel/ViewportRanges.java +++ b/src/jalview/viewmodel/ViewportRanges.java @@ -236,7 +236,6 @@ public class ViewportRanges extends ViewportProperties */ public void setStartEndSeq(int start, int end) { - System.out.println("ViewportRange setStartEndSeq " + start + " " + end); int[] oldvalues = updateStartEndSeq(start, end); int oldstartseq = oldvalues[0]; int oldendseq = oldvalues[1]; @@ -262,7 +261,11 @@ public class ViewportRanges extends ViewportProperties */ private int[] updateStartEndSeq(int start, int end) { - System.out.println("ViewportRange updateStartEndSeq " + start + " " + end); + + if (end == 3 && this.endSeq == 14 || end == 13 && this.endSeq == 3) { + new NullPointerException().printStackTrace(); + System.out.println("ViewportRange updateStartEndSeq " + start + " " + end + " " + Thread.currentThread()); + } int oldstartseq = this.startSeq; int visibleHeight = getVisibleAlignmentHeight(); if (start > visibleHeight - 1) -- 1.7.10.2