Hi Ozgur,
It looks like you are doing a StarBeast analysis and have a calibration on a gene tree. I hope this is intentional, since you say you used the divergence dating tutorial, which uses a Standard analysis, not a StarBeast analysis. Unfortunately, the initialisation of the species and gene trees using StarBeastStartState cannot handle a calibration on the gene tree.
To fix this, you need a different initialisation, for example by editing the XML in a text editor as follows:
1. Search for the “init” element and commit out (or delete) this element:
<!--
<init id="SBI" spec="beast.evolution.speciation.StarBeastStartState" birthRate="@birthRate.t:Species" popMean="@popMean" speciesTree="@Tree.t:Species">
<gene idref="Tree.t:chr9_Del_lessPops_2"/>
<speciesTreePrior id="SpeciesTreePopSize.Species" spec="beast.evolution.speciation.SpeciesTreePrior" bottomPopSize="@popSize" gammaParameter="@popMean" taxonset="@taxonsuperset" tree="@Tree.t:Species"/>
</init>
-->
2. In its place, add a RandomTree initialiser for the species tree, and a RandomGeneTree initialiser for the gene tree:
<init spec='beast.evolution.tree.RandomTree' id='randomSpeciesTree'
initial='@Tree.t:Species'
taxonset='@taxonsuperset'>
<populationModel spec='ConstantPopulation'>
<popSize spec='parameter.RealParameter' value='1'/>
</populationModel>
</init>
<populationModel spec='ConstantPopulation'>
<popSize spec='parameter.RealParameter' value='1'/>
</populationModel>
</init>
3. Since the SpeciesTreePopSize.Species is referred to by the species-coalescent distribution, but commented out in Step 1 above, you need to replace the reference
<distribution idref="SpeciesTreePopSize.Species"/>
with
<distribution id="treePrior.t:chr9_Del_lessPops_2" spec="beast.evolution.speciation.GeneTreeForSpeciesTreeDistribution" speciesTree="@Tree.t:Species" speciesTreePrior="@SpeciesTreePopSize.Species" tree="@Tree.t:chr9_Del_lessPops_2"/>
With this XML the file should start.
Cheers,
Remco