From: BobHanson Date: Wed, 10 Jun 2020 17:24:58 +0000 (-0500) Subject: Bamboo test 2 -- threads and stacktrace X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=c553d9c48f3813ed32342416c3015795869efd2b;p=jalview.git Bamboo test 2 -- threads and stacktrace --- 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)