I'm also getting this error when running *BEAST on the example xml: birthDeathMultiLoci.xml, and on my own data.
dr.xml.XMLParseException: The '<gammaDistributionModel>' element with id, 'null', is incorrectly constructed.
The following was expected:
Exactly one ELEMENT of name shape REQUIRED containing
Exactly one ELEMENT of type Parameter REQUIRED
at dr.xml.AbstractXMLObjectParser.parseXMLObject(Unknown Source)
at dr.xml.XMLParser.convert(Unknown Source)
at dr.xml.XMLParser.convert(Unknown Source)
at dr.xml.XMLParser.convert(Unknown Source)
at dr.xml.XMLParser.convert(Unknown Source)
at dr.xml.XMLParser.parse(Unknown Source)
at dr.app.beast.BeastMain.<init>(Unknown Source)
at dr.app.beast.BeastMain.main(Unknown Source)
Feb 15, 2016 12:04:28 PM dr.app.beast.BeastMain <init>
SEVERE: Parsing error - poorly formed BEAST file, birthDeathMultiLoci.xml:
The '<gammaDistributionModel>' element with id, 'null', is incorrectly constructed.
The following was expected:
Exactly one ELEMENT of name shape REQUIRED containing
Exactly one ELEMENT of type Parameter REQUIRED
java.lang.RuntimeException: Terminate
at dr.app.beast.BeastMain.<init>(Unknown Source)
at dr.app.beast.BeastMain.main(Unknown Source)
I checked the XML and it looks fine.