From: Jim Procter Date: Sun, 7 Jul 2013 11:44:25 +0000 (+0100) Subject: JAL-1016 Instruct user to report situations where the race condition still happens X-Git-Tag: Jalview_2_9~229^2~1 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=d7d92760ce1d56690ad9a981b60dc32678734cb7;p=jalview.git JAL-1016 Instruct user to report situations where the race condition still happens --- diff --git a/src/jalview/ext/jmol/JalviewJmolBinding.java b/src/jalview/ext/jmol/JalviewJmolBinding.java index db1162e..458a178 100644 --- a/src/jalview/ext/jmol/JalviewJmolBinding.java +++ b/src/jalview/ext/jmol/JalviewJmolBinding.java @@ -403,8 +403,9 @@ public abstract class JalviewJmolBinding implements StructureListener, // RACE CONDITION - getMapping only returns Jmol loaded filenames once // Jmol callback has completed. if (mapping == null || mapping.length < 1) - continue; - + { + throw new Error("Implementation error - Jmol seems to be still working on getting its data - report at http://issues.jalview.org/browse/JAL-1016"); + } int lastPos = -1; for (int s = 0; s < sequence[pdbfnum].length; s++) {