I am trying to date a tree using a phylogeny from a previous Bayes run. To do this I know that I need to add the previous tree as a starting tree, then remove operators that act on the topology. In addition I want to add a prior to the tree height. The XML file is attached. When I run the file in beast I get the following:
File: b252_fixed_topo_rU25.xml seed: 1559923069353 threads: 1
Random number seed: 1559923069353
Alignment(PmanicTrunk)
502 taxa
1143 sites
569 patterns
Error 110 parsing the xml input file
validate and intialize error: null
Error detected about here:
<beast>
<run id='mcmc' spec='MCMC'>
<init id='NewickTree.t:PmanicTrunk' spec='beast.util.TreeParser'>
java.lang.NullPointerException
at beast.evolution.tree.Tree.initAndValidate(Unknown Source)
at beast.util.TreeParser.initAndValidate(Unknown Source)
at beast.util.XMLParser.initBEASTObjects(Unknown Source)
at beast.util.XMLParser.parse(Unknown Source)
at beast.util.XMLParser.parseFile(Unknown Source)
at beast.app.BeastMCMC.parseArgs(Unknown Source)
at beast.app.beastapp.BeastMain.main(Unknown Source)
The file runs when I comment out the <init id... block so I know the error is in there. I have examined and exported the newick tree from figtree.
I am using BEAST and BEAUTi (v2.5.2) and am working on a windows machine. I have been trouble shooting this problem for a few days now and am at the end or my rope. I am hoping fresh eyes can help.
Thanks in advance.