Permalink
Browse files

Fixed NullPointerException in MainThread with commands from console.

  • Loading branch information...
wmaddisn committed Jun 25, 2017
1 parent 957c22c commit 446fbb4e8a781ce89aa1fc787ffba9da34ce3b45
@@ -0,0 +1 @@
Simplification schemes are stored in this directory.
@@ -117,7 +117,7 @@ public void run() {
setCurrent(pc.id);
patience = 5;
boolean loggerSet = false;
if (c.getSupplementalLogger() != null && logger == null){
if (c != null && c.getSupplementalLogger() != null && logger == null){
MesquiteThread.setLoggerCurrentThread(c.getSupplementalLogger());
loggerSet = true;
}
@@ -418,7 +418,7 @@ private synchronized void reportDaughters (int drawnRoot, int node){ //node be
for (int i=0; i<daughtersUR.length; i++)
s+= " " + daughtersUR[i];
} else s+= "none";
Debugg.println(s);
//Debugg.println(s);
for (int d = tree.firstDaughterOfNode(node); tree.nodeExists(d); d = tree.nextSisterOfNode(d)){
reportDaughters(drawnRoot, d);
}

0 comments on commit 446fbb4

Please sign in to comment.