Closed jordandouglas closed 4 years ago
If there were a @Description annotation on the class (which you should have anyway), this problem would not occur. It stems from the XMLProducer in the beast2 package, which considers classes without inputs, description or @param annotation to be primitive objects.
I wrote a loggable class (implements Loggable) which does not have any Input<> members and I got this error message:
This was fixed on my end by adding this line to the new loggable class:
final public Input<Tree> tmpInput = new Input<>("tmp", "fudge factor", Input.Validate.FORBIDDEN);
Cheers